- Home /
Prevent OnPostprocessAllAssets being called multiple times
The documentation says about AssetPostprocessor.OnPostprocessAllAssets(..)
This is called after importing of any number of assets is complete (when the Assets progress bar has reached the end).
But I see it being called multiple times in the middle of that annoying "Hold On - Importing [small] assets" phase that happens after updating my workspace. How can I make it stop? Is there a way to query if the editor is still importing assets? I'm fine with hacky workarounds like deferring the execution of what I need to do in OnPostprocessAllAssets
to when the editor is idle.
Your answer

Follow this Question
Related Questions
AssetPostprocessor - OnPostprocess* asset not in the AssetDatabase yet 0 Answers
How do you add extra sub-assets into an asset while importing? 0 Answers
Canceling an Asset import in an AssetPostProcessor 1 Answer
Why are certain script variable values set in the AssetPostprocessor being lost? 1 Answer