Search Issue Tracker
Fixed in 2021.2.X
Votes
1
Found in
2019.4
2020.2.1f1
2020.3
2021.1
2021.2
Issue ID
1331344
Regression
No
Player crashes on DrawProceduralIndirectRawFromNodeQueue when DrawProceduralIndirect is called with an invalid buffer
Reproduction steps:
1. Open the user's attached project
2. Go to File > Build Settings
3. Make sure "SampleScene" is included in the build
4. Build and Run
5. Hold W and S to move forward and back for some time
-- observe crash (usually takes around 10s)
Reproducible with: 7.6.0 (2019.4.27f1), 10.5.0 (2020.3.9f1), 11.0.0 (2021.1.8f1), 12.0.0 (2021.2.0a17)
Could not test with: 2018.4.35f1 (URP was not available)
Note:
- Going backward causes the crash more often
- Not reproducible in the editor and no errors are shown in the editor
- Reproducible with Mono and IL2CPP
- Could not test with HDRP because of shader errors
Errors in the Player.log right before the crash:
Graphics.DrawProceduralIndirect with invalid buffer
(Filename: Line: 290)
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
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
Resolution Note (fix version 2021.2):
New robustness improvement fixed the crash. There is still a possibility to free the buffer while it's being used, however it does not trigger a crash.
Fixed in 2021.2.0a18.