mofr / Diablerie

Diablo 2 reimplementation on unity
MIT License
933 stars 212 forks source link

MissingReferenceException: The object of type 'SpriteRenderer' has been destroyed but you are still trying to access it. #86

Open mofr opened 4 years ago

mofr commented 4 years ago

It happens right after selecting the character in the main menu.

Agiofobia commented 1 year ago

There must be a code reference to the SpriteRenderer such as a GetComponent<SpriteRenderer>(). Or you might be trying to access It with an animation

mofr commented 1 year ago

Yeah, something like this, but I didn't find exactly back in the time. Thank you

Agiofobia commented 1 year ago

I just realized this project is from 2019 :D