- Home /
Where and how are gameobjects stored in files?
So I am trying to fix something and since nobody has given me a response so far, I decided to try a few things myself. The gameobjects in my hieararchy are all gone, including the camera. In order to fix this, I decided that I first need to see whether the gameobjects are actually gone, since the scene has apparently not been edited. To figure this out, I need to know how, and where, gameobjects are stored in Unity, and in what format. If anyone knows, please tell me.
gameobject come in two flavours. as part of a scene or as a prefab that is referenced in a scene.
if part of a scene it's contained in the scene file which is written in YA$$anonymous$$L. if it's a prefab, I don't know, but it should at least show in red in the hierarchy, as part of the YA$$anonymous$$L file, that the prefab is missing.
btw. a downgrade of the unity version completely clears scenes as their not downwards compatible.
oh no. Is it possible to regain the scenes then? Also, I still have my prefabs but all gameobjects in my scene are deleted, with no trace of them whatsoever. no red. nothing, know of any causes, or fixes, to this? unity seems really unstable at the moment.
Did you save? If you saved, it will always save the scene. In that case you would just need to open the scene file it saved. If you didn't save, you're SOL.
Your answer
Follow this Question
Related Questions
Tagging child objects of an FBX 1 Answer
GUI InputHolder checking text from file 0 Answers
Layout group Search bar problem 0 Answers