Hello,
I have a project using Playmaker 1.90 and tried to update Unity from 2020.1.11 to 2021.3.9 and after the update whenever I try to open an FSM in the editor I get this exception:
TypeLoadException: Could not resolve type with token 010000a3 from typeref (expected class 'UnityEditor.Experimental.SceneManagement.PrefabStage' in assembly 'UnityEditor, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null')
HutongGames.PlayMakerEditor.MainToolbar.DoPrefabTypeGUI () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/MainToolbar.cs:167)
HutongGames.PlayMakerEditor.MainToolbar.OnGUI () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/MainToolbar.cs:26)
HutongGames.PlayMakerEditor.FsmEditor.OnGUI () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmEditor.cs:609)
HutongGames.PlayMakerEditor.FsmEditorWindow.DoGUI () (at Assets/PlayMaker/Editor/FsmEditorWindow.cs:136)
HutongGames.PlayMakerEditor.BaseEditorWindow.OnGUI () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/BaseEditorWindow.cs:117)
This makes it impossible to edit the FSMs and is a blocking issue. If I run the game it appears that the FSMs are working correctly.
I have tried these things to try and fix it:
- Reimport Playmaker folder after Unity update
- Update Playmaker to latest after Unity update
- Update Playmaker to latest in 2021 and then do Unity update.
If you can provide any help I'll be very grateful!