Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: dyego_s on August 27, 2014, 12:16:47 PM
-
I'm getting the error in the image I've attached every time I touch a UIButton that call a function OnClick Event. I don't know why.
-
Check the code that runs when you click on that button. You're getting an out of range exception. You can comment out the try/catch part around those lines and NGUI won't catch the exception anymore, so you will be able to jump directly to the offending line.
P.S. In the up to date version of NGUI it should already be like that. That entire section is inside a "if not in Unity editor" block. You should update.