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.

Some prefabs are not selectable in EditorxR mode

Discussion in 'EditorXR' started by cfi_xr_1, Apr 25, 2018.

  1. cfi_xr_1


    Feb 14, 2018

    In editorXR mode, some of my own prefabs (UI elements) are not selectable using the rays that are sent out by the controllers. They are selectable by selecting them in the Hierarchy, or by putting the controller inside them. Unity primitives can be selected by the controller rays.

    It seems this has to do with the raycasting and collider configuration. When activating the collider that is used on the prefab, it seems to block the ray from selecting the object (The ray from the controller is visibly being blocked by the collider). If I deactive the collider, the ray goes right through the object, without selecting it.

    Has anyone else run into this issue and found a fix?
  2. amirebrahimi


    Jan 27, 2008
    Are these prefabs that you are using for a custom tool or UIs that simply exist in your scene? If you look at the other EXR UI prefabs you'll see they are placed in the UI layer.