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
- The Editor freezes on RenderGraphViewer.Repaint when entering too many characters in search fields without character limits
- Adding a new SubLayer in Graphics Compositor renders BaseLayer darker and makes it flicker
- DOTS Materials Not Rendering in Player When Using Entity Graphics with Custom SRP
- Sprite Pivot position in Sprite Editor and Scene View do not match when the position is custom
- [HDRP] Unchecking the "Base layer" in Graphics Compositor results in Camera view rendering over the window
Resolution Note (fix version 2020.2.2f1):
Fixed in - 2021.1.0a3