playMaker

Author Topic: PlayerMaker Array Doesn't Work With Unity 2018.2  (Read 433 times)

KillerCreeper

  • Playmaker Newbie
  • *
  • Posts: 40
    • View Profile
PlayerMaker Array Doesn't Work With Unity 2018.2
« on: August 13, 2018, 11:45:34 AM »
I've tried using "Mouse Pick 2d Event" and every time I play, I get this error:

NullReferenceException: Object reference not set to an instance of an object
HutongGames.PlayMaker.Actions.MousePick2dEvent.DoRaycast () (at Assets/PlayMaker/Actions/Physics2D/MousePick2dEvent.cs:103)
HutongGames.PlayMaker.Actions.MousePick2dEvent.DoMousePickEvent () (at Assets/PlayMaker/Actions/Physics2D/MousePick2dEvent.cs:68)
HutongGames.PlayMaker.Actions.MousePick2dEvent.OnEnter () (at Assets/PlayMaker/Actions/Physics2D/MousePick2dEvent.cs:51)
HutongGames.PlayMaker.FsmState.ActivateActions (Int32 startIndex) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:205)
HutongGames.PlayMaker.FsmState.OnEnter () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:175)
HutongGames.PlayMaker.Fsm.EnterState (HutongGames.PlayMaker.FsmState state) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2767)
HutongGames.PlayMaker.Fsm.SwitchState (HutongGames.PlayMaker.FsmState toState) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2714)
HutongGames.PlayMaker.Fsm.UpdateStateChanges () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2642)
HutongGames.PlayMaker.Fsm.Start () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1925)
PlayMakerFSM.Start () (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:548)

KillerCreeper

  • Playmaker Newbie
  • *
  • Posts: 40
    • View Profile
Re: PlayerMaker Array Doesn't Work With Unity 2018.2
« Reply #1 on: August 13, 2018, 01:35:45 PM »
I am guessing to fix this problem is to download an older version of Unity..

blackant

  • Sr. Member
  • ****
  • Posts: 416
  • http://blackantmaster.com
    • View Profile
    • blackantmaster.com
Re: PlayerMaker Array Doesn't Work With Unity 2018.2
« Reply #2 on: August 14, 2018, 09:46:49 AM »
did you correctly set your code ?

i got same of error while i was trying to acces something that was not assigned to my variable.

krmko

  • Beta Group
  • Hero Member
  • *
  • Posts: 987
    • View Profile
    • Fat Pug Studio
Re: PlayerMaker Array Doesn't Work With Unity 2018.2
« Reply #3 on: August 14, 2018, 11:03:21 AM »
Why don't you use arraymaker? It works fine in 2018.2.