Hi guys
I was working on a Unity project for a long time, saved the scene, and saved the project. I managed to find an old Unity package that contained the same scene and name (it was the same project from weeks ago), opened it up, and it opened it up in my new project, and I can’t get my new scene with the same name back. Really frustrating. Is this a feature of Unity (whereby these things are tightly linked?). I’ve been noticing that there seems to be this constant sync between files for a while now and it worried me, but it’s only now I’ve gotten bitten.
Any way I can turn this feature off? I wish I could save my project at different stages and know that that file will be untouched, like I can do with my projects in Blender. One .blend file is one piece and wont be touched unless you explicitly go in there, change it and save it…
Managed to my scene back using a restore previous version in windows (phew!) but it would still be good to better understand how Unity deals with files. My projects feel very vulnerable!
To state in another way.
I feel that if I make changes to a scene in Unity, and even if I don’t save those changes or save my project, - if I close down Unity and re-open it, it has logged and saved those changes.
Another example, - I downloaded a script from the Unity asset store for camera movement and had this in multiple projects. One day I opened up an old project and I was getting a error on the script. I couldn’t figure out why. I went to the asset store to try re-downloading the package and re-installing the script but the developers had pulled it. Is it possible they changed their code their end somehow and this got pushed to scripts that people are using?
Third, a question, - if I want to make a big change within a project to test it out, eg a new script for camera movement, how can I implement this? Ie. how can I save a version of my project, then modify it without altering the initial project so that I can get back to this without worrying that I’ve created a whole great deal of problems. Initially I thought I could save out my project as a package, but it seems that as soon as I bring an old package back into Unity, if there have been any changes made to it it will take on those new changes automatically…
Thanks
T
For Testing and getting back old / save version of your Project i would recommend a source control management tool.
They are free and save a lot of time and frustration.
Im currently using mercurial : http://mercurial.selenic.com/
1 Like
That’s great knowledge, hadn’t even heard of that. I found a good read on how to set it up here. I feel like I’m learning 100 things already and I don’t have a computing background, is the learning curve steep?
Are you able to help me understand how/ why Unity is able to delve into other projects and it would seem across my system to alter files?
And how a change within a project is ‘saved’ without me ever hitting save project or save scene?
T