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
- "Import projects" button doesn't work in Unity Hub
- Animation is affected by TimeScale when setting Animator's updateMode to UnscaledTime in onDisable()
- Shader Graph generates 'İ' in the shader when using Turkish Regional format
- Crash on ParticleSystemUpdateData::CacheSubEmitters(ParticleSystem&) when shared subemitter referenced by multiple nested particle systems
- Visual Effect property override remains permanently checked when Timeline preview ends
Resolution Note (fix version 2020.2.2f1):
Fixed in - 2021.1.0a3