Playmaker Forum

Playmaker Help & Tips => iOS Help => Topic started by: artixpro on February 22, 2017, 12:43:17 AM

Title: Xcode error Enable Behaviour Action
Post by: artixpro 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!
Title: Re: Xcode error Enable Behaviour Action
Post by: artixpro 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?
Title: Re: Xcode error Enable Behaviour Action
Post by: jeanfabre 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