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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (fix version 2020.2.2f1):
Fixed in - 2021.1.0a3