Search Issue Tracker

Fixed in 2018.3.X

Votes

1

Found in

5.3.4f1

Issue ID

802302

Regression

No

Errors are thrown when instantiating a prefab that is referenced with WeakReference for a second time in another loaded scene

Scene Management

-

Steps to reproduce:

1. Open attached project
2. Open and play 'Scene1'
3. Click 'Load' to instantiate a prefab
4. Click 'Scene2' to load the second scene
5. Click 'Load' to instantiate the prefab again
6. Notice the following errors are thrown to the console:

> GameObject (named 'ui_prefab_test') references runtime script in scene file. Fixing!
> GameObject (named 'Fantasy Atlas') references runtime script in scene file. Fixing!

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.