Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

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:
    317
    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