MobileSingleStickControl IDragHandler.OnDrag not firing on iPhone 6 Plus

Folks,

I am running into a strange issue. I am using the MobileSingleStickControl that comes with Unity standard assets. The joystick is working fine inside the Unity Editor where I can drag it around using my mouse and make my character move. However, when drag my finger on my iPhone 6 Plus the drag is not recognized and the OnDrag event of the JoyStick.cs doesn’t fire. The touch itself is getting recognized because the “Fire1” input is working when I touch the screen on the iPhone. The issue is that none of the IPointerDownHandler/ iPointerUpHandler/ iDragHandler events are firing when I touch the screen.

I am using Unity Remote 4, Unity 5 Editor and iPhone 6 Plus.

Does anyone know what might be happening here?

Thanks,
Murali

I found the solution. It is a bug in Unity Remote. For IPointerDown/ IDrag/ IPointerUp events to be recognized, Unity Remote has to be started with the iPhone in the “portrait mode” and the project settings as “Auto Rotation”. As soon as I change my orientation to “Auto Rotation” and start Unity Remote in the portrait mode, these events started to fire just fine.

The good people at Unity, please fix this issue. It has already cost be about 10 hours of scratching my head.

Thanks,
Murali