Author Topic: UICamera - debug option appears to enable without being selected?  (Read 2012 times)

yarbsea

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 7
    • View Profile
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?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UICamera - debug option appears to enable without being selected?
« Reply #1 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.