Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Nikaas

Pages: [1]
I have a class RectCheck that derives from ScriptableObject.
In an FSM there is FSMObject variable that links to RectCheck asset file.
In an action, I try to cast FSMObject.Value to RectCheck and get the error.
In another FSM exactly the same action with exactly the same asset file linked through FSMObject variable and there all works.
unity 2017.2 PM 1.8.9 , the action is attached

The full exception is:
InvalidCastException: Cannot cast from source type to destination type.
Pixelhalf.CustomPlayMaker.Actions.IsWithinHorizontalRange.TryEvent () (at Assets/AssetsPlugs/PlayMaker/My Actions/IsWithinHorizontalRange.cs:88)
Pixelhalf.CustomPlayMaker.Actions.IsWithinHorizontalRange.OnUpdate () (at Assets/AssetsPlugs/PlayMaker/My Actions/IsWithinHorizontalRange.cs:67)
HutongGames.PlayMaker.FsmState.OnUpdate () (at C:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:265)
HutongGames.PlayMaker.Fsm.UpdateState (HutongGames.PlayMaker.FsmState state) (at C:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2710)
HutongGames.PlayMaker.Fsm.Update () (at C:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1934)
PlayMakerFSM.Update () (at C:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:539)

The selected FSM disappears in the PM tab after the tab is restored from a maximized state. Additionally the keyboard shortcut for maximize doesn't work with the PM tab when there is a FSM in the PM tab (it works when PM tab doesn't have FSM in it).
Unity 2017.2, PM 1.8.5

There was a problem with maximizing some time ago -

When Playmaker's tab is de-maximized the selected FSM disappears as if no playmaker fsm component exists on the game object. To show the FSM  again the game object must be deselected and selected again.

State machine variables doesn't seem to revert back to initial values at the end of playmode - this happens in the scene object and more strangely in its prefab too. The var change must be during action's Awake().

Some time ago me and another guy reported a bug here. But the bug is still present in the new version.

Any chance for a download link with the fixed file only?


Up until today I was with PM1.8.0 beta. Today I downloaded the new (1.8.1) version and ran update checker. But after it warned that this version now includes a lot of the actions I downloaded from the site/ecosystem i decided to full wipe everything Playmaker and install it afresh. (if i remember correctly after 1.8.1 import the welcome screen no longer worked correctly - it showed only the border of the window without any content).

After a full wipe and clean import of Playmaker the installation dropdown menu doesn't show and i got error - Assets/PlayMaker/Editor/PlayMakerEditorStartup.cs(22,13): error CS0103: The name `PlayMakerGlobals' does not exist in the current context

BTW if I comment line 22 in PlayMakerEditorStartup.cs the dropdown menu/welcome screen shows.

Is there any fix for this problem? And is it ok to install using the workaround?

Pages: [1]