The plugin in question works just fine when using the CRM web front end.
However, when I am doing a data import from a previously exported and edited xml file, the plugin seems to be ignored. I have tried registering the steps as both synchronous and asynchronous but I cannot get the plugin to be triggered when I do a Data Import.
It is not a problem with context.Depth, the plugin is never called at all so it doesn't even get to check the context.Depth.
Is there some server setting or some other reason why a plugin would simply be ignored when doing a data import?
Edit
Should mention that the plugin is currently deployed to disk (for debugging) if that affects anything.