Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ryanjnauman

Pages: [1]
1
It turns out that the trail renderer's autodestruct option was on. This was the problem. Even with that component unchecked, it was still destroying my sprite. Only after I removed the trail renderer or unchecked autodestruct did things go back to normal. I would never have seen this if you didn't mention autodestruct. Thanks!

2
I created a tk2dspriteanimator that I am moving around the screen. I added a trail renderer component to it which works fine until after I've moved my sprite and then stopped moving. It throws MissingReferenceException: The object of type 'tk2dSpriteAnimator' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.

I'm new so if this is obvious I'm not sure. Any ideas?

Pages: [1]