Setting Package import location

Unity3d Dev’s, I would like to have the ability to change the location of where packages are installed when first importing them in the editor. Example, Asset\Building\houses or Asset\Landscaping\Trees. So that things can be organised so I don’t have to drop and drag everything to those folders that i created.

Hi @Cowboy124aa ,

Please let me explain a little bit of Unity’s terminology in order for you to be aware if you’re asking the right question :slight_smile:

In Unity, Packages are groups of assets that can be included to add more functionality to your app or game.

These packages are usually managed by the Package Manager.

If you want to change the location where such packages are located, you can do it by writing the specific location inside of the ‘dependencies’ property of the ‘Project manifest’ of your project.

You can find more information about how to do it here: Unity - Manual: Project manifest

On the other hand, if what you want is to have an “automatic” organization of your custom assets (and maybe even changing the default import settings), you can do it by using the public methods of the ‘AssetPostprocessor’ class.

You can find more information about it here: Unity - Scripting API: AssetPostprocessor

Please feel free to ask more questions if it still not clear enough :wink:

I hope this helps!

1 Like