Reproduction steps:
1. Open the attached project "ReproProj"
2. Open Build Profiles (File > Build Profiles)
3. Select “Development Build”
4. Click “Build“
5. Open Windows' Command Prompt
6. Navigate to the build’s location in Command Prompt
7. Enter “EmptyURP.exe -debugallocator”
Expected result: The Particle System subemitters continue to emit, and the Player does not crash
Actual result: Player crashes
Reproducible with: 6000.0.55f1, 6000.2.2f1, 6000.3.0a6
Reproducible on:
Windows Standalone Player
Not reproducible on:
Play Mode
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
First few lines of Stacktrace:
0x00007FFE2A260F76 (UnityPlayer) UnityMain
0x00007FFE2A23DDE3 (UnityPlayer) UnityMain
0x00007FFE2A218C1B (UnityPlayer) UnityMain
0x00007FFE2A26CB50 (UnityPlayer) UnityMain
0x00007FFE2A2615B4 (UnityPlayer) UnityMain
Note:
- When the Visual Studio debugger is attached, an Access Violation reading location error in ParticleSystem::Emit occurs