- Home /
UI button not working properly on samsung galaxy S6
Hiya,
We're coming across an issue and I was wondering if someone else has come across it/found a solution. We have a straightforward ui button that does what it's supposed to do (some simple logic to turn on a gameobject) on most phones except for our samsung galaxy s6. (and probably more samsungs)
The button seems to respond when touched (a mouseover) but the click doesn't happen until the user has pressed it a few times or there has been some sort of delay (a few seconds). The app remains responsive during this and the operation isn't anything more than turning on a gameobject (also works fine on 6+ year old phones, it's not the code :P)
I've found some people online with the same issue but no solutions. We're gonna update our unity to the latest patch release (currently on 5.3.4f1) and see if that helps but in the meantime I thought it might be good to also ask around here.
Thanks in advance
Answer by imaxus · Jun 06, 2016 at 12:19 PM
Hi, for me the working solution is to change button onClick() function to EventTrigger. But be aware that if u set EventTriger for example only for PointerDown it will block the rest of events (slides etc.). The best solution is to write Your own function that inherited from Event PointerDown because in this case your own function won't block the others events.
Also increasing drag treshold will improve user experience.
Your answer

Follow this Question
Related Questions
Touch goes through UI button 1 Answer
Detect UI Button Click Event in Update method 3 Answers
Holding down UI Button and shooting raycast from touch position doesn't work simultaneously:(( 0 Answers
How to replace input axis keyboard button with touch button? 3 Answers
What is the code to load a panel that is not a buildIndex scene? 1 Answer