Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Can't enable Hybrid Renderer V2

Discussion in 'Graphics for ECS' started by ashtronaut, Dec 16, 2020.

  1. ashtronaut

    ashtronaut

    Joined:
    Mar 18, 2020
    Posts:
    5
    Hi, I am using Unity 2020.1.17f1 with HDRP 9.0.0-preview.71. I added the ENABLE_HYBRID_RENDERER_V2 define to my Project's Scripting Define symbols, but it did not enable the Hybrid Renderer. It seems to me that this matches the instructions in the manual though: https://docs.unity3d.com/Packages/com.unity.rendering.hybrid@0.8/manual/index.html

    I don't see Hybrid Renderer V2 active, MaterialProperty component type count X / Y in the console, and using Unity.Rendering.RenderMesh in my script causes an error.

    Should I just downgrade and use 2019 instead, or am I missing something?
     
  2. DreamingImLatios

    DreamingImLatios

    Joined:
    Jun 3, 2017
    Posts:
    3,984
    I'm using 2020.1.9f1 and HDRP preview 14 and HR V2 is working perfectly. https://github.com/Dreaming381/lsss-wip
    Sometimes Unity can be a little finicky and not recompile code after changing the scripting defines, and sometimes it just forgets the symbols the first time you type them in. So close the Project Settings window, reopen it, and check to make sure the symbols stuck. Once they stick they will stay until you touch them again.
     
    ashtronaut likes this.
  3. ashtronaut

    ashtronaut

    Joined:
    Mar 18, 2020
    Posts:
    5
    They symbols did stick, and i've restarted unity as well lol.

    Adding
    "com.unity.rendering.hybrid": "0.10.0-preview.21",
    to my manifest.json seems to have resolved the issue though.