Reproduction steps:
1. Open the attached “ReproProj” project
2. Enter the Play Mode
Expected result: The Play Mode is entered
Actual result: The Editor crashes
Reproducible with: 1.8.11 (2023.3.0b3)
Not reproducible with: 1.8.12 (2023.3.0b3, 2023.3.0b4)
Couldn’t test with: 1.8.12 (2021.3.34f1, 2022.3.18f1, 2023.2.7f1), 1.8.10 (2023.3.0a17) - XR Interaction Toolkit script errors
Reproducible on: macOS 14.2.1, Windows 10
Not reproducible on: No other environment tested
First few lines of the stack trace:
#0 0x00000168e108bc in mono_domain_set
#1 0x000001011f0454 in BurstCompilerService::CompileAsync(ScriptingMethodPtr, void*, int, void ()(void, int, void*), void ()(void, BurstLogType, char const*, char const*, int), char const*)
#2 0x000001011f5648 in CompileAsyncDelegateMethod(ScriptingObjectPtr, char const*)
#3 0x00000100de9c1c in BurstCompilerService_CUSTOM_CompileAsyncDelegateMethod(ScriptingBackendNativeObjectPtrOpaque*, BindingsManagedSpan*)
#4 0x000003259981c0 in (wrapper managed-to-native) Unity.Burst.LowLevel.BurstCompilerService:CompileAsyncDelegateMethod_Injected (object,UnityEngine.Bindings.ManagedSpanWrapper&) [
{0x2fde3c790}
+ 0x68] (0x325998158 0x325998228) [0x137fc2a80 - Unity Child Domain]
#5 0x00000325998050 in Unity.Burst.LowLevel.BurstCompilerService:CompileAsyncDelegateMethod (object,string) [
{0x2fde3c4b8}
+ 0x1b8] (0x325997e98 0x3259980b4) [0x137fc2a80 - Unity Child Domain]
Note: Sometimes crashes with the same stack trace when opening the project