Scrollview UI and XR Toolkit makes scrolling really slow

Using the default XR Interaction Setup prefab from the Samples of the XR Interaction Toolkit in Unity 2023.29 and having a simple World Space canvas with a default scrollview in it.
I can interact with the scroll view. I can scroll the text up and down, but the increments of scrolling as tiny. Instead of a normal swipe-feeling, this is almost pixel by pixel work.

I’m not using the UI Toolkit, just added the scroll view and the necessary XR scripts like in the UI sample that comes with the XR Interaction Tooolkit.

Is there any way to increase the scrolling speed/steps? Scroll sensitivity doesn’t really make a difference.

I’m also testing the VR Interaction Framework (Bearded Ninja Games) and using the same scrollview but now using the VRIF XR Rig and scripts it works fine.

Anyone an idea how to control the scrolling using XR and a default scrollview?

I’m assuming you mean that you are using Unity 2022.3.29f1. If you’re actually on 2023/Unity 6, there is currently an issue with scroll speeds not being consistent from previous Unity versions due to the Windows 120x wheel multiplier being applied differently which you may be running into that will be resolved in a future patch.

But for 2022.3, it should work correctly. The Scroll Sensitivity on the Scroll Rect component can be increased from the default value of 1 to increase the speed it’s scrolled from both a mouse wheel or from the XR Ray Interactor/Near-Far Interactor when in VR. If increasing that causes the XR controller to scroll too quickly when moving the thumbstick, you can adjust the Tracked Scroll Delta Multiplier property on the XR UI Input Module component on the EventSystem GameObject to a smaller value to compensate.

You could also adjust the input actions to scale the input. The XR UI/ScrollWheel action for the mouse wheel in a flat 2D experience or the XRI Left Interaction/UI Scroll and XRI Right Interaction/UI Scroll actions for an XR controller.

You can try scrolling in the canvas in front of you in the HandsDemoScene in the Hands Interaction Demo sample (Window > Package Manager > XR Interaction Toolkit > Samples) to compare the rig and ScrollView against your setup. I tried in that scene on 2022.3.29f1 and it worked as expected for me where scrolling didn’t seem too slow.

Hi Chris,
Thanks for your answer. Yes I’m using 2022.3.29.
I’ve copied the sample screen UI and made changes for my version. When it starts I read a file with text and references to images. Then I build the Content for the scrollview window by adding Image and TMPPro_Text components (and RectTrans). When I look in the scene the content looks good. When I toggle the Viewport mask off I can seen all my content.
When I use the exact same scroll view object but now without the Unity XR Interaction Toolkit but the VRIF addon (all default), then this same scroll view works perfect. When I point my controller to the scroll window and (remotely) drag it, it behaves as expected (natural feel scrolling).
IT is just when I use the default XR Interaction Setup prefab from the Toolkit (made no other changes to things like the input actions or such) the scrolling is minimal. I even tried making a copy of the ScrollRect.cs script and tinkering with speed and movement variables in the LateUpdate. No luck. I increased the scroll sensitivity but whether it is on 1 or 100 (or 5000) there is no real difference. I also changed (preprocess Vector2 multiplier) the action input for the UI Scroll behavior. No luck either.

I’d love to use the XR Interaction Toolkit, but I need a normal scroll view.

The UI scroll in the sample seems to work a bit better, but still very much under par (does not feel natural as the VRIF addon does).

Could it be something with me filling the content (and calculating its bounds etc) at startup that confuses the scrollrect.cs script and so it does not work properly?

Does that mean that you are pointing to the Scroll View, pulling the trigger, and dragging up/down to scroll? Or are you talking about pointing to the Scroll View and then moving the thumbstick to scroll?

The Scroll Sensitivity property on the Scroll Rect component only applies in OnScroll, so mouse wheel or thumbstick with an XR Controller. Changing the scale of the “XR UI/ScrollWheel” action (for mouse) and “XR Right Interaction/UI Scroll” action (for controller) which is bound to the thumbstick will not change how fast the Scroll View scrolls when dragging. Same with the Tracked Scroll Delta Multiplier property on the XR UI Input Module on the EventSystem GameObject. Scrolling this way is linear, and you may need to dynamically adjust the Scroll Sensitivity based on content length if you want it to be percentage based.

For increasing the speed when dragging or flicking when holding down the trigger, you could try adjusting the Deceleration Rate on the Scroll Rect component if you are using Inertia so it scrolls further.

For dragging with the trigger held, are you wanting it to scroll more than you are actually dragging it?