I’m building a Unity project using Leia SDK version 3.2.11. We’re encountering a significant issue with input and screen-based raycasting.
Unity UGUI buttons are unresponsive on the device. We have a canvas set to world space and several UGUI button objects to navigate to various screens within the app. The user’s touch position is detected, but the graphic and physic raycasters don’t appear to register hits on the buttons. I’ve also tried the Button script in the Asteroids example, and while it works in the editor (due to the specific check for mouse input) it does not react to touch input on the device. For the Head camera in the LeiaDisplay prefab, Unity’s Camera.ScreenPointToRay function always returns a straight ray (direction 0,0,1) regardless of where the user taps on the screen, so it is unable to detect anything unless it’s directly in the center of the view.
Is there a recommended method for UI input with the Leia SDK?