Skip to content

Use new resolver release 1.1.0 as default #115

Open
tadeas-hejnic wants to merge 6 commits into
developfrom
114-update-to-latest-resolver-release
Open

Use new resolver release 1.1.0 as default #115
tadeas-hejnic wants to merge 6 commits into
developfrom
114-update-to-latest-resolver-release

Conversation

@tadeas-hejnic
Copy link
Copy Markdown
Contributor

@tadeas-hejnic tadeas-hejnic commented Apr 13, 2026

Changelog Description

Use new ayon-usd-resolver release with remapping feature and backwards compatibility.

Testing notes:

  1. Launch DCC with new resolver release.

@tadeas-hejnic tadeas-hejnic linked an issue Apr 13, 2026 that may be closed by this pull request
@tadeas-hejnic tadeas-hejnic self-assigned this Apr 13, 2026
@tadeas-hejnic tadeas-hejnic added the type: enhancement Improvement of existing functionality or minor addition label Apr 13, 2026
Copy link
Copy Markdown
Member

@BigRoy BigRoy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm getting this when launching the launcher:

*** WRN: >>> { TrayAddonsManager }: [ Addon "usd" crashed on `tray_start`. ] 
==============================
No AyonUsdBin/usd item found for current platform 'windows' on LakeFS server: lakefs://ayon-usd/v1.1.0. All LakeFS repository items found: []
==============================
Traceback (most recent call last):
  File "C:\roydev\dev\ayon-core\client\ayon_core\tools\tray\ui\addons_manager.py", line 202, in start_addons
    addon.tray_start()
  File "C:\roydev\dev\ayon-usd\client\ayon_usd\addon.py", line 48, in tray_start
    self._download_global_lakefs_binaries()
  File "C:\roydev\dev\ayon-usd\client\ayon_usd\addon.py", line 83, in _download_global_lakefs_binaries
    if not utils.is_usd_lib_download_needed(settings):
  File "C:\roydev\dev\ayon-usd\client\ayon_usd\utils.py", line 68, in is_usd_lib_download_needed
    lake_fs_usd_lib_path = config.get_lakefs_usdlib_path(settings)
  File "C:\roydev\dev\ayon-usd\client\ayon_usd\config.py", line 64, in get_lakefs_usdlib_path
    usd_lib_conf = get_lakefs_usdlib_name(lake_fs_repo)
  File "C:\roydev\dev\ayon-usd\client\ayon_usd\config.py", line 54, in get_lakefs_usdlib_name
    raise RuntimeError(
RuntimeError: No AyonUsdBin/usd item found for current platform 'windows' on LakeFS server: lakefs://ayon-usd/v1.1.0. All LakeFS repository items found: []

Can we avoid that error message?

And when launching Maya 2026 I get:

Image Image

The resolver also doesn't seem to resolve for me on Houdini 21.0.512

Copy link
Copy Markdown
Member

@MustafaJafar MustafaJafar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works in Houdini 21.0.596
Well, resolving works, but rendering locally fails. error log is on discord.

And doesn't work in Maya.

@BigRoy
Copy link
Copy Markdown
Member

BigRoy commented May 13, 2026

Still getting same errors in Maya (2026) like reported above. @tadeas-hejnic what's needed to make this the new default and fix that?
Also Maya 2027 has been released. We should likely try and include that in the build matrix if we haven't yet.

@BigRoy
Copy link
Copy Markdown
Member

BigRoy commented May 19, 2026

Regarding the Maya 2026 error, you need to add "MULTI_USD_VERSION": "0.25.5" to the app envs for maya 2026. See also AYON docs.

Anyway, I still think we should fix the standalone USD Libs not being available error so it'll nicely skip that one without errors if no available build found on server?

@tadeas-hejnic
Copy link
Copy Markdown
Contributor Author

Regarding the Maya 2026 error, you need to add "MULTI_USD_VERSION": "0.25.5" to the app envs for maya 2026. See also AYON docs.

Anyway, I still think we should fix the standalone USD Libs not being available error so it'll nicely skip that one without errors if no available build found on server?

I have just pushed the changes to disable the auto download of unnecessary USD libs.

@tadeas-hejnic
Copy link
Copy Markdown
Contributor Author

I have changed the default settings to the very latest release v1.1.2 with important fixes of errors during houdini exit and also the python bindings.

Comment thread client/ayon_usd/utils.py

"""
# currently there is no need to download usd libs
return False
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of returning False here shouldn't we just on tray_start() not call the download method to begin with? No need to log anything if we're hardcoding it to 'not download it' anyway?

Copy link
Copy Markdown
Member

@BigRoy BigRoy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good to me - except for the disabling of the global usd libs. I feel we're doing it too late and still keep logging about it. We should just disable it, as early as we can and stop calling related logic to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: enhancement Improvement of existing functionality or minor addition

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update to latest resolver release

4 participants