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
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
Add comment