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
- [URP] Exceeding the platform's supported light limit gives shadow distortion when using Deferred Rendering Path
- URP Sample Buffer Image Tile is moved when the Offset Value is changed
- Static constructor in a struct returns false when running tests with IL2CPP
- Console throws warnings and a MissingReferenceException error for XR packages when doing a clean project import
- [Linux][IL2CPP] Dedicated server crashes when calling Socket.Send
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a13