Relative Content

Tag Archive for unity-game-engineexceptiongame-developmentunityscript

Need assistance regarding MissingReferenceException – Unity 2D

I am creating a 2D android game where I have 2 scene (named as MainMenu and SampleScene). I have created UI of both scenes however the issue is of missing GameObject references, when I navigate back to the main menu (By pressing pause button –> Home button) from Sample scene and then start the game again (Play button), it keeps asking to reassign the missing values. It is also showing multiple GameObjects in hierarchy with DoNotDestroy method where I can see the “missing values are shown”. Please help me figure out as I have started learning unity 2d a month ago.[[enter image description here](https://i.sstatic.net/bmmMf9vU.png)](https://i.sstatic.net/HDJ3ftOy.png)