Playmaker Forum

Bug Reporting => PlayMaker Bug Reporting => Topic started by: Gua on July 04, 2014, 03:21:22 AM

Title: Playmaker + Unity 4.5.1 = Bad Performance
Post by: Gua 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.
Title: Re: Playmaker + Unity 4.5.1 = Bad Performance
Post by: Alex Chouls 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...
Title: Re: Playmaker + Unity 4.5.1 = Bad Performance
Post by: Gua 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.
Title: Re: Playmaker + Unity 4.5.1 = Bad Performance
Post by: jeanfabre 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
Title: Re: Playmaker + Unity 4.5.1 = Bad Performance
Post by: Gua 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.
Title: Re: Playmaker + Unity 4.5.1 = Bad Performance
Post by: jeanfabre 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