Search Issue Tracker

Fixed in 2017.2



Found in


Issue ID




"The referenced script on this Behavior is missing!" warning is displayed while loading the asset bundle that has dependencies

Asset Bundles


To reproduce:

1. Open the project, attached by user
2. Open "SampleScene" scene if not open
3. Go to Assets -> AssetBundles and uncheck Simulate Mode
4. Go to Assets -> AssetBundles-> Build AssetBundles
5. In Play mode, wait for "init Done" to appear in the console
6. Press the Download button in the game view
7. Observe console

Expected: Loading an asset bundle that is dependent on another asset bundle should not show any warnings
Actual: "The referenced script on this Behavior is missing!", "The referenced script on this Behavior (Game Object 'Prefab 1') is missing!" and "GameObject (named 'Prefab 1') references runtime script in scene file. Fixing!" warnings are display when asset bundle with dependencies is loaded

Reproduced in 5.5.2p3, 5.6.0f3, 5.6.0p3, 2017.1.0b2
Did not reproduce in 5.5.2f1, 5.5.2p1, 5.5.2p2
Regression introduced in 5.5.2p3

Fixed in 2017.2.0b2

Comments (10)

  1. 6be674f7fc5587355c0bffe51377368d?d=mm


    Apr 02, 2018 15:20

    Still seeing it in 2017.2.0b2 webGL builds.

  2. E422b6043f99309c7664b2bd2046071c?d=mm


    Nov 21, 2017 17:08

    5.5.5p1 , 5.5.5p4 Found

  3. 4dc71ed6b9a497620bc0f1db168dded3?d=mm


    Aug 09, 2017 02:09

    Still happens in unity 5.6.3f1, how can such important issue being dragged over for so much time? Latest 5.6 available is 5.6.1p2 which has tapping issues under some circumstances(other applications running, like screen recorders)

  4. 5b952074fecf1af9a539456fa4c93bee?d=mm


    Jul 25, 2017 03:32

    not fixed 5.6.2p4

  5. C55d0182ecad611a052809b0521bd4dd?d=mm


    Jul 21, 2017 02:46

    5.6.1f1 has no problem

  6. D39891c9536ab10c7c522c2ef6922c15?d=mm


    Jul 05, 2017 11:39

    me too 5.6.2f1! when it happen all MonoBehaviour will invoke OnDisable and OnEnable!

  7. 2baeca49f28fcbbea2e24a2796cc8e57?d=mm


    Jul 02, 2017 03:11

    me too 5.6.2p1

  8. Ace5968ffd4697efb12f9914427c4c2a?d=mm


    Jun 30, 2017 07:02

    me too 5.6.1p4 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  9. Beef79ede95368a5b62737ce838087e4?d=mm


    Jun 30, 2017 06:41

    me too 5.6.1p4

  10. E422b6043f99309c7664b2bd2046071c?d=mm


    Jun 28, 2017 08:34

    me too 5.6.2f1

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.