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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment