Search Issue Tracker

Fixed

Fixed in 2021.3.28f1, 2022.3.5f1, 2023.1.3f1, 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}}

  1. Resolution Note (fix version 2023.2.0a22):

    Fixed in: 2023.2.0a22

  2. Resolution Note (fix version 2023.1.3f1):

    Fixed in: 2023.1.3f1

  3. Resolution Note (fix version 2022.3.5f1):

    Fixed in: 2022.3.5f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.