Search Issue Tracker
Fixed
Votes
0
Found in
2017.4
2019.3.0f1
2020.1
Issue ID
1206399
Regression
No
Detaching child objects of inactive Game Object causes them to appear in root Scene when Additive Scenes are present
How to reproduce:
1. Open the "ParentTest.zip" project
2. Open scenes "SceneA" and "SceneB" additively
3. Repro > Set References
4. Disable the "Parent" GO in SceneB
5. Repro > Detach Children or Repro > Set null Parent
Actual result: The "Child" object appears in SceneA.
Expected result: The "Child" object stays in SceneB.
Reproducible with: 2017.4.36f1, 2018.4.15f1, 2019.2.17f1, 2019.3.0f4, 2020.1.0a18.
Notes:
- The issue is reproducible with both transform.DetachChildren() and transform.SetParent(null) methods.
- The issue only reproduces when the "Parent" object is deactivated and "Child" object is active.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Add comment