Moving and Copying Unity Assets

From Unify Community Wiki
(Difference between revisions)
Jump to: navigation, search
m
Line 1: Line 1:
 
==NEVER use the Finder to move or copy assets.==
 
==NEVER use the Finder to move or copy assets.==
[[Link title]]
 
 
If you want to move or copy assets within a Unity project, do it using the Unity GUI.
 
If you want to move or copy assets within a Unity project, do it using the Unity GUI.
  

Revision as of 17:02, 5 August 2006

NEVER use the Finder to move or copy assets.

If you want to move or copy assets within a Unity project, do it using the Unity GUI.

NEVER use the Finder to move or copy assets.

If you want to move or copy assets between different Unity projects, use "Assets -> export package" and "Assets -> import package."

NEVER use the Finder to move or copy assets.


OTEE Says

  • NEVER copy files in a unity project around using the finder.

Unity stores a lot of meta data with all it's assets. This can be import settings for a texture or maya mb file. Or simply references to other files in the same project. Eg. a material referencing a texture, a prefab referencing a material.

References to other files are not based on path names in unity. This allows you to move files around arbitrarily and things still just work.

This is extremely nice when you have a project which became very messy over time and it is time to clean up. You can rely on that moving files around will just work. And you don't have to wait until your next project to keep your project folders clean and easy to maintain.

The only thing you have to do is, move files around in the unity GUI and not in the finder.


The drawback is, you can't just copy&paste files in the finder from project to project.

So if you want to copy files from one project to another use Assets -> export package and Assets -> import package.

That will copy all the meta data and retain all references to other files.

You can [read more about this] at the Unity forums.

Personal tools
Namespaces

Variants
Actions
Navigation
Extras
Toolbox