playMaker

Author Topic: NGUI LogStringToConsole  (Read 2302 times)

Budde88

  • Full Member
  • ***
  • Posts: 162
    • View Profile
NGUI LogStringToConsole
« on: September 24, 2015, 05:49:34 AM »
Is anyone experiencing this spike when pressing a button in NGUI on Unity 5.2?

I have attached a screenshot to illustrate this Demon Spike.
I never expereinced this Spike in Unity 4.5.5 but I do with Unity 5.2.

Also, I just want to mention with reference to the Profiler attachment, that I used to get 60FPS on mobile in Unity 4.5.5 on this scene and in Unity 5.2 It's struggling at 40FPS,
even though all the Quality setting and shaders are all the same and it's set to Release Build.

Any Ideas whats going on here?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14684
  • Official Playmaker Support
    • View Profile
Re: NGUI LogStringToConsole
« Reply #1 on: September 24, 2015, 06:34:00 AM »
Hi,

 You should turn off all debug properties in components "NGuiEventsToPlaymakerFsmEvents", then they won't log anything in the console.

 Bye,

 Jean

Budde88

  • Full Member
  • ***
  • Posts: 162
    • View Profile
Re: NGUI LogStringToConsole
« Reply #2 on: September 24, 2015, 07:04:40 AM »
Well that's strange,
Debug is already turned OFF on all my components.

Unity 5 Is killing me!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14684
  • Official Playmaker Support
    • View Profile
Re: NGUI LogStringToConsole
« Reply #3 on: September 24, 2015, 07:41:18 AM »
Hi,

 It's nothing to do with Unity 5 here.

if you want to be sure it's not going to fire any more logs, simply double click on the error on the console, it takes you to the line where it logs thing in the script itself.

 simply comment that line then ( using // at the beginning of the line)

save and try again.

 Bye,

 Jean