playMaker

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

artixpro

  • Playmaker Newbie
  • *
  • Posts: 4
    • View Profile
Xcode error Enable Behaviour Action
« on: February 22, 2017, 12: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!

artixpro

  • Playmaker Newbie
  • *
  • Posts: 4
    • View Profile
Re: Xcode error Enable Behaviour Action
« Reply #1 on: February 22, 2017, 04: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?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12351
  • Official Playmaker Support
    • View Profile
Re: Xcode error Enable Behaviour Action
« Reply #2 on: February 23, 2017, 05: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