playMaker

Author Topic: Enum Variable isn't using given value in template during runtime.  (Read 2070 times)

craigz

  • Beta Group
  • Full Member
  • *
  • Posts: 234
    • Haven Made
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:



Runtime:



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.



-craigz

PM 1.9.0p5
Unity 2017.3.1f1




Eclipsed

  • Playmaker Newbie
  • *
  • Posts: 7
Re: Enum Variable isn't using given value in template during runtime.
« Reply #1 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?

craigz

  • Beta Group
  • Full Member
  • *
  • Posts: 234
    • Haven Made
Re: Enum Variable isn't using given value in template during runtime.
« Reply #2 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

😬