Entire scene disappears after a few seconds

Just like the title says, when I play my scene, everything dissappears after a few seconds, every game object and tile on the map is gone. All my code is simple stuff for moving the player and keeping the camera tied to the player game object, no animations yet and culling type on everything is set to everything. I’m very new to unity and haven’t a clue why this is happening.


It was a very stupid mistake, it hit me while I was driving home from work. I set the camera controller script to keep the camera bound to the xyz position of the player, but that would put everything on the same z coord. I simply set the transform.position.z to -10 to keep it above the player and it’s fixed.