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
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!
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on ResizeScriptingList<ScriptingObjectPtr> when passing an undeclared variable to the results parameter for GameObject.FindGameObjectsWithTag
- [Android] "Screen.safeArea.y" always returns values outside of the Safe Area when the device is in Portrait orientation
- Frame spike due to many TreeRenderer.TreeUpdated calls when repositioning terrains in large Scenes
- Crash on GameObject::RemoveComponentFromGameObjectInternal when reparenting Text GameObjects
- [IL2CPP-GarbageCollector] Changing GCMode might permanently disable GC in a multithreaded context
Add comment