- Home /
How to properly backup a project?
I backedup a project (or so I thought) by copying the entire project folder, and zipping it. When I loaded it up on another computer, it loaded all the assets, but the hierarchy was empty. So how do you get it to save the entire project?
Answer by Eric5h5 · Aug 28, 2012 at 02:31 AM
Just copy the project folder. The hierarchy was probably empty because you didn't load any scene.
@Eric5h5 Ah, yea. I did that but now terrain is like weird now. It doesnt have the same detail, there were mountains and they are now like one big one.
Edit: Okay I take that back, I thoght maybe the zip compression was doing it, but my other computer sucks so much it just wasnt showing up yet. Does zip compression hurt a project?
Zip compression is lossless, otherwise it would corrupt everything and it wouldn't work. A Unity project is not like a photo or song where you can remove information with lossy compression and still have it resemble the original. As for the terrain, zoom in more. It uses LOD so that distant parts show less detail.
Thanks for helping me, problem solved, now to try and get rid of those pesky errors.. lol
Answer by awwadawwad803 · Sep 07, 2019 at 06:05 AM
You can export a package like this: Assets > Export package
Then save this package any where you want.
In case you want it to restore this backup: 1- Create a new project. 2- Import the package: Assets > Import Package > Custom Package. Then navigate to where you saved the package and do import it.
That is it. :)
Answer by Kryptos · Aug 28, 2012 at 08:10 AM
You need to copy at least the same files as when using version control systems. Note that the doc says that it is a pro-version only, but since Unity 3.5 meta files are also available with the free version. There is a dedicated topic on Answers: Version control workflow.
To speed things up, you can also copy the Library/ folders. If you don't, asset database, cache and preview will be recomputed (which can take a lot of time).
Answer by astracat111 · Mar 10, 2018 at 02:52 PM
You make a copy of the project settings folder and the assets folder. Unity builds the rest when loading a project back up.
Hi all, I am having problems with backing up my projects. It is taking 3 - 4 hours to copy my complete project folder including everything inside so I tried just to copy the Assets and the Project Settings folder as said which takes the time down to about 5 $$anonymous$$s but when I open the project via the scene file it opens up in unity and does not have any assets in the folder with the hierarchy showing all prefabs as missing. PLEASE HELP!
Answer by Yanger_Xiaoying · Aug 28, 2012 at 08:49 AM
1,Creating an empty gameobject and name it as "Parent" or any others what you like. 2,Put all the other gameobjects as Parent's children.("Parent" is the gameobject we create at step 1). 3,Drag Parent to the Project window to create a prefab. 4,Select the prefab we created at step 3 and right click your mouse,then selecting Export To Package... That's all.
PS:You can export the scenes at the same time to ensure that the settings in the scene won't lost.
If you want to use the backup. Just Create a new Project, and import the package.Then drag the prefab to Hierarchy window.
If you don't like this way, you can use version control software just as bpears answered, i am using SVN(subversion) which is an open source version control software.
Wish i could help you
You don't need to parent everything to create a package (just select everything you need). This solution seems unpracticable for big projects with thousands of objects and assets.
This will not properly back up a project. There are various project settings that do not get exported with packages, such as layer names and so on. Also, it's far more complicated than just copying the project folder. Exporting packages is a useful thing, but it's not a substitute for a project backup at all.
Yeah, you are right.Thank you. we often export some packages that has nothing to do with Project settings, such as layer, tag etc.And we backup our project with SVN.