Search Issue Tracker

Fixed in 5.0.1



Found in


Issue ID




[AssetBundles] Asset Bundles break references when loading

Asset Loading


How to reproduce:

1. Open attached project
2. Delete the AssetBundles folder from the root directory of the project
3. Go to menu AssetBundles -> Build AssetBundles From BuildMap
- Also make sure Simulate AssetBundles is unchecked for now
4. Open scene TestScenes/AssetLoader.unity
5. Play the scene
- Note the warnings: The referenced script on this Behaviour is missing!
- And the errors: GameObject (named <object name>) references runtime script in scene file. Fixing!
- Only Cube1 and Cube3 are referenced at this point (Cube2 is not referenced)
6. Stop and play scene again
- Cube1 appears to load properly (though the editor still throws errors)
- The loading gets as far as the "GameObject (named 'Cube2') references runtime script in scene file. Fixing!" error and then stops.
- Subsequent replays of the scene don't cause any changes in the error/warning patterns
- None of this happens if Simulate AssetBundles is checked in the AssetBundles menu (it is necessary to assign the cube prefabs to their respective AssetBundles)

Comments (4)

  1. 0dab7b3708eecefc2bbf15cfc08114c2?d=mm


    Aug 25, 2015 15:00

    This has been fixed!! I already test this on 5.2.0f2 and is working, I also tested to bundle several scenes in one prefab and works! So i can now have a bundle with my scenes! Finally!

    Great work Unity!

  2. 1bc9935f57770fa8198111103e718e27?d=mm


    Jul 27, 2015 16:23

    got that issues with 5.1.1f1

  3. Dc33936afd9b01043a4c293a0e039a52?d=mm

    Lermy KefSensei

    Jun 04, 2015 20:42

    Same issue here, I'm using Unity 5.1.0f3 and I receive the same missing reference from a loaded scene inlcuded in a bundle. Hope we can get this issue solved soon! :)

    Best regards!

  4. 2d1d01d95474974433cd20988961378d?d=mm


    Mar 12, 2015 19:37

    Hi everyone,

    Any news if this issuw was resolved? I have been struggling to get this working for the last 10 days with no results.. Please Any clues? HELP!!!

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.