Quantcast
Channel: Answers for "The object of type 'Rigidbody' has been destroyed but you are still trying to access it."
Browsing latest articles
Browse All 4 View Live

Answer by Bunny83

Instantiate will **return** the object it instantiates. You overwrite your original prefab reference with your instance. When this instance get destroyed you don't have any source object you can...

View Article



Answer by drak0

I don't have experiente with C# but from what I see, you are trying to acces the same object that you destroy in the Projectile script.Try this : declare a new variable to hold a reference of the...

View Article
Browsing latest articles
Browse All 4 View Live


Latest Images