playMaker

Author Topic: Playmaker + Unity 4.5.1 = Bad Performance  (Read 5205 times)

Gua

  • Beta Group
  • Sr. Member
  • *
  • Posts: 309
    • Andrii Vintsevych
Playmaker + Unity 4.5.1 = Bad Performance
« on: July 04, 2014, 03:21:22 AM »
I've recently made project, using Unity 4.3.1 and performance for that project was just great. I've recently updated Unity to 4.5.1 and now performance is bad. Looks like the problem is caused by Playmaker.

http://i.gyazo.com/f13ff72479c01345b52552b1cc5dbcbe.png

Update:
Yep. Disabling some scripts made by Playmaker fixed performance. And I know I've probably do too much stuff on every frame, but this wasn't and issue before.
« Last Edit: July 04, 2014, 03:31:03 AM by Gua »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: Playmaker + Unity 4.5.1 = Bad Performance
« Reply #1 on: July 04, 2014, 11:10:59 AM »
Can you send me the project so I can figure out what's going on?
Is the slowdown in the editor, standalone builds, or both?
Are there any warnings in the console? Debug spam is bad for performance in the editor...

Gua

  • Beta Group
  • Sr. Member
  • *
  • Posts: 309
    • Andrii Vintsevych
Re: Playmaker + Unity 4.5.1 = Bad Performance
« Reply #2 on: July 05, 2014, 12:58:40 AM »
Both. There was no errors. But I've just installed 1.7.7.2 and now there is. I have to sort it out, before sending you build.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Playmaker + Unity 4.5.1 = Bad Performance
« Reply #3 on: July 05, 2014, 04:37:49 AM »
Hi,

I think that the "update" call doesn't necessarly reflect what is slowing it down. I would further debug this and see what actions you are using at the time. It's very likely ( combinned with what alex said about console) that one of the action you use is causing the slow down because using an aap call from Unity that is slow itself. It happens quite a lot.

Have you profiled when published? also try to profile, with Nothin but the game view and the profiler view in your Unit yLayout ( I saved one layout like that) as it will give you a much better idea without the editors being too much in the way.

Bye,

 Jean
 Bye,

 Jean

Gua

  • Beta Group
  • Sr. Member
  • *
  • Posts: 309
    • Andrii Vintsevych
Re: Playmaker + Unity 4.5.1 = Bad Performance
« Reply #4 on: July 05, 2014, 07:01:50 AM »
I think that the "update" call doesn't necessarly reflect what is slowing it down.
When I disable, Playmaker scripts on zombies in my game, performance is fine.

I've send you build with the problem to Alex. Also I've just installed Unity3D 4.3.4f1 And reverted project. As I was expected, there is no problem with performance, on older Unity version.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Playmaker + Unity 4.5.1 = Bad Performance
« Reply #5 on: July 08, 2014, 10:36:56 AM »
Hi,

 I don't think I have anything, can you pm me referencing how you sent this project?

Bye,

 Jean