Search Issue Tracker
By Design
Votes
0
Found in
2018.4
2019.4
2020.3
2021.1
2021.1.5f1
2021.2
Issue ID
1333889
Regression
No
Game Objects will lose their parents when moved between Scenes in the Scene Hierarchy if the Parent object is expanded
How to reproduce:
1. Open the attached project "New Unity Project.zip"
2. Open Scene 'a'
3. From the Project view drag Scene 'b' to the Scene Hierarchy
4. Expand the Root-1 Game Object
5. Select all the objects in Scene 'a'
6. Drag them to Scene 'b'
Expected result: The objects retain their parent-child structure
Actual result: The objects lose their parent-child structure
Reproducible with: 2018.4.34f1, 2019.4.26f1, 2020.3.7f1, 2021.1.6f1, 2021.2.0a16
Workaround: Collapse the parent objects before selecting the objects to move
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Quest] Pitch Shifter causes audio degradation on Quest 2 devices when sped up
- "GUI Error: Invalid GUILayout" and "NullReferenceException" are thrown when adding Scenes to "Scenes in Baking Set" in Adaptive Probe Volumes
- Inspector window not updating when switching GameObjects in Play Mode while having a VR headset connected
- "UnityException: GetName can only be called from the main thread." erors are thrown when the Shortcuts window is opened and entering Play Mode with a shortcut
- [Android] Light2D visuals stacking over frames when using RenderGraph
Resolution Note:
This is by design as we flatten the hierarchy of all select game objects. A simpler "workaround" is to not select the children of the game objects selected instead of collapsing them.