@Sergey Thanks very much for the additional info! I indeed must have misunderstood this part of the Unity discussion thread, that it also affects OnPostprocessAllAssets
.
It's a pity that effectively "Everything is allowed in this callback" seems to translate to "It doesn't explode, but some calls will no longer have the expected side-effects and you need to call experimental undocumented functions to write your assets to the artifacts directory, then hope it also gets imported and also written to the target Assets directory." This is not exactly great design and documentation on the Unity API front.