playMaker

Author Topic: Grayed Editor Window's Inspector at runtime  (Read 1704 times)

Broken Stylus

  • Beta Group
  • Hero Member
  • *
  • Posts: 772
Grayed Editor Window's Inspector at runtime
« on: September 18, 2019, 11: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
« Last Edit: September 20, 2019, 12:19:10 PM by Broken Stylus »

Broken Stylus

  • Beta Group
  • Hero Member
  • *
  • Posts: 772
Re: Grayed Editor Window's Inspector at runtime
« Reply #1 on: September 18, 2019, 11: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.
« Last Edit: September 18, 2019, 12:06:43 PM by Broken Stylus »

Broken Stylus

  • Beta Group
  • Hero Member
  • *
  • Posts: 772
Re: Grayed Editor Window's Inspector at runtime
« Reply #2 on: September 19, 2019, 05: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.

Broken Stylus

  • Beta Group
  • Hero Member
  • *
  • Posts: 772
Re: Grayed Editor Window's Inspector at runtime
« Reply #3 on: September 20, 2019, 12:54:03 PM »
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.

  • It still allows me to click on a reference to a Game Object in a target field.
  • The mouse cursor turns to text cursor over a float value field.
  • The hint about a variable is displayed if I leave the cursor over the var's name.

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.
« Last Edit: September 20, 2019, 01:04:26 PM by Broken Stylus »

Broken Stylus

  • Beta Group
  • Hero Member
  • *
  • Posts: 772
Re: Grayed Editor Window's Inspector at runtime
« Reply #4 on: September 20, 2019, 01:27:01 PM »
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.

Broken Stylus

  • Beta Group
  • Hero Member
  • *
  • Posts: 772
Re: Grayed Editor Window's Inspector at runtime
« Reply #5 on: September 20, 2019, 01:58:35 PM »
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.