- Home /
Put assets from asset store in sub folder
My project is getting really messy from all different assets imported from asset store:
Assets
- AssetX
- Scenes
- AssetY
- Prefabs
- Sprites
- AssetZ
- etc
really annoying
I with to put it like this
Assets
- Scenes
- Prefabs
- Sprites
- External
-- AssetX
-- AssetY
-- AssetZ
- etc
Doesn't seem to be possible to import them like this, and simply moving them causes lots of different errors.
It depends on the assets. $$anonymous$$ost assets can be moved into subfolders no problem while some must be placed under root (why, I don't know). I don't know if it's possible to detect a package extract to handle the directory differently, but I suggest Unity leaves it with the developers to manage their folder structure so nothing breaks. Would be nice if there was that general rule, that the root must work everywhere.
Answer by Joe-Censored · Apr 10, 2017 at 08:45 PM
Moving around assets to different folders can break assets depending on how the asset references other files. Once you've fixed any issues in code or otherwise for each asset you move, you also run into the long term problem of what to do when an asset is updated on the store. Updating is not nearly as clean if you've moved the asset, and you'll have to repeat any fixes you did the first time with the new updated asset.
That's why I take the reverse approach. I put all my stuff in just a few folders, and leave the root of the assets folder to be the wasteland of everything I imported that it is. YMMV
Answer by tanoshimi · Apr 08, 2017 at 09:47 PM
It's generally considered best practice to import any assets from the store first into a blank project. From there, you can rearrange the folder structure, remove any demo scenes or other unneeded files, and then make a "clean" export to bring the assets into your main project.
Ok, good input. But doesn't the same issue remain? I mean even if I rearrange the assets in the blank project some will still stop working? Typically I got a lot of errors when moving around Playmaker. Has anyone successfully moved playmaker to another location?
Answer by porrasm · Jun 08, 2019 at 06:46 PM
This is really annoying and breaks the workflow. I usually just do this:
-Assets
-MyAssets
-Scenes
-Materials
-etc...
-AssetStoreAsset1
-AssetStoreAsset2
...