playMaker

Author Topic: Error "object reference not set to an instance of an object"[SOLVED]  (Read 4650 times)

weilies

  • Junior Playmaker
  • **
  • Posts: 74
I am getting
Quote
NullReferenceException: Object reference not set to an instance of an object
iTweenFSMEvents.iTweenOnStart (Int32 aniTweenID) (at Assets/PlayMaker/Include/iTweenFSMEvents.cs:15)
UnityEngine.GameObject:SendMessage(String, Object, SendMessageOptions)
iTween:CallBack(String) (at Assets/iTween/iTween.cs:7042)
iTween:TweenStart() (at Assets/iTween/iTween.cs:4585)
<Start>c__Iterator7:MoveNext() (at Assets/iTween/iTween.cs:6546)

when i try to perform iTween Move To action
« Last Edit: August 03, 2015, 03:06:30 PM by jeanfabre »


weilies

  • Junior Playmaker
  • **
  • Posts: 74
Re: Error "object reference not set to an instance of an object"
« Reply #2 on: February 25, 2015, 04:36:16 AM »
http://hutonggames.com/playmakerforum/index.php?topic=6735.0
Uncheck 'Loop don't finish', Same error

http://hutonggames.com/playmakerforum/index.php?topic=9572.0
After deleted Asset\iTween folder, it generated compile errors
Assets/PlayMaker/Actions/iTween/iTweenLookFrom.cs(30,24): error CS0246: The type or namespace name `iTween' could not be found. Are you missing a using directive or an assembly reference?

:(

Actually it was a working project and a mins ago, i remember i upgraded NGUI and it  happened. i am currently using

could the error caused by an upgrade of NGUI?
« Last Edit: February 25, 2015, 04:39:26 AM by weilies »

Fahrettin

  • Junior Playmaker
  • **
  • Posts: 62
  • Noob
Re: Error "object reference not set to an instance of an object"
« Reply #3 on: February 25, 2015, 04:53:59 AM »
After deleted Asset\iTween folder did you import iTween again from Playmaker Asset ?

NGUI can be problem i dont know because i didnt used it. This happened me when i updated iTween from asset store. After problem i deleted all iTween files from my project folder and imported it from Playmaker asset. That fixed my problem.

weilies

  • Junior Playmaker
  • **
  • Posts: 74
Re: Error "object reference not set to an instance of an object"
« Reply #4 on: February 25, 2015, 05:05:15 AM »
it generates different error now

Fahrettin

  • Junior Playmaker
  • **
  • Posts: 62
  • Noob
Re: Error "object reference not set to an instance of an object"
« Reply #5 on: February 25, 2015, 05:21:04 AM »
I dont know why do you get Photon error. I have never used it.
Can you check your Gameobject from Inspector tab if it has any empty iTween scripts. I had problem like that.

weilies

  • Junior Playmaker
  • **
  • Posts: 74
Re: Error "object reference not set to an instance of an object"
« Reply #6 on: February 25, 2015, 05:39:26 AM »
Thanks Fahrettin,

i have no idea why itween components added to several of my GameObject...
it work correctly after remove the component.

Fahrettin

  • Junior Playmaker
  • **
  • Posts: 62
  • Noob
Re: Error "object reference not set to an instance of an object"
« Reply #7 on: February 25, 2015, 05:45:24 AM »
Np weilies :)