Search Issue Tracker
Fixed in 2020.2.2f1
Fixed in 2020.1.X
Votes
1
Found in
2020.1.1f1
2020.2
Issue ID
1273663
Regression
No
Assertion failed on expression: '0 == m_CurrentBufferBindMask[kUnityPerDraw] when Asynchronous Shader Compilation is enabled
How to reproduce:
1. Open the attached project named "TPC_StripRepro.zip"
2. Open Project Settings -> Editor -> Shader Compilation
---------IMPORTANT-----------
3.a. If the Asynchronous Shader Compilation is enabled - disable it, enter Play mode for a few seconds and close the Editor. After that re-open the project repeat Step 2
3.b. If the Asynchronous Shader Compilation is disabled it - enable it and proceed to step 4
---------IMPORTANT-----------
4. Open the Main Scene and enter Play mode. Proceed through menus as shown in the screenshots below
5. Once an Error window is thrown in the Play mode observe the console window
Expected result: No errors are thrown
Actual result: "Assertion failed on expression: '0 == m_CurrentBufferBindMask[kUnityPerDraw]'" error is thrown
Reproducible with: 2020.1.1f1(0.7.0-preview.34 with URP 9.0.0-preview.35), 2020.1.4f1(0.8.0-preview.18 with URP 9.0.0-preview.55), 2020.2.0b2(0.7.0-preview.34 with URP 10.0.0-preview.26
Could not test with: 2018.4, 2019.4(Project broke on downgrade)
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
- "Canvas Renderer" Component uses a low resolution icon
- NullReferenceException is thrown when installing the "QuickStart" page in the Multiplayer center
- Package Manager's Filter Panel does not show borders when viewed on Windows
- Blend Tree Threshold fields accepts NaN/Infinity values causing Node backgrounds disappear in Animator Controller view
- Animator Controller Layer Weight field accepts “NaN” as a valid value instead of rejecting it
Resolution Note (fix version 2020.2.2f1):
Fixed in - 2021.1.0a3