Search Issue Tracker
Won't Fix
Votes
0
Found in
5.2.1f1
Issue ID
730401
Regression
Yes
DontDestroyOnLoad() pushes object to the bottom of hierarchy
Steps to reproduce:
1. Download and open attached project "repro_730401.zip"
2. Open scene "main"
3. There is an option in camera's script within inspector whether to trigger or not DontDestroyOnLoad()
4. Make sure it's checked and press play
5. Observe that the object with the script is pushed to the end of the hierarchy
Note: Same thing happens to the objects with children (the object get to the bottom w/ all its children in tact) and if the object itself has a parent - nothing happens
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Project Browser Icons use the wrong Theme and Users are not shown any indication that process will be deferred when switching Editor Theme in Play Mode
- Streaming is misspelled as "Steaming" in "Enable GPU Streaming" and "Enable Disk Streaming" tooltpis
- "IndexOutOfRangeException" thrown when moving caret left at start of TMP Input Field with rich text
- UIElements memory allocations grow when interacting with IMGUI custom Editor window
- AI Navigation Preferences are not indexed for Search and cannot be found when searching for them in the Preferences Search field
Add comment