Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Shader console errors in beta8

Discussion in '2020.1 Beta' started by snacktime, May 6, 2020.

  1. snacktime

    snacktime

    Joined:
    Apr 15, 2013
    Posts:
    3,356
    This is new in beta8.

    I see this once.
    Code (csharp):
    1.  
    2. A Hybrid Renderer V2 batch is using a pass from the shader "NatureManufacture/HDRP/Foliage/Bark", which is not SRP batcher compatible. Only SRP batcher compatible passes are supported with the Hybrid Renderer.
    3.  
    Then this multiple times.
    Code (csharp):
    1.  
    2. Assertion failed on expression: '0 == m_CurrentBufferBindMask[kUnityPerDraw]'
    3.  
    But it still renders. And the shader say's it's SRP compatible.
     
  2. snacktime

    snacktime

    Joined:
    Apr 15, 2013
    Posts:
    3,356
    Strange after several cycles of play mode that trigger this, the error went away. Or it's some strange timing related bug and it will be back:)
     
  3. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,143
    The only thing related I could find was one other bug report that ended up being closed as not reproducible.
    https://fogbugz.unity3d.com/f/cases/1239280/

    If it happens again and you find a way to reproduce it, please submit a bug report for it.