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
- Sprite Importer Checkbox Label Truncated in UI (2D Template)
- Light theme icon is missing for Volume Component in the Inspector window
- Volume Profile effects are still showing and active in Game View when the Volume Profile is reset
- Shader Graph Tab Lacks Right Margin for Long Titles
- 2DLight component only renders when ShadowCaster2D components are within range in WebGL builds
Add comment