Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question (Quest/Android) UI Mask not visibile when rendered from a RenderTexture

Discussion in 'General Graphics' started by DanjelRicci, Nov 18, 2023.

  1. DanjelRicci

    DanjelRicci

    Joined:
    Mar 8, 2010
    Posts:
    308
    I'm using a UI Mask component to fit a minimap on a car dashboard:

    com.commutergames.downtownclub-20231118-002732.jpg

    The component itself works correctly both in editor and on Quest.
    It stops working only on the Quest build when I render it via a RenderTexture, and it appears like the screenshot below. This doesn't happen in editor.
    I attached a screenshot with the renderTexture properties, I also tried it with 32 bits of depth but it didn't help. Is this a bug or, as I guess, did I forgot to set some Android-specific option?

    com.commutergames.downtownclub-20231118-002716.jpg
    Screenshot 2023-11-18 alle 10.58.13.png