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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Question canvas UI disappears when I build for Oculus Quest, (android)

Discussion in 'VR' started by dclares, Nov 11, 2020.

  1. dclares

    dclares

    Joined:
    Mar 15, 2019
    Posts:
    14
    hi, thanks in advance
    I am working on a VR project for oculus quest, so far in the editor, it works and everything is displayed correctly, but when I do build, no UI or canvas is shown, only 3d objects are shown,
    Here I leave the log in case it gives you any clue, so far I have tried several things and I have not been able to solve it.
     

    Attached Files:

    • log.txt
      File size:
      19.9 KB
      Views:
      234
  2. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,848
    You're probably using a screen-space canvas. You need to use world-space canvases in VR.
     
  3. dclares

    dclares

    Joined:
    Mar 15, 2019
    Posts:
    14
    well, I already found the solution, it turns out that it is a problem with the oculus plugin with the URP and the opaque texture, to solve this problem you just have to disable the opaque texture in the URP settings
     

    Attached Files:

  4. park68k

    park68k

    Joined:
    Mar 1, 2020
    Posts:
    1
    Thanks. I had the same problem, and now it works!