Playmaker Forum
PlayMaker News => General Discussion => Topic started by: miguelfanclub on December 18, 2021, 03:36:43 AM
-
I got this from upgrading to 2021.2 from .1
It happens only when opening the playmaker editor window. Builds are working fine.
TypeLoadException: Could not resolve type with token 010000c3 from typeref (expected class 'UnityEditor.Experimental.SceneManagement.PrefabStage' in assembly 'UnityEditor, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null')
HutongGames.PlayMakerEditor.FsmEditor.OnEnable () (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmEditor.cs:558)
-
Hi.
Have you updated to the latest playmaker version?
-
No, project is 1.9.3.f4 and unity 2021.1.
Upgrading to unity to 2021.2 from there triggers the mentioned error. Updating FROM there to latest playmaker version dont solve the problem.
I havent tried upgrading PM first and then jump to 2021.2.
-
Hi.
I will ping Alex
Do you have the error as well on a clean project?
-
In 2021.2 the Unity API Updater should automatically fix this error. Maybe the updater didn't run when you updated the project. Try right-clicking the PlayMaker folder and selecting Reimport.
-
Yes, that solved the problem. Thanks!