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

Resolved Dropdown Options with XR Ray

Discussion in 'XR Interaction Toolkit and Input' started by ni_sogeti, Mar 24, 2023.

  1. ni_sogeti

    ni_sogeti

    Joined:
    Feb 1, 2023
    Posts:
    2
    I have the XR Ray interacting with UI elements but the dropdown options mask the ray. How can I get the laser to render on top of these options? Its the only UI element where this is happening. TIA. dropdownOptions.png
     
  2. VRDave_Unity

    VRDave_Unity

    Unity Technologies

    Joined:
    Nov 19, 2021
    Posts:
    257
    Hi @ni_sogeti,
    This is a bit of a known issue. You can resolve this by going to the XR Ray Interactor and setting the
    Order in Layer
    on the Line Renderer component to
    30001
    or higher.
    upload_2023-3-24_17-5-44.png
    This is because the dropdown gets created with a sort order of 30000 to make sure it pops over the top of other UI elements. Hopefully this helps resolve your issue. :)
     
  3. ni_sogeti

    ni_sogeti

    Joined:
    Feb 1, 2023
    Posts:
    2
    Thanks, that resolved my issue
     
    VRDave_Unity likes this.