Playmaker Forum
Bug Reporting => PlayMaker Bug Reporting => Topic started by: mdotstrange on August 13, 2016, 11:17:18 AM
-
I'm using Unity 5.3.6f1 and just upgraded to Playmaker 1.8.2f7
Whenever the Playmaker editor tab is active the whole Unity editor lags- here's a video displaying the behavior https://www.youtube.com/watch?v=GqjDXWXlhYc (https://www.youtube.com/watch?v=GqjDXWXlhYc)
When the editor tab is not shown the editor is snappy- as soon at the editor is shown creating objects lags, changing tags/layers lags- it slows down a lot of functions in Unity
I tested it on both Windows and OS X and the slowdown happens on both with the same project- hiding the editor tab gets rid of the problem- I tried disabling all of Pm's debugging/error checking options but the lag is still there-
This slowdown didn't happen in 1.8.1.x with the same project- new empty projects are not affected- so there's something in my project that is causing the lag with 1.8.2.x
I'll just hide the editor when not using it for now- but if anyone has any ideas for other solutions please let me know- thanks!
-
I'm also getting lags/slowdown when working with Fsm's- going to downgrade to 1.8.1.x as I didn't have these issues with that version-
-
Hmmm, can't reproduce the issue here.
Can you submit a bug report so we can get more info on your setup?
Also do you have any other editor extensions imported?
-
I duplicated the project and deleted all other editor extensions and still had the issue-
Yes, I'll send a bug report- thx
Its a strange bug as I've tested with combinations of Pm 1.8.1 and 1.8.2 and Unity 5.3.5 and 5.3.6
I've been able to isolate the problem a little more- it seems its the action browser that is causing the slowdown, not the Pm editor itself-
If I open the project with the default workspace- everything is fine- if I open the Playmaker editor- The Unity Editor works fine but manipulating fsm's slows/lags-
As soon as I open the action browser then the slowdown/lag starts for all of Unity and Playmaker whenever the Pm editor is shown- if I hide the Pm editor- things go back to normal-
Could this mean that it is a custom action that is causing the slowdown? Thx
-
Could this mean that it is a custom action that is causing the slowdown?
It's possible. Do you have any actions selected in the action browser when the slowdown occurs? There is a new CallMethodEditor in 1.8.2. You could try deleting that to see if its the culprit.
How many FSMs do you have in your project and the open scene? Trying to repro here...
-
No actions selected when slowdown occurs-
I tried deleting CallMethodEditor and a few custom actions I added around the time I noticed the lag- still having the editor issue-
Its a game I've been working on for ever a year- to play the game in the Unity Editor it takes about 20 seconds to start after pressing play-
There's probably well over 100-150 fsm's in the project- 50 or so arraymaker lists and 50 or so arraymaker hash tables- So lots of prefabs with fsm's, lists, hash tables, and custom actions-
-
Any chance you could share the project privately so I could profile it? Or Profile Editor on your end and post a screenshot?
-
I found the culprit! :)
If I uncheck "Auto refresh action usage" in the action browser settings the slowdown/lag is gone
(http://i.imgur.com/0c0lzEW.png)
So making sure this is unchecked this fixes my issue- thx for the help Alex
-
Thanks for posting that - I'll investigate why that's slower in 1.8.2!
-
Yes Same issue Here and Also With unity 5.4.0f3 Pm 1.8.2 Give me this warning.
OnLevelWasLoaded was found on PlayMakerFSM
This message has been deprecated and will be removed in a later version of Unity.
Add a delegate to SceneManager.sceneLoaded instead to get notifications after scene loading has completed
-
I have same issue on Unity 5.2.4 as soon as I close last peace of Playmaker interface, fps returns to normal.
-
I've noticed that it slows down, when there's a gameobject with FSM opened in inspector. Canvas itself doesn't slow it down for me.
-
+1
-
bump
-
I'm still having this trouble in 1.8.3.f4 :( I've unchecked the "Auto refresh action usage" setting but no improvement). I'm using Unity 5.4.2f2.
-
Bump
Any update On this.