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. Join us on Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Broken UI Mask component only in build, works in editor

Discussion in 'AR/VR (XR) Discussion' started by Mickwa, Jul 3, 2020.

  1. Mickwa

    Mickwa

    Joined:
    May 9, 2014
    Posts:
    15
    I have problem with UI Mask component not hiding UI elements when Oculus is connected.
    I attached image to show what the problem is. In Editor it is working fine. Problem occures in build. Maybe someone knows how to solve this issue?

    *****
    So I found solution to my problem:
    Replacing Mask with RectMask2D solved issue
     

    Attached Files:

    Last edited: Jul 3, 2020
  2. LuigiNicastro

    LuigiNicastro

    Joined:
    Feb 7, 2018
    Posts:
    26
    Thank you for posting the solution!