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

WebGL URP rendering garbage

Discussion in 'WebGL' started by TriggeredChicken, Aug 7, 2021.

  1. TriggeredChicken

    TriggeredChicken

    Joined:
    Nov 22, 2016
    Posts:
    4
    Update: it was due to having two cameras in the scene, both of type Base. After switching the top one to overlay and adding it the the camera stack of the lower one, the problem is gone.

    -----------------------------

    This what I get when running a WebGL build (version 2021.1.14f1):
    upload_2021-8-7_15-18-3.png

    UI looks fine, but the rest has some issues. In editor and native builds it looks something like this:
    upload_2021-8-7_15-21-28.png

    Any ideas which setting could be causing this? Same problem in both Chrome and Edge.
     

    Attached Files:

    Last edited: Aug 8, 2021
    AliceWasNeverHere likes this.
  2. TriggeredChicken

    TriggeredChicken

    Joined:
    Nov 22, 2016
    Posts:
    4
    And btw, I see no errors in the browser console log.

    upload_2021-8-8_9-18-32.png
     
    Last edited: Aug 8, 2021
  3. Ken_Rampage

    Ken_Rampage

    Joined:
    Aug 17, 2020
    Posts:
    2
    You are an absolute LEGEND for updating your post with the solution. I had the same issue and had been googling for a fix for hours with no luck before coming upon your post.

    Thanks!
     
    MGretton and AliceWasNeverHere like this.
  4. TechnicalArtist

    TechnicalArtist

    Joined:
    Jul 9, 2012
    Posts:
    736
    We facing same issue,but in my case one camera already added as a overlay.this issue specifically faced in MacBookAir7,2.kindly please help here.
     
  5. ephemerald

    ephemerald

    Joined:
    May 20, 2017
    Posts:
    1
    Had this problem, the camera fix solved it, thank you so much! I assume more replies will help this be more visible to future people like myself :D
     
  6. KazooCar69

    KazooCar69

    Joined:
    Apr 4, 2013
    Posts:
    2
    Thanks for this, we had this issue as well when switching our project's rendering.