Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

WebGL URP not rendering correctly only seeing sky box and dark blobs (?shadows?) ?

Discussion in '2021.1 Beta' started by Arowx, Mar 16, 2021.

  1. Arowx

    Arowx

    Joined:
    Nov 12, 2009
    Posts:
    8,194
    Working on a simple WebGL game and chose to use URP as I thought it would be faster and better for WebGL only to find it's not even rendering correctly in the WebGL build?

    I'm getting strange dark distorted blobs and not shiny balls.


    Any ideas on what is going wrong?
     
  2. Arowx

    Arowx

    Joined:
    Nov 12, 2009
    Posts:
    8,194
    So tested the WebGL build with the sample URP scene...


    As you can see definitely some rendering issues but at least the test build scene settings render objects just mess up textures.
     
  3. jRocket

    jRocket

    Joined:
    Jul 12, 2012
    Posts:
    699
    Which browser are you using?
     
  4. Arowx

    Arowx

    Joined:
    Nov 12, 2009
    Posts:
    8,194
    Edge
     
  5. jRocket

    jRocket

    Joined:
    Jul 12, 2012
    Posts:
    699
    The pixellated lights look like a lightmap encoding issue. I have seen that issue before when using Safari with WebGL 1.0.
     
  6. Arowx

    Arowx

    Joined:
    Nov 12, 2009
    Posts:
    8,194
    Cheers @jRocket

    Tried it with Chrome and works fine.

    Then I remembered that I turned off Hardware acceleration on Edge as I was getting some video playback problems!

    Note to self: WebGL probably needs Hardware acceleration ON! :oops: