Playmaker Forum

Bug Reporting => PlayMaker Bug Reporting => Topic started by: Thore on May 22, 2019, 03:40:24 PM

Title: Prefab Saving Stutter Bug (SOLVED/NVM)
Post by: Thore on May 22, 2019, 03:40:24 PM
Playmaker 1.9.0.p15, Unity 2019.1.0f2 (Win x64). Fairly fresh setup, through the Unity Hub.

This bug occurs since I switched to this Unity version. I did update Playmaker a while ago to p15, but the problem persists. I worked around it so far, though maybe I should report it.

What Happens
When editing the FSM in a prefab and making any change, like adding a transition, Unity begins to stutter and alternates the mouse cursor between "busy" (as if saving) and default mouse pointer, making it impossible to work that way. I can stop this stuttering by starting the play mode, which runs normally. After exiting the mode, editing works as usual again -- until next time. The bug is completely consistent and happens each time I edit a prefab's FSM.

Repo Case
Doesn't matter how the prefab FSMs is being accessed or edited: click on an object in the hierarchy, then in Playmaker window > open (prefab). Or click on the prefab in the project window > "open prefab" (inspector). Add e.g. a FINISHED transition, stuttering occurs.


Title: Re: Prefab Saving Stutter Bug (severe, but workaround)
Post by: Alex Chouls on May 22, 2019, 04:46:31 PM
I'm not able to reproduce this here.
Does it happen in a new project?
Title: Re: Prefab Saving Stutter Bug (severe, but workaround)
Post by: Thore on May 23, 2019, 04:32:23 PM
Doesn’t occur on new project. No idea what causes this, I will migrate. Thanks for the hint, didn’t try that because it was all quite fresh. :)
Title: Re: Prefab Saving Stutter Bug (severe, but workaround)
Post by: Alex Chouls on May 23, 2019, 06:29:18 PM
If you have a project where it does happen and can share I’d love to take a look!
Title: Solved. NVM. ;)
Post by: Thore on May 24, 2019, 09:12:45 AM
Nevermind, sorry about the false alarm. Got nothing to do with Playmaker, but has something to do with the autosave feature of the new Prefab workflow, plus some editor update schenanigans (likely OnGui, [ExecuteAlways] or [ExecuteInEditMode]).