Search Issue Tracker
Fixed in 2020.2.X
Votes
0
Found in
2018.4
2020.2
2020.2.0b1
Issue ID
1275898
Regression
No
Child GameObject is moved to an active Scene when the child GameObject's parent is set to null
Child GameObject is moved to an active Scene when setting the child GameObject's parent to null and the current parent GameObject is deactivated
How to reproduce:
1. Open the user's attached "transform-parent-repro.zip"
2. Open the "SampleScene" Scene
3. Go to Bug Repro -> This does not work
4. Observe the Hierarchy window
Expected result: One activated GameObject and one deactivated GameObject is created in the "SampleScene" Scene
Actual result: Only the deactivated GameObject is created in the "SampleScene" Scene (Child GameObject was moved into a different Scene)
Reproducible with: 2018.4.27f1, 2019.4.10f1, 2020.1.5f1, 2020.2.0b2
Note:
- The issue is not reproducible if the child GameObject is inside an activated parent GameObject
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
- 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
- Inconsistent value calculations between Operating Systems when casting rigidbody.transform.localScale = Vector3.zero
- Last Prefab changes are reverted when tests on EditMode are executed while Prefab mode is open
- Build and Run button greyed out for locally invalid architecture, despite remote build is specified
Resolution Note (fix version 2020.2):
Fixed in: 2021.1.0a1
Resolution Note (fix version 2020.2):
Fixed in: 2020.2.0b5