Omni_usd_resolver pxr-20_08 version does not exist

I’m building a custom connector and need the resolver library so that linked parts get automatically pulled from Nucleus when I load a file. According to the doc page (https://docs.omniverse.nvidia.com/kit/docs/usd_resolver/latest/index.html) there is a “pxr-20_08” flavor of the library, which is exactly what I need because we get that USD version as part of the environment.

Starting from the Connect Sample, I modify target-deps-packman.xml to include this:

<dependency name="omni_usd_resolver" linkPath="../_build/target-deps/omni_usd_resolver">
    <package name="omni_usd_resolver.pxr-20_08.nopy.${platform}" version="1.35.0" />
  </dependency>

Running repo.bat build gives me this error:

ERROR    An error occured while pulling packman dependencies for                         main.py:387
                             `C:/Users/AR3S/AppData/Local/ov/pkg/connectsample-203.1.0/deps/targe
                             t-deps.packman.xml`:
                             Package not found on specified remote servers! (name:
                             omni_usd_resolver.pxr-20_08.nopy.windows-x86_64, version: 1.35.0)

I tried a bunch of different version numbers for the same flavor, but none of them worked.
Can you help me?

Hello @k.lesiak , Thanks for reporting the issue. It seems an error in the doc - I will talk to the team and update the doc.

Following are the pxr no-py versions

  • pxr-22_11-ar2.nopy
  • pxr-23_05.nopy
  • pxr-23_08.nopy

Following are the 20.08 versions

  • nv-20_08.nopy
  • nv-20_08-utf8.py37
  • nv-20_08.py27
  • nv-20_08.py37
  • nv-20_08.py39

and 20.08 no-py version

  • nv-20_08.nopy

other pxr versions

  • pxr-21_08.py37
  • pxr-21_08.py39
  • pxr-21_11.py37
  • pxr-21_11.py39
  • pxr-22_05b-ar2.py37
  • pxr-22_08-ar2.py39
  • pxr-22_08-ar2.py310
  • pxr-22_11-ar2.py39
  • pxr-23_02.py39
  • pxr-23_02.py310
  • pxr-23_05.py310
  • pxr-23_08.py310

Does any of them fit your needs? If you do need pxr-20_08.nopy I will see if the team can build one.

Please let me know if you have more questions,

Wayne

Thanks for your response. :)

What I’m trying to do is to use the resolver library from within our Unity application (runtime, not only editor), and we’re using this package for USD import: USD Experimental Package for Unity | USD | 3.0.0-exp.5
They bundle 20.08 per their docs, so I’d need the resolver library compiled against that? I suppose the nv variant is not going to be binary-compatible with upstream USD, right?

FWIW, I tried using the nv variant even, but ran into plugin loading errors (something about a missing symbol, but didn’t really debug deeply).

If you could build a pxr-20_08.nopy variant for x64 Windows, that would be very helpful.

@walai, have you been able to talk to the team about building that version?

sorry for the late reply, @k.lesiak somehow I missed the notifications.
I will check with the internal team see if we can deploy pxr-20_08.nopy flavor and get back to you asap.

Wayne

1 Like

Hello @k.lesiak
pxr-20_08.nopy build is out there - please give it a try and let us know if you have more questions!

Wayne

1 Like

Thank you very much; the loading errors I mentioned seem to be gone now, so I’ll go on and see if the resolver works in our project.
In case it’s useful to someone else, the only version where I found the package to exist is 1.38.0 (I tried the range from 1.30.0 to 1.40.0).

The plugin does load, but I can’t seem to get it to download stuff from my local Nucleus server; it always resolves to local filesystem paths (which don’t exist if I just download USD file that references others on Nucleus).
Here’s some debug output:

