playMaker

Author Topic: Playmaker crashes with unity 2021.2.0f1 [SOLVED]  (Read 507 times)

sofianehamza

  • Playmaker Newbie
  • *
  • Posts: 35
Playmaker crashes with unity 2021.2.0f1 [SOLVED]
« on: October 31, 2021, 04:21:02 AM »
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)
HutongGames.PlayMakerEditor.FsmEditorWindow.Initialize () (at Assets/PlayMaker/Editor/FsmEditorWindow.cs:193)
HutongGames.PlayMakerEditor.BaseEditorWindow.OnGUI () (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/BaseEditorWindow.cs:131)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition) (at <12f9706bdb064a6c8a1d1b6f565a0097>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect dockAreaRect) (at <12f9706bdb064a6c8a1d1b6f565a0097>:0)
UnityEditor.DockArea.OldOnGUI () (at <12f9706bdb064a6c8a1d1b6f565a0097>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <0713f2bf9762492888a6ba6ef8e57ae8>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <0713f2bf9762492888a6ba6ef8e57ae8>:0)
UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint () (at <0713f2bf9762492888a6ba6ef8e57ae8>:0)
UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams drawParams, System.Single pixelsPerPoint, System.Exception& immediateException) (at <0713f2bf9762492888a6ba6ef8e57ae8>:0)
Rethrow as ImmediateModeException
UnityEngine.UIElements.UIR.RenderChain.Render () (at <0713f2bf9762492888a6ba6ef8e57ae8>:0)
UnityEngine.UIElements.UIRRepaintUpdater.Update () (at <0713f2bf9762492888a6ba6ef8e57ae8>:0)
UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at <0713f2bf9762492888a6ba6ef8e57ae8>:0)
UnityEngine.UIElements.Panel.UpdateForRepaint () (at <0713f2bf9762492888a6ba6ef8e57ae8>:0)
UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at <0713f2bf9762492888a6ba6ef8e57ae8>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <0713f2bf9762492888a6ba6ef8e57ae8>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <0713f2bf9762492888a6ba6ef8e57ae8>:0)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <0713f2bf9762492888a6ba6ef8e57ae8>:0)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <0713f2bf9762492888a6ba6ef8e57ae8>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <747b78853467428797e4a32ad808a642>:0)
« Last Edit: November 05, 2021, 02:06:44 PM by Alex Chouls »

sofianehamza

  • Playmaker Newbie
  • *
  • Posts: 35
Re: Playmaker crashes with unity 2021.2.0f1
« Reply #1 on: November 03, 2021, 02:20:25 AM »
Any help?  I had to downgrade unity until this issue is resolved

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3964
  • Official Playmaker Support
    • LinkedIn
Re: Playmaker crashes with unity 2021.2.0f1
« Reply #2 on: November 04, 2021, 11:33:39 AM »
I just tried a fresh install in 2021.2.0f1 and didn't get any errors.
Were you updating an existing project? From which version of Unity? You may need to update PlayMaker also: https://hutonggames.fogbugz.com/f/page?W11

sofianehamza

  • Playmaker Newbie
  • *
  • Posts: 35
Re: Playmaker crashes with unity 2021.2.0f1
« Reply #3 on: November 04, 2021, 10:54:45 PM »
Thanks...after removing some third-party assets, it got resolved....only one last thing I wanted to point your attention to ...my global variables got automatically replaced luckily I am using google drive to retrieve lost data.
« Last Edit: November 04, 2021, 11:01:23 PM by sofianehamza »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3964
  • Official Playmaker Support
    • LinkedIn
Re: Playmaker crashes with unity 2021.2.0f1
« Reply #4 on: November 05, 2021, 02:06:31 PM »
Do you remember when the global variables were replaced? Importing PlayMaker shouldn't replace any globals, however deleting PlayMaker/Resources/PlayMakerGlobals.asset will delete all globals in the project!

sofianehamza

  • Playmaker Newbie
  • *
  • Posts: 35
Re: Playmaker crashes with unity 2021.2.0f1 [SOLVED]
« Reply #5 on: November 06, 2021, 11:05:08 AM »
It was right after i installed it