code-google-com / itween

Automatically exported from code.google.com/p/itween
0 stars 0 forks source link

Self-Cloning (Instantiating) objects that use iTween throw NullReferenceException #102

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Apply an iTween to an object 
2. Set up a GameObject variable on the prefab referring to itself
3. Instantiate a new copy of the GameObject

What is the expected output?
The newly instantiated object should iTween like the original.

 What do you see instead?
The iTween system fails to work on the Instantiated objects, and throws:
"NullReferenceException: Object reference not set to an instance of an object"
repeatedly.

What version of the product are you using? On what operating system?
iTween 2.0.45.1, Unity 3.5.0f5, Mac OS 10.7.3

Please provide any additional information below.
I modified the MoveSample script into a very basic example of this problem.

Thanks for a great product BTW!

Original issue reported on code.google.com by drakf...@gmail.com on 1 Apr 2012 at 11:49

Attachments:

GoogleCodeExporter commented 9 years ago
I have the same problem

Original comment by petru...@floripa.com.br on 11 Apr 2012 at 6:27

GoogleCodeExporter commented 9 years ago
same problem here

Original comment by rjo...@gmail.com on 30 May 2013 at 3:47