Search Issue Tracker
Fixed in 2021.3.28f1
Fixed in 2021.3.X, 2022.3.X, 2023.1.X, 2023.2.X, 2023.2.0a22
Votes
0
Found in
2021.3.27f1
2022.3.1f1
2023.1.0b19
2023.2.0a18
Issue ID
UUM-38102
Regression
No
Crash on Transform::RemoveFromParent when Object.DestroyImmediate() is called on Transform
Reproduction steps:
1. Open the attached project "ProTiler.zip"
2. Press Window > General > Test Runner
3. Press Run All (for EditMode tests)
Reproducible with: 2021.3.27f1, 2022.3.1f1, 2023.1.0b19, 2023.2.0a18
Reproducible on: macOS 13.4 (Intel)
Note - the crash happens on the ClearTilemapUndoRedoRestoresChunkSize test.
First few lines of the stacktrace:
{{(Unity) Transform::RemoveFromParent}}
{{(Unity) DestroyObjectHighLevel_Internal}}
{{(Unity) DestroyObjectHighLevel}}
{{(Unity) Object_CUSTOM_DestroyImmediate_Injected}}
{{(Mono JIT Code) (wrapper managed-to-native) UnityEngine.Object:DestroyImmediate_Injected}}
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
- AI Assistant upgrade banner's `Open package Manager` link doesn't work
- Sub-asset UI does not refresh when undoing Renderer Feature add or remove actions in a URP Renderer asset
- Scene flickers with a green tint when using Screen Space Ambient Occlusion and Contact Shadows with raytracing
- Scripts with null Components on GameObjects are not removed when calling GameObjectUtility.RemoveMonoBehavioursWithMissingScript
- Color Curve Key values remain visible after changing Curve type
Resolution Note (fix version 2023.2):
Fixed in: 2023.2.0a22
Resolution Note (fix version 2023.1):
Fixed in: 2023.1.3f1
Resolution Note (fix version 2022.3):
Fixed in: 2022.3.5f1