- Home /
Move all textures to Textures folder
Hi, Lets say I have 30 objects and each of them have their own folder of textures inside Unity folder hierarchy. I want all textures to be in Textures folder, this way repetitive textures will be overwritten, furthermore this would make project to look much more organised.
The problem is that Unity only allows to move objects if such is not existent in that directory already - textures cannot be overwritten. If i do that trough Windows Explorer, references to textures for models will be lost.
Thank you.
Additional info: Imagine 10 000 textures, and in workflow some of them are imported differently, for example normal map bump intensity. These textures are the same, but in built they will be threaten differently because of metadata difference, therefore unnecessary files are added to the final built project. This is bad for performance and file size being bigger than it should.
Answer by DawidNorasDev · Nov 09, 2018 at 01:25 PM
In my opinion, having folder named "Textures", "Scripts", "Materials" is not called "organised". If you want to delete Car object, you have to check all those folders for assets that are used in Car.
Take a look at adresables, they are part of newest Unity Beta (I think I'm right). It will fix your problem with duplicate assets!
If you won't move .meta files, yes, the references will be lost. But even if you move the .meta, and you had 2 same textures, half of references will still be lost. You could write a tool for it and mess with .meta files, but at this point it's not trivial and I would really consider If it's really needed to be fixed in this way.