Search Issue Tracker
Fixed in 2022.2.X
Votes
0
Found in
2022.1.0a15
2022.1.0b13
2022.2
Issue ID
1419944
Regression
Yes
Crash with UnityEditor.Undo:RevertAllDownToGroup when calling DestroyImmediate on GameObject with children in tests
How to reproduce:
1. Open the attached project "ComponentSorter.zip"
2. Open Scene "SampleScene"
3. Open the Test Runner from "Window > General > Test Runner"
4. Click "Run All" in "EditMode"
Reproducible with: 2022.1.0a15, 2022.1.0f1, 2022.2.0a11
Not reproducible with: 2021.3.1f1, 2022.1.0a14
Couldn't test with: 2019.4.38f1, 2020.3.33f1 (script syntax errors)
Managed stack trace:
at <unknown> <0xffffffff>
at UnityEditor.Undo:RevertAllDownToGroup <0x00089>
at <Execute>d__6:MoveNext <0x000bb>
at UnityEditor.TestTools.TestRunner.TestRun.TestJobRunner:ExecuteStep <0x00161>
at UnityEditor.EditorApplication:Internal_CallUpdateFunctions <0x000df>
at System.Object:runtime_invoke_void <0x00084>
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
- Editor loads for a long time when doing an Undo action in a large Shader Graph
- Memory leak when building AssetBundles
- [Asset Bundle] AudioSource output field not staying connected correctly when loaded from Asset Bundle
- [Android] Duolashock4 controller is not detected after disconnecting and reconnecting controller while the Player is running in the background
- Creating an empty project throws 2 errors in the Console when created using a macOS M1 Virtual Machine
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a13