Search Unity

Error after upgrade: A Hybrid Renderer V1 batch is using the shader....

Discussion in 'Universal Render Pipeline' started by Bas-Smit, Feb 23, 2021.

  1. Bas-Smit

    Bas-Smit

    Joined:
    Dec 23, 2012
    Posts:
    274
    Hi, I am getting

    A Hybrid Renderer V1 batch is using the shader "Universal Render Pipeline/Lit", but the shader is not compatible with Hybrid Renderer V1
    UnityEngine.GUIUtility:processEvent (int,intptr,bool&)

    I reimported the project and restarted etc but no luck. If I continue the player a lot fo geometry is invisible. Does anyone know what this error means?

    Thanks, Bas
     
    Nastomeya and Jackaljk like this.
  2. Bas-Smit

    Bas-Smit

    Joined:
    Dec 23, 2012
    Posts:
    274
    had to add scripting define symbol: ENABLE_HYBRID_RENDERER_V2
     
  3. rodrigouribeventura

    rodrigouribeventura

    Joined:
    Oct 26, 2019
    Posts:
    2
    Hi Bas-Smit, where do you add the script? I am just getting started and got the same error and don't know what to do. Thanks a lot!
     
  4. RoughSpaghetti3211

    RoughSpaghetti3211

    Joined:
    Aug 11, 2015
    Posts:
    1,708
  5. Bas-Smit

    Bas-Smit

    Joined:
    Dec 23, 2012
    Posts:
    274
  6. averageBurger

    averageBurger

    Joined:
    Dec 13, 2021
    Posts:
    3
    Hey, I can't seem to find the scripting define symbol in Player Settings? I went to Player Settings, Other Setting, but it doesn't seem to be in there?
     
  7. averageBurger

    averageBurger

    Joined:
    Dec 13, 2021
    Posts:
    3
    Oh wait never mind, it was just a list rather than one thing. Sorry for the inconvenience!