playMaker

Author Topic: Xcode error Enable Behaviour Action  (Read 2774 times)

artixpro

  • Playmaker Newbie
  • *
  • Posts: 18
    • Funtyx
Xcode error Enable Behaviour Action
« on: February 22, 2017, 02:43:17 AM »
Good afternoon! I encountered the following error:

ArgumentException: Type cannot be null.
  at UnityEngine.GameObject.GetComponent (System.Type type) [0x00000] in <filename unknown>:0
  at HutongGames.PlayMaker.Actions.EnableBehaviour.OnEnter () [0x00000] in <filename unknown>:0
  at HutongGames.PlayMaker.Actions.RunFSM.CheckIfFinished () [0x00000] in <filename unknown>:0
  at HutongGames.PlayMaker.FsmState.ActivateActions (Int32 startIndex) [0x00000] in <filename unknown>:0
  at HutongGames.PlayMaker.FsmState.OnEnter () [0x00000] in <filename unknown>:0
  at HutongGames.PlayMaker.Fsm.UpdateStateChanges () [0x00000] in <filename unknown>:0
 
(Filename: currently not available on il2cpp Line: -1)




The method of disabling actions, I found out that the following error occurs when you call the "Enable Behaviour".

Any thoughts on this subject. Thank you in advance!
Jungle Town "Birthday Quest" | funtyx.com

artixpro

  • Playmaker Newbie
  • *
  • Posts: 18
    • Funtyx
Re: Xcode error Enable Behaviour Action
« Reply #1 on: February 22, 2017, 06:19:26 AM »
Now it turned out that there was an error on EdgeCollider2d, if you choose PolygonCollider2d then everything is fine.

What could it be?
Jungle Town "Birthday Quest" | funtyx.com

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Xcode error Enable Behaviour Action
« Reply #2 on: February 23, 2017, 07:23:42 AM »
Hi,

 odd indeed. I guess this would be something a linker.xml entry would help with. But if you found a way around then fine.


 Bye,

 Jean