Question by
zadeh79 · Oct 09, 2019 at 12:14 AM ·
object-reference-error
Object reference not set to an instance of an object AFTER I create a new scene
Every time I create a new scene, I get the error "Object reference not set to an instance of an object". I then have to delete my spritesheet/animation and create them again, and it works fine. Can someone please tell me why I keep getting this error after creating a new scene? Thanks.
Comment
We dont know how is your elements referenced... a prefab? a object in scene? by inspector? by code?..
INFO!
Your answer
![](https://koobas.hobune.stream/wayback/20220612213156im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
NullReferenceException: Object reference not set to an instance of an object 2 Answers
null reference on this code 1 Answer
Object reference not set to an instance of an object 0 Answers
Game objects do not appear on random iOS phones with random OS versions 0 Answers
How can I fix this error? 0 Answers