playMaker

Author Topic: Errors when importing Mecanim package for PlayMaker 1.8 / Unity 5.3  (Read 1761 times)

Desoro

  • Playmaker Newbie
  • *
  • Posts: 1
First off, I am using Unity 5.3 and PlayMaker 1.8.

Step 1: When important just the base PlayMaker 1.8 package, my console remains clear with no errors.

Step 2: When I install the Mecanim addon package I receive these two errors:

Assets/PlayMaker Animator/Scripts/PlayMakerAnimatorStateSynchronization.cs(106,49): error CS0103: The name `SwitchState' does not exist in the current context

Assets/PlayMaker Animator/Scripts/PlayMakerAnimatorStateSynchronization.cs(119,49): error CS0103: The name `SwitchState' does not exist in the current context

How can I resolve this? I opened the problematic script in Visual Studio and the "Quick fix" was to add this at the end of the script:

private void SwitchState(Fsm fsm, FsmState _fsmState)
    {
        throw new NotImplementedException();
    }

The console errors went away but I have my doubts that was viable fix.
« Last Edit: May 03, 2016, 03:47:23 AM by Desoro »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Sorry about that, there does seem to be an error in that download.

Maybe Jean has fixed this on the Ecosystem, but hasn't updated the download package yet...

Anyway, I've attached a fix, but Jean need to review this since it's his baby :)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Hi,

 Yeah, thanks for spotting this. It's updated now, simply updated from the Ecosystem.

Bye,

 Jean