Search Issue Tracker

Fixed in 5.0.1

Votes

1

Found in

5.0.0f2

Issue ID

674181

Regression

No

[AssetBundle] When loading prefab from asset bundle "GameObject references runtime script in scene file. Fixing" error is thrown

Asset Loading

-

Steps to reproduce this issue:

1. Open the attached project
2.Build AssetBundles (AssetBundles->Build AssetBundles from the menu)
3. Load the "Main" scene.
4. Press Play
5. Observe the errors logged ("GameObject ("name") references runtime script in scene file. Fixing!")

This also results in strange errors where MonoBehaviour fields that are initialized in Start() are null in Update() despite never being set anywhere but Start(). See the "How did testObject become null?" error appear in the console after entering playmode

Comments (23)

  1. fortunacio

    Mar 12, 2015 19:30

    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!!!

  2. fortunacio

    Mar 12, 2015 19:25

    please fix the bug!! 5.0.0f4...........

  3. captain_zero

    Mar 02, 2015 02:32

    looks like the component conflicts with the one in dll

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.