Search Issue Tracker
Won't Fix
Votes
0
Found in
2021.3.22f1
2022.2.14f1
2023.1.0b12
2023.2.0a10
Issue ID
UUM-33611
Regression
No
Crash on RenderingCommandBuffer::PrepareState when waiting in Play Mode for a couple of minutes
Reproduction steps:
1. Open the attached project “WaitingCrash”
2. Enter the Play Mode
3. Select Earth planet.
4. Wait a couple of minutes
Expected result: The game continues
Actual result: Editor crashes
Reproducible with: 2021.3.22f1, 2022.2.14f1, 2023.1.0b12, 2023.2.0a10
Couldn't test with: 2020.3.47f1 (Platform name 'EmbeddedLinux' not supported.)
Reproducible on: Windows 10
0x00007ff7894fd4fd (Unity) StackWalker::GetCurrentCallstack
0x00007ff7895040b9 (Unity) StackWalker::ShowCallstack
0x00007ff78a49ae23 (Unity) GetStacktrace
0x00007ff78ab49b5d (Unity) DebugStringToFile
0x00007ff788d6c152 (Unity) PerThreadPageAllocator::AcquireNewPage
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [iOS] [Android] External library generics fail during IL2CPP build
- Animator State’s Multiplier field shows a Parameter that no longer exists when the Parameter was assigned and then deleted
- Shadows disappear and come back after couple frames when using OnDemand Shadows and OnDemand Reflection
- “Delete Selected Items” is still active in the menu when Label is not selected in New Sprite Library Asset window
- "View Generated Shader" button in Shader Graph Asset is not aligned with other buttons
Resolution Note:
Problem comes from application accumulating command buffers for CameraEvent.BeforeForwardAlpha which results in memory allocation failure.
More specifically, Assets\Scripts\Plugins\Zibra\Smoke and Fire\Scripts\Solver\ZibraSmokeAndFire.cs line 2267 vs 2315. Provided project is setup to use Deferred rendering path but ZibraSmokeAndFire component is setup to use Forward resulting in command buffer accumulation.
Nothing to fix per say on Unity's side.