Skip to main content

Backing Up Your Projects

What Prompted This Post:
Over the summer while working on one of my games, Unity 3D released an update which required your project to be "upgraded".It warned me to back up my project, but of course me being the stupid little high-school student I am, didn't even think twice and upgraded the project without any precautions. Upon the re opening of my Unity project, I was in shock. Where as the skeletons for all my prefabs, models, and materials still existed, they were all out of place and not put together. So a prefab of a enemy had the mesh component, but the mesh was not linked to it to render, the material was not linked to be rendered. The attached script was said to be missing (although still existed within my project, just not linked). This existed not only in prefabs but every game object in every scene. I was never able to get back my terrain (although height maps existed) so I had to end up remaking it. The whole process of linking everything back together took a good 4 hours. I ended up re-importing some meshes and re-creating some of the prefabs over. An experience I hope never to repeat.

Why It's Good To Back Up Your Project:
My scenario came out of pure ignorance, but other reasons might not be so ignorant. Sometimes you'll need a piece of code that you've deleted, or you might want to look at a certain way you set up a scene.Maybe you can use one of your older back ups as a template for a new game you'd like to start.

My Method Of Backing Up A Project:
I simply go to where ever all my unity projects are stored (for me the documents folder). You want to back up the entire project, so that means backing up the folder that contains your projects assets, project settings, library, and the rest of the stuff.

All I do is copy my entire project to a zipped folder, rename to the date backed up, and keep it there for later usage.

I back up my project when ever I make substantial progress in it which in return makes me think of all I lost over the summer and back it up. I suggest though backing up your project at least once a week though, which is better practice. Your going to want to stay organized so a method I use is making a separate folder for backups, then a sub folder for project, and within the sub folder holds the history of backups.

Taking Further Measures
I suggest also going at least one step further and backing your projects up on to a separate hard drive off your computer. There is no telling when your computer is going to fail on you being it a virus, or actual physical harm to it. Then again can't your separate hard drive be ruined also? If you haven't heard of Dropbox yet, you might want to look into it. The site gives you 2 GB of free storage on a cloud upon sign up. Having backed up on the internet frees you of the risk of loosing anything. Backing up to a separate source makes it easier when switching to a new computer.

Hope this makes you want to start backing up if  you haven't already began!

Comments

  1. Unity BackupProject: http://u3d.as/content/yaroslav-petrichka/backup-project

    ReplyDelete

Post a Comment

Popular posts from this blog

How To Make a Hellish Looking Sky Box

I came across this problem while constructing my scene of Hell in a little project I've been working on, and could not find a reasonable sky box on the web for what I want. Maybe I was not looking hard enough, but I ended up making nice substitute. If you think the sky box looks familiar, then your right. The Sky box I'm using is already packaged with Unity3D! To import the sky boxes Unity has made for you,  simply go to Assets>Import Package>Skyboxes.  The sky boxes will appear in your projects tab under a folder named "Standard Assets". To make this sky box, first you must find the folder containing all the sky box materials and open it up. In it will be a list of sky boxes for your disposal. To get this skybox, I decided to tweak the "StarryNight Skybox" (But the "MoonShine Skybox" looks pretty cool also!).  Select the sky box and view it under the inspector tab. Underneath the properties there will be a tint color variable allowin

Making A Laser Pointer

Want a frieking lazer pointer? BOOM. Attach a Line Renderer component to the object you have the script below attached to. (Component> Miscellaneous>Line Renderer) Code: function Update () { var lineRenderer : LineRenderer = GetComponent(LineRenderer); lineRenderer.useWorldSpace = false; lineRenderer.SetVertexCount(2); var hit : RaycastHit; Physics.Raycast(transform.position,transform.forward,hit); if(hit.collider){ lineRenderer.SetPosition(1,Vector3(0,0,hit.distance)); } else{ lineRenderer.SetPosition(1,Vector3(0,0,5000)); } } @script RequireComponent(LineRenderer) Thank  3dDude for the script. Original Source here .

How To Make A Gun Shot Sound (SFX On Unity 3D)

When it comes to audio in Unity, there are four components: Audio Clip , Audio Source , Audio Listener , and Audio Re-verb Zone . Audio Clips are the actual audio file imported into your game. Unity supports file formats: .aif, .wav, .mp3, and .ogg. When imported, you can compress them greatly, with the price of loosing some quality. You can do this by first selecting the audio clip, view it in the inspector. Under the Audio Importer component, you can switch the audio format from Native to the audio clip, to a compressed format applied by Unity. You can change how compressed the file is by dragging the bar at the bottom, then hitting apply. You can get plenty of free good SFX from a site called  freesound.org . All you have to do is create an account for free , and download all the sounds you want. I found a nice gun shot sound here . Simply download and load into your Project. Audio Source actually plays the audio clip in your scene. They are an component, so it mu