Playmaker Forum
Bug Reporting => PlayMaker Bug Reporting => Topic started by: szomaza on December 25, 2018, 11:12:17 AM
-
When copying states from one FSM to another, the transition events those states are using do not appear in the Events list of the 2nd FSM.
The FSM works and the events are used properly but only event which have been created in the FSM show up in the Events panel.
This worked before I am sure, but does not work in version:
Unity 2018.2.7f1
Playmaker 1.9.0.p4
Should I worry about this?
Like could maybe these not displayed events be lost, set to "..." when I update Playmaker the next time?
Should I try to update something to get them displayed/registered properly?
Br,
szomaza
-
Hi,
There is a newer 1.9 version available,
You can update and see if it was solved.
As always, make a backup 1st!
-
OK, I tried updating to Playmaker 1.9.0.p5 but that did not help.
It is also not mentioned in the release notes, so this is OK, nothing unexpected.
Reproduction steps:
1. create game object, add FSM, add an action and create/set some transition events,
good: these new events appear in the events tab of the FSM.
2. select the state with the events and copy it, create a new game object add an FSM and paste the state:
Expected: the transition events show up in the events tab of the new FSM.
BUG: they don't.
-
Hi, thanks for reporting this - I can repro here. Will get a fix into the next update.
-
Thanks for fixing this!
Please answer if this a serious problem or not.
Will the event magically appear with the fixed next update or will they be gone forever?
(Currently everything work even with some event not being displayed in the events tab, they still work.)
As I have no idea what the problem is and how you can fix it, I am wondering: should I continue developing with the Playmaker version which has events missing from the event panel or go back to one where this bug is not present.
-
The event list is more of a convenient place to find events used by your FSM. It should be fine to continue working in the current version. If you want you can manually add the missing events to the Events list. Either way, the FSM should still work as expected.
From my investigation, it seems like the bug only happened when you copy/paste selected states between FSMs. Copy/Pasting FSMs or Templates transfers the events properly.
-
Hi.
I can confirm that it only happens when copy/paste selected states between FSMs.
-
Thanks, it's all good, working properly again in Playmaker 1.9.0.p6.