#Mobile - Teleport On Click / Camera Control shouldn't execute when pressing custom UI

2 messages · Page 1 of 1 (latest)

true zinc
#

Problem 1
Holding down any custom UI button on Mobile disables Camera auto-rotation, as if we're trying to rotate the camera. Dragging the finger after pressing the button will in fact rotate the camera. This doesn't happen with Spatial's jump and move buttons, and also doesn't happen on Web (with custom UI buttons).

Problem 2
Pressing custom UI buttons on Mobile, in a space with teleport active will often press the button AND teleport the actor, sometimes somewhere ridiculously far, disorienting users. Also doesn't happen on Web.

Why is this happening on Mobile? You seem to be correctly ignoring the raycasts on Web when hovering UI, probably with a line like if (EventSystem.current.IsPointerOverGameObject()) return;.

Is this the intended Mobile input behaviour?