Search Unity

Unity 5.3.4 "GameObject references runtime script in scene file. Fixing!" AssetBundle.LoadAssetAsync

Discussion in 'Editor & General Support' started by Andrey-Postelzhuk, Mar 18, 2016.

  1. Andrey-Postelzhuk

    Andrey-Postelzhuk

    Joined:
    Nov 26, 2013
    Posts:
    75
    After updating to Unity 5.3.4 we've got an error after loading asset bundles:
    GameObject (named 'MyAssetBundle') references runtime script in scene file. Fixing! )
    I rebuild all bundles but it didn't help.
    I found a solution in this thread: http://forum.unity3d.com/threads/assetbundle-loading-error.297663/

    I replaced AssetBundle.LoadAssetAsync with AssetBundles.LoadAsset

    Hope this information will be useful for the others.