I'm on Houdini 19.0.657 on Windows and I'm trying to make my own USD asset resolver.
The code builds fine and once the plugin file and .dll are installed, I do the following:
From terminal, launch hython and at the prompt:
from pxr import Ar # This is a path that my resolver can handle resolvable_path = "..." Ar.GetResolver().Resolve(resolvable_path)
it works perfectly.
But when in the same session I now do
from pxr import Usd stage = Usd.Stage.Open(resolvable_path)
I get an error "failed to open the layer".
But if I do
stage = Usd.Stage.Open(Ar.GetResolver().Resolve(resolvable_path))
It works.
So I guess I'm confused on how to make this work. It was my understanding that when encountering a path that cannot be resolved, USD would go through its registered plugins looking for one derived from ArResolver and invoke them?
Thank you for any help you can give me.
