playMaker

Author Topic: [SOLVED] Error from 2021.1 to .2  (Read 1020 times)

miguelfanclub

  • Full Member
  • ***
  • Posts: 165
[SOLVED] Error from 2021.1 to .2
« 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)
« Last Edit: December 21, 2021, 04:06:57 PM by Alex Chouls »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Error from 2021.1 to .2
« Reply #1 on: December 18, 2021, 08:55:20 AM »
Hi.
Have you updated to the latest playmaker version?

miguelfanclub

  • Full Member
  • ***
  • Posts: 165
Re: Error from 2021.1 to .2
« Reply #2 on: December 18, 2021, 11:37:36 AM »
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.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Error from 2021.1 to .2
« Reply #3 on: December 19, 2021, 10:18:10 AM »
Hi.
I will ping Alex

Do you have the error as well on a clean project?

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: Error from 2021.1 to .2
« Reply #4 on: December 19, 2021, 08:51:26 PM »
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.

miguelfanclub

  • Full Member
  • ***
  • Posts: 165
Re: Error from 2021.1 to .2
« Reply #5 on: December 20, 2021, 03:10:51 PM »
Yes, that solved the problem. Thanks!