playMaker

Author Topic: RunFSM Event Output not selectable (v1.9.1.f7) [FIXED]  (Read 1500 times)

LordHorusNL

  • Beta Group
  • Full Member
  • *
  • Posts: 226
RunFSM Event Output not selectable (v1.9.1.f7) [FIXED]
« on: January 18, 2021, 06:15:34 PM »
I cant seem to be able to select any events that are exposed as "output" in templates when using the Run FSM action.

The event is visible on the Run FSM action however when selecting the event via the dropdown menu and releasing the mouse it just stays blank. Anybody else having this problem?

Unity 2020.2.1f1
PM 1.9.1.f7
« Last Edit: January 29, 2021, 12:22:02 PM by Alex Chouls »

Gua

  • Beta Group
  • Sr. Member
  • *
  • Posts: 309
    • Andrii Vintsevych
Re: RunFSM Event Output not selectable (v1.9.1.f7)
« Reply #1 on: January 19, 2021, 06:58:06 AM »
It works for me (Unity 2018.4.30)


LordHorusNL

  • Beta Group
  • Full Member
  • *
  • Posts: 226
Re: RunFSM Event Output not selectable (v1.9.1.f7)
« Reply #2 on: January 19, 2021, 08:06:27 AM »
Yeah I figured the problem was probably related to Unity 2020.

I've also been having the error message on Run FSM that you show in the beginning of the video, so that seems to occur across multiple versions.

Thanks for making the video.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: RunFSM Event Output not selectable (v1.9.1.f7)
« Reply #3 on: January 19, 2021, 12:43:54 PM »
I'll investigate these issues - thanks for reporting them!

EDIT: Can you copy the UI error to the clipboard and paste here? Thanks!
« Last Edit: January 19, 2021, 12:47:01 PM by Alex Chouls »

LordHorusNL

  • Beta Group
  • Full Member
  • *
  • Posts: 226
Re: RunFSM Event Output not selectable (v1.9.1.f7)
« Reply #4 on: January 19, 2021, 01:18:37 PM »
Here's the UI error from 2020.2 Alex, it seems to happen for various reasons on my end and not just related to the output of actions although that does seem to trigger it more often. It also happens sometimes when entering a template and going back to the parent FSM in the editor.

Code: [Select]
System.ArgumentNullException: Value cannot be null.
Parameter name: key
  at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008] in <9577ac7a62ef43179789031239ba8798>:0
  at System.Collections.Generic.Dictionary`2[TKey,TValue].TryGetValue (TKey key, TValue& value) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0
  at HutongGames.PlayMaker.FsmEvent.GetFsmEvent (HutongGames.PlayMaker.FsmEvent fsmEvent) [0x00011] in C:\Projects\Playmaker_1.9.1\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\FsmEvent.cs:475
  at HutongGames.PlayMaker.FsmEventMapping.Init () [0x00011] in C:\Projects\Playmaker_1.9.1\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\CustomActionTypes\FsmEventMapping.cs:29
  at HutongGames.PlayMaker.FsmTemplateControl.InitOverrides () [0x001c6] in C:\Projects\Playmaker_1.9.1\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\CustomActionTypes\FsmTemplateControl.cs:389
  at HutongGames.PlayMaker.FsmTemplateControl.Init () [0x00009] in C:\Projects\Playmaker_1.9.1\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\CustomActionTypes\FsmTemplateControl.cs:324
  at FsmTemplateControlEditor.Init () [0x00000] in C:\Projects\Playmaker_1.9.1\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\CustomActionTypes\Editor\FsmTemplateControlEditor.cs:65
  at FsmTemplateControlEditor..ctor (HutongGames.PlayMaker.FsmTemplateControl fsmTemplateControl) [0x0002b] in C:\Projects\Playmaker_1.9.1\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\CustomActionTypes\Editor\FsmTemplateControlEditor.cs:60
  at FsmTemplateControlEditor.GetEditor (HutongGames.PlayMaker.FsmTemplateControl fsmTemplateControl) [0x0000f] in C:\Projects\Playmaker_1.9.1\Projects\Playmaker.source.unity\Assets\PlayMaker\Classes\CustomActionTypes\Editor\FsmTemplateControlEditor.cs:40
  at HutongGames.PlayMakerEditor.ActionEditor.EditFsmTemplateControl (System.Object fieldValue) [0x00010] in C:\Projects\Playmaker_1.9.1\Projects\Playmaker.source.unity\Assets\PlayMaker\Editor\Classes\ActionEditor.cs:1966
  at HutongGames.PlayMakerEditor.ActionEditor.GUIForFieldTypes (System.String labelText, System.Type type, System.Object fieldValue, System.Object[] attributes) [0x00194] in C:\Projects\Playmaker_1.9.1\Projects\Playmaker.source.unity\Assets\PlayMaker\Editor\Classes\ActionEditor.cs:979
  at HutongGames.PlayMakerEditor.ActionEditor.EditField (System.Object obj, System.Reflection.FieldInfo field, System.String labelText, System.Type fieldType, System.Object fieldValue, System.Object[] attributes) [0x0000c] in C:\Projects\Playmaker_1.9.1\Projects\Playmaker.source.unity\Assets\PlayMaker\Editor\Classes\ActionEditor.cs:620

Unity 2020.2.1f1
PM 1.9.1.f7
« Last Edit: January 19, 2021, 01:58:38 PM by djaydino »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: RunFSM Event Output not selectable (v1.9.1.f7)
« Reply #5 on: January 19, 2021, 03:29:49 PM »
Thanks! I'm able to repro here. Fix will be in the next update.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: RunFSM Event Output not selectable (v1.9.1.f7)
« Reply #6 on: January 19, 2021, 04:14:44 PM »
I uploaded a 1.9.1.p1 build to the beta group for testing.
It should fix this issue!

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: RunFSM Event Output not selectable (v1.9.1.f7) [FIXED]
« Reply #7 on: January 29, 2021, 12:22:34 PM »
This should be fixed in 1.9.1p1.