playMaker

Author Topic: Playmaker 1.9.4 null reference to 1.9.1  (Read 585 times)

adrian

  • Junior Playmaker
  • **
  • Posts: 52
Playmaker 1.9.4 null reference to 1.9.1
« on: January 18, 2022, 08:06:08 AM »
Hi,

We've had a new team member start on PC (we are on Mac) 2021.2.4 and playmaker 1.9.4.

He is encountering this and we are not using the folder mentioned at all, so we are at a loss as to where this null is coming from and how to fix it, any help greatly appreciated. Have already tried a fresh install

Code: [Select]
NullReferenceException: Object reference not set to an instance of an object
HutongGames.PlayMaker.Fsm.DeduceDataVersion () (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1774)
HutongGames.PlayMaker.Fsm.FixDataVersion () (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1764)
HutongGames.PlayMaker.Fsm.InitData () (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1923)
PlayMakerFSM.OnAfterDeserialize () (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:934)

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Playmaker 1.9.4 null reference to 1.9.1
« Reply #1 on: January 18, 2022, 09:05:25 AM »
Hi.
you can try to reimport all (Assets/Reimport All)
it might take a while depending on the project size.

Then if that did not help, try Update All Fsms (Playmaker/Tools)

Are you using some kind of version control (like Github)
If so you might need to add some addition ignore directories to it.

If not you should look into version control, especially when you work on the same project with multiple people.

adrian

  • Junior Playmaker
  • **
  • Posts: 52
Re: Playmaker 1.9.4 null reference to 1.9.1
« Reply #2 on: January 18, 2022, 10:18:25 AM »
Hi Djaydino,

We are using git yes, turns out needed to reinstall playmaker and delete library folder, something went wrong with pulled version, will investigate gitignore, thanks!