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
- “FocusController has unprocessed focus events.” warnings are thrown after adding iOS, tvOS or visionOS Build Profiles
- Holes and different colors appear on default Tree Materials after applying them to the Tree GameObject and undoing changes
- Error indicating that the Text Asset Importer hasn't been disposed properly is logged when switching Importer Type in a Focused Inspector
- Documentation installation shows "Install failed: Validation Failed" when installing Android Build Support module
- Error indicating that the Package Manifest Importer hasn't been disposed properly is logged when switching Importer Type in a Focused Inspector
Resolution Note (fix version 2020.2.2f1):
Fixed in - 2021.1.0a3