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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a13