Search Issue Tracker
Won't Fix
Votes
0
Found in
5.3.5f1
Issue ID
800186
Regression
No
UI GameObjects with missing prefabs change position in hierarchy when entering playmode
Reproduction steps
1) Open "800186repro" project
2) Open "repro" scene
3) Notice that "Canvas" GameObject has 2 children: "Image" and "Image (1)", "Image (1)" has prefab
4) Enter playmode and notice that nothing changes
5) Exit playmode and delete "Image (1)" prefab in "Project" view
6) In Hierarchy view make "Image (1)" above "Image"
7) Enter playmode
Actual results:
"Image (1)" went back, below, "Image" GameObject.
Expected results"
"Image (1)" stays in the same place as before entering playmode.
Note:
This happens on all UI GameObjects and only when inside (as child) of a Canvas or any other UI element.
Workaround:
Brake prefab instance (GameObject > Break Prefab Instance)
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