The import process follows a specific execution order. By default:
- Import Interfaces (e.g.,
ILDtkImportedFields) are processed first (Priority 0). - Postprocessors (e.g.,
LDtkPostprocessor) are processed second (Priority 1).
All these events invoke at the end of the import process, meaning all GameObjects are fully accessible when they run.
Customizing Order
You can change the execution order by overriding the following methods in your custom classes:
LDtkPostprocessor.GetPostprocessOrderILDtkImported.GetPostprocessOrder
To debug the execution sequence, enable verbose logging in the project Preferences.