Hello there,
In the Player Settings, I used to have both Input Manager and Input System Package enabled for the Active Input Handling setting for iOS. As I experienced some weird behaviours, I switched this to Input System Package (new) only, which made perfect sense as I was no longer using the old input system anymore for a while. The setting now looks like this:
When I switched this, I started having some exceptions showing in the console, because UI Toolkit was trying to use the old input system. To fix this, I had to create a Game Object with an Input System Event System (UI Toolkit), in order to tell UI Toolkit to rely on the new Input System Package. This now looks as follows:
By adding this event system component, I no longer experience exceptions showing in the console. Everything works well in the Editor.
However, the scrolling no longer works on iOS. It actually works if I drag the scrollbar (which is not that simple on mobile), but I can’t just scroll by touching the middle of scroll view and trying to move it the natural way. It’s the same with the ListView component. No need to precise that the scrolling on iOS worked just fine with the old input system.
Here is my config:
- Unity 2020.3.2f1
- UI Toolkit Version 1.0.0-preview.14 - February 09, 2021
Do you guys have any clue? What should I do to have the scrolling working on iOS?
Thanks in advance for your help.