Everything works fine when the game starts, but when I, for example, go from Main Game screen to Pause screen and back again, textures, prefabs, etc are missing from the scene view. I read about this somewhere, but I can’t remember where. Isn’t there a check you can perform?
all obgets on scene destroys when you switch level. you can save it using DontDestroyOnLoad() method or makin satic classes