playMaker

Author Topic: NGUI LogStringToConsole  (Read 3455 times)

Budde88

  • Full Member
  • ***
  • Posts: 165
NGUI LogStringToConsole
« on: September 24, 2015, 08: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: 15500
  • Official Playmaker Support
Re: NGUI LogStringToConsole
« Reply #1 on: September 24, 2015, 09: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: 165
Re: NGUI LogStringToConsole
« Reply #2 on: September 24, 2015, 10: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: 15500
  • Official Playmaker Support
Re: NGUI LogStringToConsole
« Reply #3 on: September 24, 2015, 10: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