playMaker

Author Topic: Profiler + Playmaker = horrible performance  (Read 961 times)

Gua

  • Beta Group
  • Sr. Member
  • *
  • Posts: 309
    • Andrii Vintsevych
Profiler + Playmaker = horrible performance
« on: February 03, 2021, 10:24:36 PM »
v1.9.1.f7p2
Unity 2018.4.31

When I have profiler and playmaker opened, I get horrible performance after I load a scene




Same thing when I load different scene of my game. But in this case it get back to normal.

I doesn't happen when I load simple test scene

If in a playmode I close playmaker and open it performance doesn't get bad. But I do get this error when I do so.

NullReferenceException: Object reference not set to an instance of an object
HutongGames.PlayMakerEditor.DebugFlow.Stop () (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/DebugFlow.cs:160)
HutongGames.PlayMakerEditor.FsmEditor.OnPlayerPauseChanged (UnityEditor.PauseState pauseState) (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmEditor.cs:1471)
UnityEditor.EditorApplication.Internal_PauseStateChanged (UnityEditor.PauseState state) (at C:/buildslave/unity/build/Editor/Mono/EditorApplication.cs:291)
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler() (at C:/buildslave/unity/build/Editor/Mono/EditorApplication.cs:329)

« Last Edit: February 03, 2021, 10:30:33 PM by Gua »

Gua

  • Beta Group
  • Sr. Member
  • *
  • Posts: 309
    • Andrii Vintsevych
Re: Profiler + Playmaker = horrible performance
« Reply #1 on: February 03, 2021, 10:39:33 PM »
here's what happens when I close profiler

Issue doesn't go away. The only way to make it go away at this point is restarting Unity. And launching playmode without profiler.

Gua

  • Beta Group
  • Sr. Member
  • *
  • Posts: 309
    • Andrii Vintsevych
Re: Profiler + Playmaker = horrible performance
« Reply #2 on: February 03, 2021, 10:41:34 PM »
Launching profiler after scene is loaded doesn't create this issue.

Broken Stylus

  • Beta Group
  • Hero Member
  • *
  • Posts: 772
Re: Profiler + Playmaker = horrible performance
« Reply #3 on: February 08, 2021, 05:00:27 AM »
Unity's Editor has its mysteries too. Sometimes, out of nowhere, the editor is going to lag like crazy during a runtime, then the next runtime is going to run smoothly. It's perhaps preferable to purge the RAM every now and then too.