Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2021.2.X
Votes
0
Found in
2019.4
2020.3
2021.1
2021.2
2021.2.0b12
2022.1
Issue ID
1372936
Regression
No
Graphics.DrawProceduralIndirect method doesn't have an override with GraphicBuffer instead of ComputeBuffer
How to reproduce:
1. Open the attached "case_1372936" project
2. Observe the Console log
Expected result: No error is thrown
Actual result: No Graphics.DrawProceduralIndirect method override exist with GraphicBuffers. Thus, error related with the 4th argument is thrown
Reproducible with: 2019.4.31f1, 2020.3.21f1, 2021.1.26f1, 2021.2.0b16, 2022.1.0a11
Thrown error:
Argument 4: cannot convert from 'UnityEngine.GraphicsBuffer' to 'UnityEngine.ComputeBuffer'
Note:
Refering the documentation https://docs.unity3d.com/2021.2/Documentation/ScriptReference/Graphics.DrawProceduralIndirectNow.html, Graphics.DrawProceduralIndirectNow can take GraphicBuffers argument instead of ComputeGraphics
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
- PlayerPrefs get corrupted when a minimized fullscreen Player is closed through the Taskbar
- "To Debug, run app with -diag-job-temp-memory-leak-validation cmd line argument. This will output the callstacks of the leaked allocations." warning is printed when JobTempMemoryLeakValidation switch is enabled
- Main Thread stalling when loading Audio Source asset asynchronously while preloading another Audio Source asset
- Material artifacts occur in the Material Preview window when baked lighting is applied to scenes
- “ArgumentOutOfRangeException” after saving, reseting and re-add Default Tile Palette Tools to the list in Preferences window
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a15
Resolution Note (fix version 2021.2):
Fixed in 2021.2.6f1