I noticed while redoing a project with XRI at work (from 2.5.3 to 3.0.5) that the ray interactor script does not allow anymore to scroll on a UI scroll view while having the pointer hover this specific scroll view. On the 2.5.3 XRI version it was working nicely but now in 3.0.5 it does work with the Near-Far Interactor and not with the Ray Interactor.
Here is a quick video example inside the XRI DemoScene where I have a Near-far interactor in my left hand and a ray interactor in the right one, both setted up with XRI Default Input Actions.
I made some research and could not find anything explaining. It is a known bug ? Is there a way to cleanly fix this without having to do a MonoBehavior script running on Update() on the ScrollRect component for overriding the interaction.
Are you able to share a screenshot of your XR Ray Interactor component? There are a few things to check, mainly, can you check what I’ve outlined here?
Sure ! I have the same input for scrolling in both my XRRayInteractor and my Near-Far Interactor ! And so it’s just working with the near-far and I can’t figure out why…
I tested again the Demo Scene on XRI Toolkit 2.5.3 where the Near-Far Interactor did not exist, the Ray Interactor works for UI Scrolling and back on version 3.0.7 the Ray Interactor can’t scroll on UI, it only can select the scroll view and not scroll with the joystick. On my other answer from the 23rd of January you can see both component on a project with XRI 3.0.X which have the same input setted for both ui scrolling interaction
Sorry for the delayed response, I was out on leave for awhile but am back now!
Quick question to start, what version of Unity are you using?
Check this Controller Input Action Manager is update to date (should be on Left Controller and Right Controller). Make sure that your Ray Interactor (or Near Far Interactor) are assigned properly in the Interactors section. Additionally, make sure “UI Scrolling Enabled” is checked on in that component.
Additionally you could verify that the UI Scroll input action actually has a binding assigned.
I am currently working on a project with 2022.3.27f1 and XRI 3.0.5.
Here is a screenshot of my RightController gameObject’s components. I think that it looks like yours… I can’t find what’s missing for the UI Scroll to work.
If I turn off my ray interactor and put a near-far it does scroll with my current configuration