Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: yarbsea on November 29, 2013, 10:27:04 PM

Title: UICamera - debug option appears to enable without being selected?
Post by: yarbsea on November 29, 2013, 10:27:04 PM
I upgraded to 3.0.6 and now I am getting text at the top of the screen as if my UICamera has 'debug' checked, which it does not. Only if I hit 'play', and then check, and again un-check 'debug' will it then stop showing for that sessions. As soon as I exit of course it goes back to showing the debug text….? Anyone have a suggestion?
Title: Re: UICamera - debug option appears to enable without being selected?
Post by: ArenMook on November 29, 2013, 11:09:56 PM
One of your cameras likely has it enabled, and it's causing it to get turned on. You can track down which camera it is by inserting a Debug.Log in NGUIDebug.debugRaycast setter property and checking the call stack when it's hit.