Search Unity

Bug WebGL build with 2022.2 not displaying UI

Discussion in 'Web' started by CiroContns, May 22, 2023.

  1. CiroContns

    CiroContns

    Unity Legend

    Joined:
    Jan 28, 2008
    Posts:
    117
    Hey all, I'm building a project in WebGL with 2022.2.18. To note is that the same project, opened in 2021.3 LTS, works well.

    But when build with 2022.2, I can't see the UI in the game and get the following errors in the console on launch:

    Around 16x this one:
    [.WebGL-0x138023ce000] GL_INVALID_FRAMEBUFFER_OPERATION: Framebuffer is incomplete: Attachments have different sample counts.


    And 240x this one:
    [.WebGL-0x138023ce000] GL_INVALID_FRAMEBUFFER_OPERATION: Draw framebuffer is incomplete


    The errors then stop, I presume it's a matter of timing/frames for how many times they happen. But then the UI doesn't show up.
    If the UI is not present in the scene, no error occurs.

    Anyone noticed something similar? Thanks.
     
  2. CiroContns

    CiroContns

    Unity Legend

    Joined:
    Jan 28, 2008
    Posts:
    117
    Also submitted a bug report. Incident ID is IN-41705
     
    GDevTeam and unityruba like this.
  3. unityruba

    unityruba

    Unity Technologies

    Joined:
    Nov 6, 2020
    Posts:
    273
    I'll bring this up when we triage bugs tomorrow
     
    GDevTeam and CiroContns like this.
  4. unityruba

    unityruba

    Unity Technologies

    Joined:
    Nov 6, 2020
    Posts:
    273
    I see that customer QA is following up with you with a question, they'll help our team by pinpointing which Unity versions/web browsers/OSes etc this occurs in. Once they're done, we'll be ready to investigate.
     
    GDevTeam and CiroContns like this.
  5. CiroContns

    CiroContns

    Unity Legend

    Joined:
    Jan 28, 2008
    Posts:
    117
    Thanks for the updates :)
     
  6. unityruba

    unityruba

    Unity Technologies

    Joined:
    Nov 6, 2020
    Posts:
    273
    for what it's worth I managed to repro your issue on our latest version, once customer QA can get us a definitive answer on where this issue wasn't happening, they can run a bisection and we'll see what caused it.
     
  7. CiroContns

    CiroContns

    Unity Legend

    Joined:
    Jan 28, 2008
    Posts:
    117
    Great, thanks Ruba!