- Home /
Package Import with Postprocessor - How to tell when all assets are imported
I'm importing a large package, and I need to do an operation after the entire package has been imported, but the postprocessor is called multiple times, each time with different portions of the package.
Is there any way to prevent this partial importing, or to detect that there are un-imported assets?
Answer by originalNarf · Jan 11, 2014 at 12:54 AM
I haven't found a way to do either of these things, but if you use the command line -importPackage
option and nothing else, Unity will complete the import and exit. Then I can start it up again and do whatever I was going to do, and I know I've imported the whole thing.
Your answer
![](https://koobas.hobune.stream/wayback/20220613130010im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Why does asset import fail? 0 Answers
How to add and remove installed packages more easily? E.g. Google Admob. Package control in Unity? 0 Answers
How to update import settings for newly created asset during OnPostprocessAllAssets 3 Answers
AssetPostprocessor reference to asset being processed? 1 Answer