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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Add comment