Hello Team !
here is my code :
function IsThisABug()
{
var _billboard=AssetDatabase.LoadAssetAtPath("Assets/Prefabs/billboard.prefab",GameObject);
}
this code seems OK and runs nice at runtime but I get the following ERROR if i try to build (a standalone &a webplayer -i didn’t try builds for IOS, WII; Androïd,etc…) :
from Console Message :Assets/scripts/bug.js(3,24): BCE0005: Unknown identifier: 'AssetDatabase'.'.
and then from Console Message :
Error building Player because scripts had compiler errors
UnityEditor.HostView:OnGUI()
:shock:
Bug Report posted #375865_916b21q7