Unity Event Trigger iOS

Greetings,

I have a scene with a camera that has a physics2DRaycaster, a sprite with a box collider and event trigger aswell as an event system.

In the event trigger I have an OnPointerClick() event. It works in the Unity Editor, but does not work on iOS…
I am completely lost… Please assist

I think your problem is one, some or all in this list:

  • You don’t have an EventSystem in your scene. Unity creates one automatically when you create a Canvas.
  • Your EventSystem object doesn’t have a Standalone Input Module (Touch Input Module isn’t needed anymore as all is now managed by Standalone Input Module)
  • Your object is not inside a Canvas
  • Finally, rather than PointerClick, for touch devices you should use PointerDown and PointerUp