Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Scene Didn't Save

Discussion in 'Editor & General Support' started by Nanako, Sep 24, 2014.

  1. Nanako

    Nanako

    Joined:
    Sep 24, 2014
    Posts:
    1,047
    So earlier today, after doing lots of work on one of the unity tutorials, i saved the project and turned my pcc off.

    I came back later, loaded up the project and what do i find? nothing, The level i was putting together is just gone, right back to barren empty grey space. I swear i saved the project

    Am i supposed to save scenes individually too? shouldn't the scene be saved if the whole project is ? While i'm here you guys might as well tell me anything else that isn't covered as a part of the project.

    how many things do i need to check and ensure that are saved before i can safely shut down the PC ?
     
  2. Epictickle

    Epictickle

    Joined:
    Aug 12, 2012
    Posts:
    431
    Unfortunately no, it doesn't save the current scene, I don't believe. Everything I import into my project is pretty much automatically saved to the file structure.. I don't even really know the intended purpose of Save Project, but I usually just hit them both just to be on the safe side.
     
  3. Nanako

    Nanako

    Joined:
    Sep 24, 2014
    Posts:
    1,047
    Are you sure it's just both? only project and scene? I don't want to be asking this same question again next week after falling into another pit.
     
  4. Epictickle

    Epictickle

    Joined:
    Aug 12, 2012
    Posts:
    431
    Yeah, every time I hit both Save Scene and Save Project it saves everything.
     
  5. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,491
    CTRL + S does the trick for me.

    Anyway - didn't you get a dialog whether you wish to save your scene when you tried to exit Unity?
     
  6. Nanako

    Nanako

    Joined:
    Sep 24, 2014
    Posts:
    1,047
    I probably would have actually, it's just that in this incidence i was forced to shut down the PC hard. I started baking lightmaps and after a few minutes i realised my case side fan was unplugged internally and the CPU was overheating rapidly. totally my fault :p

    Are you saying that ctrl+s will save both the scene and the project ?
     
  7. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,491
    Yes, Ctrl + S will save everything.
     
  8. Limeoats

    Limeoats

    Joined:
    Aug 6, 2014
    Posts:
    104
    I had the same thing happen to me a few weeks ago. Never made that mistake again.
    I now always click Save Project and Save Scene individually to make sure.
     
  9. branneyp

    branneyp

    Joined:
    Dec 1, 2020
    Posts:
    1
    Just happened to me today, on my first ever project, which I definitely used 'save project' on last night. When I tried 'save' today, I had to name the file. I suspect that 'save project' only works after the scene has already been given a file name - is this how it works?

    [edit] https://docs.unity3d.com/Manual/Saving.html
    • To save all Scene changes and Project-wide changes, go to File > Save (or Save as). This is the fastest way to save everything at once.
    • To save Project-wide changes, but not Scene changes, go to File > Save Project.
     
  10. AR-Campus

    AR-Campus

    Joined:
    Jul 27, 2021
    Posts:
    1
    This is totally random.. Unity is just another pice of sH**... I used all the saves and save as and everything... still the scene is no longer anywhere to be found on disk... the heck?!?
    If it was for me: Unity can go bust... totally useless if the "save" function is not working 100%
     
  11. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,501
    I'm sorry you've had this issue.

    I've been using Unity for 9+ years now and never had Ctrl-S fail to save my scene.

    Please consider using proper industrial-grade source control in order to guard and protect your hard-earned work.

    Personally I use git (completely outside of Unity) because it is free and there are tons of tutorials out there to help you set it up as well as free places to host your repo (BitBucket, Github, Gitlab, etc.).

    As far as configuring Unity to play nice with git, keep this in mind:

    https://forum.unity.com/threads/prefab-links-keep-getting-dumped-on-git-pull.646600/#post-7142306

    Here's how I use git in one of my games, Jetpack Kurt:

    https://forum.unity.com/threads/2-steps-backwards.965048/#post-6282497

    Using fine-grained source control as you work to refine your engineering:

    https://forum.unity.com/threads/whe...grammer-example-in-text.1048739/#post-6783740

    Share/Sharing source code between projects:

    https://forum.unity.com/threads/your-techniques-to-share-code-between-projects.575959/#post-3835837

    Setting up the right .gitignore file:

    https://forum.unity.com/threads/removing-il2cpp_cache-from-project.1084607/#post-6997067

    Generally setting Unity up (includes above .gitignore concepts):

    https://thoughtbot.com/blog/how-to-git-with-unity

    It is only simple economics that you must expend as much effort into backing it up as you feel the work is worth in the first place.
     
  12. AppleseedSmoothie

    AppleseedSmoothie

    Joined:
    Jul 4, 2016
    Posts:
    2
    I had a similar issue too, where I saved a project/scene perfectly normally, Unity didn't crash and when I loaded it up again it was all gone. No explanation at all, really sucks, and nobody has the audacity to help besides just saying use git. Oh I'm sorry that I didn't expect my project wouldn't save, GitHub wouldn't have helped with that mate