Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: rich.sunandmoon on February 27, 2015, 01:10:02 PM

Title: Unity 5 / Android Buttons not working
Post by: rich.sunandmoon on February 27, 2015, 01:10:02 PM
UPDATE:  Fixed in UNITY 5 Release version

Hi,

I'm having problems using NGUI in Unity 5 / Android, where buttons dont work when played on my device. I'm updating a previous app made in Unity 4 / NGUI

As a simple example - Using Unity 5. Build one of the NGUI example interaction scenes (I used the scroll view example) into and app and run it on an android device. The buttons are unresponsive for me, as if the touch events or colliders aren't working. When I play in the editor it works fine.

Can anyone confirm they also get theis problem?

Many Thanks

 
Title: Re: Unity 5 / Android Buttons not working
Post by: ArenMook on March 01, 2015, 05:09:19 PM
It's probably the same regression bug that Unity introduced back in 4.6 and never bothered fixing. Basically any time screen resolution changes, the colliders, although updated properly by NGUI, don't seem to get updated in Unity itself, so it thinks that colliders are still in wrong places. Everything worked properly in Unity 4.5.
Title: Re: Unity 5 / Android Buttons not working
Post by: Magic Frame on March 10, 2015, 03:28:27 AM
Hi I have the same problem now, and I have the latest version Unity... Any help?
Title: Re: Unity 5 / Android Buttons not working
Post by: ArenMook on March 10, 2015, 08:21:03 PM
Rich mentioned that it's fixed in the latest Unity 5 version. What are you using now, Magic?
Title: Re: Unity 5 / Android Buttons not working
Post by: Magic Frame on March 16, 2015, 04:29:23 AM
Hi Aren,

Im using the latest version of Unity 5.

Thanks
Title: Re: Unity 5 / Android Buttons not working
Post by: ArenMook on March 16, 2015, 09:25:47 PM
I had a look at it on my end and everything worked as expected. Try a brand new project and import NGUI into it.