Unity How to Upload a Project to the Cloud

When working on a project in Unity, you may want to move it to some other reckoner or a different folder location.

Maybe you lot're looking for a elementary way to back up your work, or maybe y'all just want to work on it from dissimilar calculator than you lot started on.

Perhaps you want to duplicate the unabridged projection in the aforementioned location so that you can piece of work on 2 versions at one time…

Whatever the reason, while it is a very elementary task there are a couple of tips to keep in mind that volition brand moving or copying a Unity project much easier.

So… what'due south the all-time style to move a Unity project to a new location?

The right way to movement or duplicate a Unity project is by copying the entire folder to the new location, making sure to enable 'Visible Meta Files' in the Projection Settings first. Information technology also helps to remove the Library and Temp folders when moving the project, as these tin can be very big and are non required, every bit Unity will rebuild them automatically.

This is different to exporting a Unity Package, which does not include project-wide settings and packet manager dependencies. Moving a projection by copying the folder is the best method for moving an entire project to a new location without breaking it.

In this article I'll be exploring each pace in particular, as well every bit a few tips to make moving your project a picayune easier.

Here'due south what you'll find on this folio:

How to move a Unity Project step by step

  1. Enable Visible Meta Files
  2. Delete the Library and Temp folders (optional)
  3. Compress the folder to a Zip file (optional)
  4. Copy the project folder to the new location
  5. Add the project to Unity Hub

Visible Meta Files Option in Unity

The Version Control pick in Projection Settings allows you to brand hidden meta files visible. A must when using version control software.

Got to Edit > Project Settings and select the Editor Tab.

Detect the Version Control Mode and, if it's non already, set it to Visible Meta Files.

How to change the Version Command in Unity 2020 and upwards

In Unity 2020, you'll find this option in the Version Control tab of the project settings, not the Editor tab.

Why should you lot enable Visible Meta Files in Unity?

In Unity every asset has hidden meta data that is used to make and maintain references between script variables, game objects and assets. This meta data is stored in .meta files which are created by Unity when you import avails.

These meta files are hidden by default and, while Unity does non need to be visible to use them, other software may do. Enabling Visible Meta Files only makes certain that they are included when the project is moved or copied.

Unity Meta Files

Normally hidden, Unity's meta files are used to maintain references between objects and assets.

This prevents the subconscious references from being recreated, overwritten, or duplicated which can cause broken connections and errors. This is especially important if using version control software or when accessing the same project from multiple locations.

The good news is that, while researching for this article, I wasn't able to deliberately break a project by keeping the meta files subconscious, so information technology's unlikely that missing out this footstep volition cause y'all many issues in most scenarios.

However,

As information technology's such an easy stride, and because it tin potentially protect your entire project from breaking when you move it, it's good practice to set them to visible anyway.

2. Delete the Library and Temp folders from the projection directory (optional)

Delete Library and Temp folders in Unity

Deleting the Library and Temp folders can assistance to bring the size of the project downward before moving it.

This footstep is optional and simply applies if you wish to move a Unity project to a unlike reckoner.

Open up File Explorer (Windows) or Finder (Mac) to find your Unity Project.

Unless you lot've changed the default location for new projects, y'all'll discover your projection in your Documents folder under Unity Projects.

If you tin't find your project binder and so open upwardly the Unity Hub, find your project in the listing and select 'Show in Explorer'.

Once you've found your project folder, copy the entire directory to a new location (your desktop for case).

Open the copy and delete the Library folder and the Temp binder (if at that place is one) from the directory.

Why should you delete the Library and Temp folders?

Yous don't take to delete these folders.

The reason that you may want to, however, is to reduce the size of the directory before you lot motion it.

For case, to test this method I moved a pocket-sized project which, when zipped, was 180 MB in size with the Library folder included.

By removing the Library folder first, information technology was only 25MB.

Removing the Library and Temp folders can massively reduce the size of the folder temporarily. This is ideal if yous want to fit it on a small USB stick or share information technology online.

Then, when you lot open up the project copy, Unity will rebuild the Library folder in the new location, restoring it to its original size.

Why brand a copy of projection directory first?

How to copy a Unity project to your desktop.

Copying the projection to a unlike folder starting time lets you lot remove the unnecessary Library and Temp folders without damaging your projection.

It is safe to remove the Library and Temp folders from the original project directory equally Unity will simply rebuild them when y'all next open the project.

Withal,

For the time information technology takes to brand a re-create of the projection first, it'south much safer to practice it this fashion. Equally deleting the incorrect folder by mistake could break your project.

3. Compress the folder to a Nada file (optional)

