How to reproduce:
1. Open the attached “IN-129061” project
2. Open the “Gameplay” scene
3. In the Hierarchy, click on the “Spline” GameObject
4. Switch from GameObject to Spline in the left options toolbar
5. Press ctrl + a
6. Observe the crash
Reproducible with: 6000.3.2f1 6000.3.3f1, 6000.4.0b3, 6000.5.0a4
Not reproducible with: 6000.0.65f1, 6000.3.1f1
Reproduced on: Windows 11
Not reproduced on: No other environment tested
Note: The crash does not occur when using DX11 or Vulkan
First few lines of the stack trace:
0x00007FFC05E7782A (KERNELBASE) RaiseException
0x00007FFB0B5BFA06 (Unity) LaunchBugReporter
0x00007FFB0B72B38F (Unity) EditorMonoConsole::LogToConsoleImplementation
0x00007FFB0B72BEB0 (Unity) EditorMonoConsole::LogToConsoleImplementation
or:
0x00007FFFD900869C (Unity) UI::AddRenderersToCanvas
0x00007FFFD9008A35 (Unity) UI::AddRenderersToCanvas
0x00007FFFD90110B8 (Unity) UI::Canvas::UpdateBatchOrder
0x00007FFFD90111DD (Unity) UI::Canvas::UpdateBatches