Playmaker Forum

Bug Reporting => PlayMaker Bug Reporting => Topic started by: Broken Stylus on September 18, 2019, 08:30:20 AM

Title: Grayed Editor Window's Inspector at runtime
Post by: Broken Stylus on September 18, 2019, 08:30:20 AM
Has anyone experienced this once?
All my states are covered with this gray veil. They're interactive though.
I tried so many options, dim this, debug that, changed alphas to 0 and plenty of other options but I can't find why this happens.
This happens in any state, active of not, belonging to any FSM on any Game Object. :(

Playmaker 1.9.0.p19, Unity 2019.2.5f1
Title: Re: Grayed Editor Window's Inspector at runtime
Post by: Broken Stylus on September 18, 2019, 08:59:10 AM
Perhaps it's related to debug flow? I get this warning despite debug flow being activated globally in Preferences.
For some reason, mouse-scrolling on the Inspector does not work and using the scroll bar is laggy as hell.
Title: Re: Grayed Editor Window's Inspector at runtime
Post by: Broken Stylus on September 19, 2019, 02:02:03 AM
Problem solved.

The first culprit coming to my mind was dim finished actions. It was actually weird that this one was already ticked.
I unticked it but nothing changed. This was really getting crazy.
I had spent dozens of minutes trying other UI/debug related options but nothing worked. And PM was lagging like sh**.
Starts another project, same crap going on. Click this and that.
Dim dimd mdim dim dimd mdidmidm dim dimdmi ddm.
Mad. Absolutely mad.
Quits Unity, switches computer off, end of day of work.
New day, restarts all next morning, option still disabled in Prefs. Starts the game.
Problem gone.

Sorcery.
My computer hates me.
Title: Re: Grayed Editor Window's Inspector at runtime
Post by: Broken Stylus on September 20, 2019, 09:54:03 AM
I had lately added the [solved] tag but had to remove it since this is actually a real bug.
I could not really explain why it happens but it might be related to the game going on pause when Playmaker detects an error.
I double-verified. The State tab area is all covered with a gray veil that blocks almost all interactions.


I can't roll the mouse over it to scroll the actions up or down, yet Dim finished actions is not enabled.
There's also the Gray box message about "Debug Flow Mode: ..." displayed, like other Hints. It won't go away whether I allow debug locally on any FSM or globally.
I think there is a UI bug of some kind.
if this continues I'll have to go back to the p18 version which had none of this.
Title: Re: Grayed Editor Window's Inspector at runtime
Post by: Broken Stylus on September 20, 2019, 10:27:01 AM
I managed to reproduce it.
Work and navigate through several FSMs.
Then run the game and wait for a FSM to produce an error.
Then press ⬅︎ (previous FSM), all the states of the previous FSMs are grayed.
Then if I return to the FSM that caused the errors, regardless of how you get there, its states are grayed too.

The FSMs that suffer from this are not related to prefabs and it afflicts FSMs on the same and different GOs.
Title: Re: Grayed Editor Window's Inspector at runtime
Post by: Broken Stylus on September 20, 2019, 10:58:35 AM
Right, found it. It's the FSM log window.
I use it quite often and it seems it has a new behavior in p19.
Click once in it, anywhere, and all states go gray.
That's not good but it gets worse. Navigating between FSMs will have the log's yellow line sometimes located down the log, depending on what went inside a FSM.
If a FSM is disabled, the states remain interactive.
On FSMs that are active and have had the flow go through several states, the yellow cursor is placed down the log pile and it grays all states in that FSM too.

Has an option been added somewhere?
I'm not used to this bizarre behavior.