Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
ReturnLegend's avatar
ReturnLegend
Honored Guest
1 year ago
Solved

Meta XR Interaction SDK bug: Ray on UI Scroll View

I created a UI. When I scrolled the scrollview with a ray, once the ray went beyond the range of the UI panel, the scrollview would immediately bounce back to a wrong position. Then I tried to look a...
  • hvox1138's avatar
    1 year ago

    Looks like the behavior in the ComprehensiveRigExample scene was caused by not having the `SelectSurface` on CanvasInteractables object's `RayInteractor` set. That surface is what allows the ray to continue hitting something even when it goes off the edge of the panel, so having it not set disrupts the ability to keep scrolling beyond the edge of the panel. Our fix will come in a future release, but you can fix this locally by just dragging the CanvasPanel object into "CanvasInteractables > RayInteractable > Optionals > SelectSurface." You should likely be able to do something similar for your own UI as well. Hope this helps, and best of luck!