How to reproduce:
1. Open the attached project “IN-148414”
2. Build to a Meta Quest device
3. Wait 2 hours
4. Observe the crash during the Build process
Reproducible with: 6000.0.0f1, 6000.0.78f1, 6000.3.19f1, 6000.5.3f1, 6000.6.0b1, 6000.7.0a2
Reproducible on: Windows 11 Enterprise
Not reproducible on: No other environments tested
Reproducible on devices:
Meta Quest 2 (Quest 2), CPU: Snapdragon XR2, GPU: Adreno 650
Meta Quest 3 (Quest 3), CPU: Snapdragon XR2 Gen 2 (SM8550), GPU: Adreno (TM) 740
First few lines of the stack trace:
0x00007FFE101FA579 (Unity) MemoryManager::OutOfMemoryError
0x00007FFE101F3028 (Unity) MemoryManager::Allocate
0x00007FFE101FC12B (Unity) MemoryManager::ReallocateFallbackToAllocateDeallocate
0x00007FFE101FC004 (Unity) MemoryManager::Reallocate
0x00007FFE101FF83F (Unity) realloc_internal
0x00007FFE0E3CE54E (Unity) core::vector<ProfilerCallbacksHandler::ProfilerNewIdCallback<void (_cdecl*)(UnityProfilerMarkerDesc const * __ptr64,void * __ptr64)>,core::allocator<ProfilerCallbacksHandler::ProfilerNewIdCallback<void (_cdecl*)(UnityProfilerMarkerDesc const * __ptr64,void * __ptr64)>,0> >::reserve_impl
0x00007FFE113691F3 (Unity) ShaderCompilation::PrepareStageVariantsForSinglePlatform