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

Graphics Device Backends

-

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)

  1. Response avatar

    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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.