Problems with New Input System On Android Touchscreen

I have read so many similar questions on the web but none of them was the answer I was looking for. Worse part is, I have no problem in Development build only happens when I build a release version.

Problem is, with the new input system, touch inputs are not triggering the click event on android devices. Actually it sometimes does sometimes does not… I can see the hovering effect on the buttons all the time, but sometimes it proceeds with the appointed on click event of the button sometimes does nothing. I tried to increase the Drag Threshold but did not help.

Can you please give me some idea some hint anything? It had been three days and even in my dream I’m working on this problem :slight_smile:

  • I have an event system
  • I have a single canvas (no additional ui element is being generated via script)
  • Everything works perfectly on editor and in debug released in android devices.
  • Buttons are Ray Cast targets and interactable.
  • On click events are being triggered if I press again and again on the button. Sometimes even on the first click (touch) they work.

Hello @soulcryy !
Did you find a solution to the problem above? Could it be related to this other thread? Unable to touch/click same position twice. [TouchScreen]

Yes and no at the same time :slight_smile: Related with the link you shared, I’m not sure but I did not have any problems on simulators. Anyway, I will skip the long and boring part and get to the solution I found.

I generated a new project, moved every asset to the new project, re-configured the new project accordingly as per the last one. Now it’s working.

Previously I tried to revert my actual project settings accordingly with a brand new project and it did not work. I don’t know why (checked plugin versions and everything). Anyway, it’s now working and I will not update my Unity Editor for a while, I have a feeling that all these updated I have applied during development process has broke something.

Hope this solution (?) works for you too. First try to generate a new dummy project and test the controls with it. If it works, my solution will probably work for you too.

Thanks for the reply! I will try to set up a clean project to see if I experience the same problem. Unfortunatley my issue is exactly the one described in the other thread, but I will give it a go anyway!