OmniUsdResolver::ResolveWithAssetInfo: Resolved C:/Users/KrzysztofLesiak/AppData/LocalLow/DefaultCompany/OmniverseUnityTest/World_CityDemopack.usd -> C:\Users\KrzysztofLesiak\AppData\LocalLow\DefaultCompany\OmniverseUnityTest\World_CityDemopack.usd
OmniUsdResolver::IsRelativePath: C:/Users/KrzysztofLesiak/AppData/LocalLow/DefaultCompany/OmniverseUnityTest/World_CityDemopack.usd -> false
OmniUsdResolver::BindContext: Bound C:/Users/KrzysztofLesiak/AppData/LocalLow/DefaultCompany/OmniverseUnityTest/World_CityDemopack.usd
OmniUsdResolver::UnbindContext: Unbound C:/Users/KrzysztofLesiak/AppData/LocalLow/DefaultCompany/OmniverseUnityTest/World_CityDemopack.usd
OmniUsdResolver::BindContext: Bound C:/Users/KrzysztofLesiak/AppData/LocalLow/DefaultCompany/OmniverseUnityTest/World_CityDemopack.usd
OmniUsdResolver::UnbindContext: Unbound C:/Users/KrzysztofLesiak/AppData/LocalLow/DefaultCompany/OmniverseUnityTest/World_CityDemopack.usd
OmniUsdResolver::BindContext: Bound C:/Users/KrzysztofLesiak/AppData/LocalLow/DefaultCompany/OmniverseUnityTest/World_CityDemopack.usd
OmniUsdResolver::BindContext: Bound C:/Users/KrzysztofLesiak/AppData/LocalLow/DefaultCompany/OmniverseUnityTest/World_CityDemopack.usd
OmniUsdResolver::UnbindContext: Unbound C:/Users/KrzysztofLesiak/AppData/LocalLow/DefaultCompany/OmniverseUnityTest/World_CityDemopack.usd
OmniUsdResolver::BindContext: Bound C:/Users/KrzysztofLesiak/AppData/LocalLow/DefaultCompany/OmniverseUnityTest/World_CityDemopack.usd
OmniUsdResolver::UnbindContext: Unbound C:/Users/KrzysztofLesiak/AppData/LocalLow/DefaultCompany/OmniverseUnityTest/World_CityDemopack.usd
OmniUsdResolver::BindContext: Bound C:/Users/KrzysztofLesiak/AppData/LocalLow/DefaultCompany/OmniverseUnityTest/World_CityDemopack.usd
OmniUsdResolver::BindContext: Bound C:/Users/KrzysztofLesiak/AppData/LocalLow/DefaultCompany/OmniverseUnityTest/World_CityDemopack.usd
OmniUsdResolver::UnbindContext: Unbound C:/Users/KrzysztofLesiak/AppData/LocalLow/DefaultCompany/OmniverseUnityTest/World_CityDemopack.usd
OmniUsdResolver::UnbindContext: Unbound C:/Users/KrzysztofLesiak/AppData/LocalLow/DefaultCompany/OmniverseUnityTest/World_CityDemopack.usd
OmniUsdResolver::AnchorRelativePath: ./Assemblies/assembly_City.usd -> C:/Users/KrzysztofLesiak/AppData/LocalLow/DefaultCompany/OmniverseUnityTest/Assemblies/assembly_City.usd
OmniUsdResolver::IsSearchPath: ./Assemblies/assembly_City.usd -> false
OmniUsdResolver::UnbindContext: Unbound C:/Users/KrzysztofLesiak/AppData/LocalLow/DefaultCompany/OmniverseUnityTest/World_CityDemopack.usd
OmniUsdResolver::ResolveWithAssetInfo: Resolved C:\Users\KrzysztofLesiak\AppData\LocalLow\DefaultCompany\OmniverseUnityTest\World_CityDemopack.usd -> C:\Users\KrzysztofLesiak\AppData\LocalLow\DefaultCompany\OmniverseUnityTest\World_CityDemopack.usd
OmniUsdResolver::IsRelativePath: C:/Users/KrzysztofLesiak/AppData/LocalLow/DefaultCompany/OmniverseUnityTest/World_CityDemopack.usd -> false
OmniUsdResolver::BindContext: Bound C:/Users/KrzysztofLesiak/AppData/LocalLow/DefaultCompany/OmniverseUnityTest/World_CityDemopack.usd
OmniUsdResolver::UnbindContext: Unbound C:/Users/KrzysztofLesiak/AppData/LocalLow/DefaultCompany/OmniverseUnityTest/World_CityDemopack.usd
OmniUsdResolver::BindContext: Bound C:/Users/KrzysztofLesiak/AppData/LocalLow/DefaultCompany/OmniverseUnityTest/World_CityDemopack.usd
OmniUsdResolver::UnbindContext: Unbound C:/Users/KrzysztofLesiak/AppData/LocalLow/DefaultCompany/OmniverseUnityTest/World_CityDemopack.usd
OmniUsdResolver::BindContext: Bound C:/Users/KrzysztofLesiak/AppData/LocalLow/DefaultCompany/OmniverseUnityTest/World_CityDemopack.usd
OmniUsdResolver::BindContext: Bound C:/Users/KrzysztofLesiak/AppData/LocalLow/DefaultCompany/OmniverseUnityTest/World_CityDemopack.usd
OmniUsdResolver::UnbindContext: Unbound C:/Users/KrzysztofLesiak/AppData/LocalLow/DefaultCompany/OmniverseUnityTest/World_CityDemopack.usd
OmniUsdResolver::BindContext: Bound C:/Users/KrzysztofLesiak/AppData/LocalLow/DefaultCompany/OmniverseUnityTest/World_CityDemopack.usd
OmniUsdResolver::UnbindContext: Unbound C:/Users/KrzysztofLesiak/AppData/LocalLow/DefaultCompany/OmniverseUnityTest/World_CityDemopack.usd
OmniUsdResolver::BindContext: Bound C:/Users/KrzysztofLesiak/AppData/LocalLow/DefaultCompany/OmniverseUnityTest/World_CityDemopack.usd
OmniUsdResolver::UnbindContext: Unbound C:/Users/KrzysztofLesiak/AppData/LocalLow/DefaultCompany/OmniverseUnityTest/World_CityDemopack.usd
OmniUsdResolver::UnbindContext: Unbound C:/Users/KrzysztofLesiak/AppData/LocalLow/DefaultCompany/OmniverseUnityTest/World_CityDemopack.usd
OmniUsdResolver::BindContext: Bound C:/Users/KrzysztofLesiak/AppData/LocalLow/DefaultCompany/OmniverseUnityTest/World_CityDemopack.usd
OmniUsdResolver::AnchorRelativePath: ./Assemblies/assembly_City.usd -> C:/Users/KrzysztofLesiak/AppData/LocalLow/DefaultCompany/OmniverseUnityTest/Assemblies/assembly_City.usd
OmniUsdResolver::IsSearchPath: ./Assemblies/assembly_City.usd -> false
OmniUsdResolver::UnbindContext: Unbound C:/Users/KrzysztofLesiak/AppData/LocalLow/DefaultCompany/OmniverseUnityTest/World_CityDemopack.usd
OmniUsdResolver::BindContext: Bound C:/Users/KrzysztofLesiak/AppData/LocalLow/DefaultCompany/OmniverseUnityTest/World_CityDemopack.usd
OmniUsdResolver::ResolveWithAssetInfo: Resolved C:/Users/KrzysztofLesiak/AppData/LocalLow/DefaultCompany/OmniverseUnityTest/World_CityDemopack.usd -> C:\Users\KrzysztofLesiak\AppData\LocalLow\DefaultCompany\OmniverseUnityTest\World_CityDemopack.usd
OmniUsdResolver::UnbindContext: Unbound C:/Users/KrzysztofLesiak/AppData/LocalLow/DefaultCompany/OmniverseUnityTest/World_CityDemopack.usd

From what I could gather there is no special initialization for the resolver; it’s an ordinary USD plugin that gets loaded when it’s found on the path that plugInfo.json says it’s at.
Loading does work (as the debug output proves), but resolving does not. I did add a call to omniClientAddDefaultSearchPath() with my server’s URL (omniverse://localhost), but that didn’t change anything.

Do you know what might be going wrong here?

Nevermind, I made the mistake of manually downloading a file via omniclient, then passing the filesystem path to UsdStage.Open.
I was able to load an example model after passing an omniverse:// URI directly instead.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.