Camera Snaps After Widget Interaction on Touch Screen Devices

Hi everyone,

I’m working on a project that includes touch screen functionality, and I’ve run into an issue with the player camera. After interacting with a widget button using a touch screen, the camera rotation behaves unpredictably—it snaps to a different direction instead of maintaining the current rotation.

This issue only happens on touch screen devices; when using a mouse, the camera rotation works perfectly after interacting with the widget. It seems like the touch input isn’t properly re-initializing or somethng similar. It takes a tap back inside the game screen to correct the camera behavior, but I’d like to solve the issue entirely.

Here’s what I’ve tried so far:

  • Enabling/disabling “Consume Input” on the widget interaction.
  • Ensuring the touch screen focus transitions properly back to the game.
  • Adjusting input modes between UI-only, game-only, and game+UI.

Nothing seems to work so far. Has anyone encountered this before? Any advice or potential solutions would be greatly appreciated!

Thanks in advance for your help!