playMaker

Author Topic: Enum Value resets when set as Template input  (Read 265 times)

Maxi

  • Playmaker Newbie
  • *
  • Posts: 41
Enum Value resets when set as Template input
« on: January 17, 2024, 08:43:32 AM »
Hi,

there is actually already a Forum post describing this problem, however I decided to start a new post because that entry is over 4 years old:

https://hutonggames.com/playmakerforum/index.php?topic=21687.0

When setting an Enum value as input when using Run FSM, the value is always set to the first entry when the template is run, regardless of input setting. I have encountered one thing that does not seem to be the case in the original post:

When checking the variable at runtime instead of a value it reads:
SerializedProperty is null!

I just learned about Enums so maybe I am doing something wrong?
I am using Unity 2022.3.14f and Playmaker 1.9.7

Thanks!