I’m looking for an elegant solution to provide a Primary AssetResolver iff another Primary AR hasn’t been provided.
I’d initially expected this to be linked to the plugin search path order but, looking at resolver.cpp
(and specifically _GetAvailableResolvers()
) it appears registered resolvers are always sorted by typeName
(with ArDefaultResolver
then added at the end) and then the first one is used?
I’m hoping this doesn’t mean I should be naming my resolver zzzzz_ARFallback
The only other control I found for this is at the application level via ArSetPreferredResolver
but that’s not quite what I’m after either.