Once in a while, I want to adapt my AssetPostprocessor for textures, so it automates the process of importing textures in new folders. I use the GetVersion method and increase the version by one when I'm done.The problem is, whenever I do this, everything get's reimported. Even though 99% of the textures already in the project are not going to change at all, because they've been imported once.
Is it possible to skip already imported textures? Maybe a solution by which I can tell the TextureImporter for each texture if it should be reimported or not. Like an else case where I just say skip. Once the script fully ran I would not increase the version number once more and just remove that code.
Is something like that possible? Running the importer only on new files?
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
3 People are following this question.
Override texture import path
Assigning UV Map to model at runtime
best texture quality
Texture doesn't show up on mesh ?
Imported Model Texture is seen from one side only