Playmaker Forum

Bug Reporting => PlayMaker Bug Reporting => Topic started by: craigz on January 07, 2019, 04:18:50 PM

Title: Enum Variable isn't using given value in template during runtime.
Post by: craigz on January 07, 2019, 04:18:50 PM
Hello!

I have an odd issue that I'm currently trying to repro with a NEW enum variable.

Currently during runtime, a template that I'm using multiple times in an FSM (that's also nested/template) has an exposed enum variable that's getting set to the first/default value.

Editor:

(https://i.imgur.com/10gPv5x.png)

Runtime:

(https://i.imgur.com/qWj96BH.png)

Things I've Tried:
- recreating Run FSM action and setting the variable again did not fix it
- if I made an enum variable IN the template, and set it to what I want, then assign that variable to the exposed Run FSM inspector variable, it worked.

(https://i.imgur.com/Swwo0LO.png)

-craigz

PM 1.9.0p5
Unity 2017.3.1f1



Title: Re: Enum Variable isn't using given value in template during runtime.
Post by: Eclipsed on November 25, 2019, 09:45:07 AM
Hi, having the same problem here, with Unity 2018.4.5f1 and 2018.4.12f1, playmaker 1.9.0.p5

As far as I've understood it struggles to apply the enum overrides when setting up the fsm template used in the RunFsm action.

Any more info?
Title: Re: Enum Variable isn't using given value in template during runtime.
Post by: craigz on November 27, 2019, 06:03:51 PM
Agreed, I'm also still having this issue and have instead just not been using them (not great solution because of how useful they are...) though I am on 1.9.p19

😬