How to Compress and move a Unity Project

Unity projects, even small ones, have thousands of files. Zipping the directory makes the project easier and quicker to move.

This step is optional. It's most relevant if you wish to upload a Unity Project using cloud storage, such every bit Dropbox.

When you're ready to move your project, it's fourth dimension to Zero the project folder.

Right Click on the root folder, which is named after your project, and select Transport To > Compressed (Zipped) Folder (Windows) or Shrink (Mac).

Why should y'all Zip the project folder offset?

You don't have to Naught the project folder to move it.

However…

A Unity project, even a small one, may include many thousands of files.

And while this may non cause y'all any issues when moving a projection locally, it can touch operation when uploading and downloading and then many individual files. Something you may have noticed if you lot've ever created a new projection (even a completely empty 1) within of a Dropbox binder.

For instance,

It took 1m 33s to upload my test projection which, although minor, included almost 10,000 individual files.

To upload the same project when zipped, only took 40 seconds.

And while the fourth dimension savings in my example are small, it's likely that your projection is much larger and much more complex.

Zipping the folder makes it easier to manage and quicker to move.

iv. Copy the project folder to the new location

Moving a Unity Project to a new folder (visualisation)

Movement the copied project folder to the Unity Projects folder on the target estimator.

Lastly, paste the directory, or extract the zipped project binder, to the new location.

How to create a indistinguishable Unity Projection in the aforementioned location

If you lot're not moving the projection to a new location, and all you want to do is create a working duplicate in the same folder as the original projection, here's how to practice it.

  1. Enable Visible Meta Files simply ignore steps two and iii.
  2. Duplicate the project folder within the Unity Projects directory.
  3. Rename the new folder as y'all like.
  4. Add the new project copy to Unity Hub (see below).

5. Add together the projection to Unity Hub

Add a new project to the Unity Hub

Click Add to add the new location to your Unity Hub after you lot've moved it.

If you're using Unity Hub you lot'll demand to add together your, now moved, project to the list of Projects in your dashboard.

Simply open up Unity Hub, click Add and select the new projection directory.

At this point you may as well want to make sure that you have the same version of Unity installed as the source project (if moving the project to a new organisation).

If you lot don't, you can download a specific version of Unity, (including older versions) from Unity'southward download annal.

You can now open the project equally normal.

How to remove a project from Unity Hub

If you're no longer using the original projection y'all may want to remove it from the Unity Hub projects list.

To do so merely find the project from the list and select Remove from Listing from the dropdown menu on the right hand side.

Unity Hub- Remove Project from List

Removing a project from the Unity Hub does not delete it, but it does tidy upwardly your list.

This will remove the project from the Unity Hub list but information technology will not delete the project binder.

If you desire to exercise that, you lot tin simply delete the project folder manually from the Unity Projects folder.

Now I want to hear from you lot

If y'all've been working in Unity, chances are you've had to move your Unity project at some point.

What happened?

Were you lot able to movement the projection without breaking it?

And if something did go incorrect, what do you wish you had known beforehand that would help someone else right at present?

Whatever it is, let me know by leaving a comment below.

Epitome Attribution

  • Icons made past Freepik from www.flaticon.com
  • Unity Logo © Unity Technologies

Get Game Development Tips, Straight to Your inbox

Get helpful tips & tricks and master game development basics the easy manner, with deep-dive tutorials and guides.

My favourite time-saving Unity assets

Rewired (the best input management system)

Rewired is an input management asset that extends Unity's default input system, the Input Managing director, calculation much needed improvements and back up for mod devices. Put simply, it's much more advanced than the default Input Manager and more reliable than Unity'due south new Input Organisation. When I tested both systems, I plant Rewired to be surprisingly like shooting fish in a barrel to utilise and fully featured, so I can understand why anybody loves information technology.

DOTween Pro (should be built into Unity)

An nugget so useful, it should already be built into Unity. Except it'due south not. DOTween Pro is an animation and timing tool that allows y'all to breathing annihilation in Unity. You can motion, fade, scale, rotate without writing Coroutines or Lerp functions.

Easy Save (there's no reason non to use it)

Piece of cake Save makes managing game saves and file serialization extremely easy in Unity. So much so that, for the time it would take to build a salve organization, vs the cost of ownership Like shooting fish in a barrel Salve, I don't recommend making your own relieve organisation since Easy Save already exists.

speighthatut1957.blogspot.com

Source: https://gamedevbeginner.com/how-to-move-or-copy-a-unity-project-without-breaking-it/

0 Response to "Unity How to Upload a Project to the Cloud"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel