Search Unity

Question UI ScrollRect not being masked - How to set a 24-bit depth buffer for Oculus (Desktop)

Discussion in 'VR' started by jeromeWork, Nov 24, 2020.

  1. jeromeWork

    jeromeWork

    Joined:
    Sep 1, 2015
    Posts:
    429
    I've run into a problem with UI ScrollRect not being masked - works fine in Editor but builds running on the same PC (Windows) show the list items extending beyond the scroll area.

    A lot of comments I've found mention that setting the Depth Buffer to 24bit resolves the issue but I can't see a setting for this under Oculus in the XR Plug-in Management, or Player Settings (where I know it's available when building for Android).

    Has anyone had a similar problem or know how I might set that depth buffer?
     
    ElasticSea likes this.