playMaker

Author Topic: "Get Event Properties" not receiving enum value  (Read 2762 times)

DanielWicht

  • Playmaker Newbie
  • *
  • Posts: 6
    • my game
"Get Event Properties" not receiving enum value
« on: August 07, 2023, 04:42:55 AM »
I can't seem to receive an enum value by using "Set Event Properties" and then "Get Event Properties". All other kinds of variable types seem fine. Is that a known issue?

Playmaker v 1.9.7.
Unity 2021.3.23f1

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7623
    • jinxtergames
Re: "Get Event Properties" not receiving enum value
« Reply #1 on: August 07, 2023, 04:44:30 PM »
Hi.
maybe you can convert the enum(index) to an int instead

DanielWicht

  • Playmaker Newbie
  • *
  • Posts: 6
    • my game
Re: "Get Event Properties" not receiving enum value
« Reply #2 on: August 10, 2023, 04:32:28 AM »
thank you. yes i can totally work around this issue. in my case i converted enums to strings.

but i still wanted to share this issue because it seems to be a feature not working :)

Broken Stylus

  • Beta Group
  • Hero Member
  • *
  • Posts: 784
Re: "Get Event Properties" not receiving enum value
« Reply #3 on: February 23, 2024, 10:10:19 AM »
A long time ago a project had an issue that some data attached to events was getting lost and not received by other FSMs waiting for the data.
I solved this the first time by using "set properties" instead.
When the bug appeared for some of the events using properties, cutting a rather larger FSM into smaller pieces solved the issue.

It seems that PM doesn't handle well event related operations coming in big waves from a single source (FSM).