playMaker

Author Topic: itween NullReferenceException error[SOLVED]  (Read 5781 times)

gerasimimumu

  • Playmaker Newbie
  • *
  • Posts: 15
itween NullReferenceException error[SOLVED]
« on: March 19, 2014, 10:20:07 PM »
Hi,

When I test my GUI system, i use iTween move add to go from one GUI window to another

I keep getting this error:

NullReferenceException: Object reference not set to an instance of an object
iTween.RetrieveArgs () (at Assets/iTween/iTween.cs:6788)
iTween.Awake () (at Assets/iTween/iTween.cs:6538)
UnityEngine.Object:Instantiate(Object, Vector3, Quaternion)
HutongGames.PlayMaker.Actions.CreateObject:OnEnter() (at Assets/PlayMaker/Actions/CreateObject.cs:83)
HutongGames.PlayMaker.FsmState:ActivateActions(Int32)
HutongGames.PlayMaker.FsmState:OnEnter()
HutongGames.PlayMaker.Fsm:EnterState(FsmState)

Apart from these pop ups, my game is running fine and I don't see any visible issues.  I have 8 GUI screens that the iTween moves me between, and as I hop around, I can accumulate about 20-30 of these warnings, since most of my GUI uses the same type of setup



Thx,

G
« Last Edit: April 11, 2014, 07:49:34 AM by jeanfabre »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: NullReferenceException error
« Reply #1 on: April 08, 2014, 08:12:19 AM »
Hi,

 uncheck "loop don't finish", I think this is the issue. If not, let me know, I encountered this, but can't remember exactly. I'll look it up if it's not this. I remember something with an itween argument that can not be set to null or something.

bye,

 Jean

gerasimimumu

  • Playmaker Newbie
  • *
  • Posts: 15
Re: NullReferenceException error
« Reply #2 on: April 08, 2014, 10:23:20 AM »
thx!   Works!