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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

I can only save level once before rebooting. A bug or a feature?

Discussion in 'Editor & General Support' started by Grayhand, Aug 12, 2015.

  1. Grayhand

    Grayhand

    Joined:
    Aug 11, 2015
    Posts:
    11
    I'm relearning Unity after being away for 8 years and I remember back in the old days if you didn't save the level before you hit play you'd loose all your changes. They called it a feature back then but it caused me endless headaches. Well now that I started back on Unity I find after I save a level once it just beeps when I try to save it a second time. Once I restart Unity I can then make changes and save them but then I have to restart Unity to free up the save level. Also now the moment I click to play the game it clears all the unsaved changes, it used to clear them after you ran the game. Not sure if there's a new workflow or it's a bug? I have Unity on my Mac but I just installed it on my PC with the exact same results. None of the tutorials even mention that you have to save a level before you play it and I can't find any reference to this. Am I doing something wrong or is this a really nasty bug? If it's a bug Unity 5 is a brick. If it's a feature I haven't a clue what the workaround is.

    Thanks
     
  2. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    I haven't seen anything like that. There's no need to save a level before playing, and Unity has never worked the way you describe. What does happen is that if you make changes to a scene in play mode, those changes are reverted when you stop play mode. It's not related to saving a scene, though.

    --Eric
     
  3. Grayhand

    Grayhand

    Joined:
    Aug 11, 2015
    Posts:
    11
    Maybe I'm not fully exiting play mode? How do you fully stop it? The only control is for pause there's no stop function. Unfortunately some things like that are considered so basic no one bothers to mention them. That may be why I can't save it's still in play mode.
     
  4. blizzy

    blizzy

    Joined:
    Apr 27, 2014
    Posts:
    775
    Do you use any third-party assets, or does it behave like that in an otherwise empty project? I'd also be interested to see screenshots.
     
  5. Grayhand

    Grayhand

    Joined:
    Aug 11, 2015
    Posts:
    11
    Not sure what I can get screenshots of? It refuses to save and when I go to play everything I did since the last save disappears. I had it happen with no more than a ground plane and a couple of cubes loaded along with the Unity stock player controller, no model just the controller itself. The weird thing is I sent in a bug report and had to open Unity to do it. After I sent the report I tried adding a water feature then tried the save. It didn't give me a warning beep so I hit play and the water item disappeared, it was the first time I hit play so it shouldn't have been in game mode. Funny that everyone else has never heard of it because I have it happening with two different installs on two different machines with two different OSs and it happens every time. Maybe everyone is using an earlier build? I just downloaded it two weeks ago. I guess I can do a video like a tutorial showing it happen but that's all I can think to do.
     
  6. blizzy

    blizzy

    Joined:
    Apr 27, 2014
    Posts:
    775
    I meant screenshots of the Unity editor. Also, what exact version of Unity are you on?
     
  7. Grayhand

    Grayhand

    Joined:
    Aug 11, 2015
    Posts:
    11
    Okay, I think I was hitting pause instead of hitting the play button a second time. It's needs a square symbol for stop. Normally with players you don't hit the play button a second time for stop. Like I said it was so basic no one bothered to mention it in tutorials. It's obvious if you know it but I'm still trying to get up to speed with Unity and every software I know you either hit a black square or pause to stop playing.

    Oh well, thanks everyone.
     
    blizzy likes this.