Search Issue Tracker
Fixed in 2022.3.40f1
Fixed in 2022.3.X, 6000.0.X, 7000.0.0a13, future release
Votes
3
Found in
2022.3.31f1
6000.0.5f1
6000.1.0a7
Issue ID
UUM-73287
Regression
Yes
Crash on Transform::SetParent when duplicating a Prefab in the Hierarchy
Reproductions steps:
1. Open the attached “repro_IN-77434“ project
2. Open the “Assets/Scenes/SampleScene.unity“ Scene
3. In the Hierarchy, select the “DuplicateTarget” Prefab (“Main Camera“ → “DuplicateTarget“)
4. Duplicate the “DuplicateTarget“ Prefab by pressing the “Ctrl + D“ button combination
5. Observe the crash
Reproducible with: 2022.1.0a15, 2022.3.31f1, 6000.0.5f1
Not reproducible with: 2021.3.39f1, 2022.1.0a14
Reproducible on: Windows 10 (22H2)
Not reproducible on: No other environments tested
Notes:
- Crash doesn’t reproduce when duplicating the Prefab in the “Project“ window
- Crash doesn’t reproduce when duplicating any of the children “New Game Object“ GameObjects of the “DuplicateTarget“
First few frames of the stack trace:
0x00007FFD82FDAD08 (Unity) Transform::SetParent
0x00007FFD82FE901E (Unity) SetParent
0x00007FFD824251F0 (Unity) Transform_CUSTOM_SetParent
0x00000206D4A42008 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Transform:SetParent_Injected (intptr,intptr,bool)
0x00000206D4A41F0B (Mono JIT Code) UnityEngine.Transform:SetParent (UnityEngine.Transform,bool)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Console Warning -- KeyboardIconAtlas sprite Input Outline goes beyond the boundary of the Sprite rect.
- Reflection Probe “Probe Scene Editing Mode:” text is barely visible
- [HDRP] Game view doesn’t refresh after changing Camera Background Type until mouse moves over it
- Some Shaders appear twice in Material Shader selection menu
- Editor freezes with a StackOverflowException when certain asset types are assigned to a managed component in a SubScene via AddComponentObject
Add comment