Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Shizane on March 24, 2022, 10:56:32 AM

Title: Playmaker FSM's no long work [SOLVED]
Post by: Shizane on March 24, 2022, 10:56:32 AM
So I migrated my project from Mac to PC. Everything was working great with Playmaker but then for some reason I now get errors on all my scripts in the Hierarchy. The only files I copied over were the Assets, Project Settings and Packages

Value of name 'On/Off' was not found
System.Reflection.MethodBase:Invoke (object,object[])
HutongGames.PlayMaker.Actions.CallMethod:DoMethodCall () (at Assets/PlayMaker/Actions/ScriptControl/CallMethod.cs:125)
HutongGames.PlayMaker.Actions.CallMethod:OnEnter () (at Assets/PlayMaker/Actions/ScriptControl/CallMethod.cs:66)
HutongGames.PlayMaker.FsmState:ActivateActions (int) (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:222)
HutongGames.PlayMaker.FsmState:OnEnter () (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:192)
HutongGames.PlayMaker.Fsm:EnterState (HutongGames.PlayMaker.FsmState) (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:3073)
HutongGames.PlayMaker.Fsm:SwitchState (HutongGames.PlayMaker.FsmState) (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:3012)
HutongGames.PlayMaker.Fsm:UpdateStateChanges () (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2945)
HutongGames.PlayMaker.Fsm:Start () (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2169)
PlayMakerFSM:Start () (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:595)

Do they need to be recompiled for PC or is that even a thing?

Thanks.
Title: Re: Playmaker FSM's no long work
Post by: djaydino on March 24, 2022, 11:50:43 AM
Hi.
You might want to try to do Asset/Reimport all
Title: Re: Playmaker FSM's no long work
Post by: Shizane on March 24, 2022, 12:05:54 PM
Thanks for the reply, I actually came back on to say that i fixed it by just reimporting PM and recompiling my shadergraphs that it was trying to call.

Thanks!