How to reproduce:
1. Open the attached “IN-139306” project
2. Open the “GameScene” (Assets > Scenes > MyScenes)
3. Enter Play mode
4. Observe the crash
Reproducible with: 2023.1.0a16, 6000.0.73f1, 6000.3.14f1, 6000.4.3f1, 6000.5.0b5, 6000.6.0a3
Reproduced on: Windows 10 (user reported), Windows 11
Not reproduced on: No other environment tested
Note: Sometimes the crash also occurs when closing the project or opening the scene
First few lines of the stack trace:
0x00007FF82A29C91B (Unity) MemoryProfiler::GetAllocationRoot
0x00007FF82A6DB9AC (Unity) MemoryProfiler::UnregisterAllocation
0x00007FF82A2974F4 (Unity) MemoryManager::RegisterDeallocation
0x00007FF82A299138 (Unity) MemoryManager::TryDeallocateWithLabel
0x00007FF82A29A973 (Unity) free_alloc_internal