Search Unity

Switched to WebGL and back to HDRP, now sky and fog volume renders black

Discussion in 'High Definition Render Pipeline' started by yusefkerr, Apr 12, 2020.

  1. yusefkerr

    yusefkerr

    Joined:
    Apr 5, 2011
    Posts:
    179
    Hello, this might be a bug, I created a HDRP project, created some VFX, and then out of curiosity I switched the build settings to WebGL. The whole editor/game window went black, and then I switched the build settings to android. Still just black. Next I set the build back to HDRP, and although I can now see my VFX again, the sky and fog volume is still rendering as black. I can delete it and I get the standard Unity background, but if I add in a new sky volume, it's once again black.

    I've closed/re-opened my project, but the volume stays black. Is there anything I should try before I create a new project and re-build everything?
     
  2. NewMagic-Studio

    NewMagic-Studio

    Joined:
    Feb 25, 2015
    Posts:
    454
    i think hdrp doesnt work for webgl, hdrp doesnt support opengl
     
  3. warthos3399

    warthos3399

    Joined:
    May 11, 2019
    Posts:
    1,759
    When you choose to use HDRP, its over...you cant revert or change to another SRP, and certainly NOT WebGL. Your better off re-building it all, hopefully your not too far into your project.