Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with unloading payloads with UsdSkel bindings #2820

Closed
JamesPedFoundry opened this issue Nov 20, 2023 · 3 comments
Closed

Issues with unloading payloads with UsdSkel bindings #2820

JamesPedFoundry opened this issue Nov 20, 2023 · 3 comments
Labels
blocked Issue fix or pull request blocked until questions are answered or pending notes are addressed

Comments

@JamesPedFoundry
Copy link

Description of Issue

Caches in UsdImaging are not correctly disconnected between UsdSkelRoot's and their bound Mesh prims.

This causes issues when unloading payloads which contain UsdSkel assets, or assets UsdSkel is bound to. Causes the error:

Used expired 'Mesh' prim
or
ERROR: Usdview encountered an error while rendering.Used expired 'Mesh' prim </HumanFemale_Group/HumanFemale/Body_sbdv> - UsdExpiredPrimAccessError thrown: -> Usd_ThrowExpiredPrimAccessError at [sic: path\to]\primData.cpp:283

The viewer then appears to crash and render black. We have been able to via more explicit loading/unloading steps to avoid the crashing to black, but its very unstable, and sometimes can cause the Mesh Prims to disappear and not return until restarted.

Steps to Reproduce

  1. Load UsdView with the HumanFemale.walk.usd example provided by Pixar:
    https://openusd.org/release/dl_usdskel_examples.html
  2. Unload via the right click context menu the /root/HumanFemale_Group/HumanFemale

System Information (OS, Hardware)

Windows NVIDIA A2000
Linux Rocky 9 NVIDIA P2000
Linux CentOS 7.6 NVIDIA P2000

Package Versions

USD 23.05
USD 23.11

Build Flags

--usdview --usd-imaging --alembic --python

@jesschimein
Copy link
Contributor

Filed as internal issue #USD-8971

@clach
Copy link
Contributor

clach commented Jul 9, 2024

Hi @JamesPedFoundry, I was unable to repro this issue in either release or dev. Is this something you're still seeing, and if so, can you provide any more details about reproducing?

@jesschimein jesschimein added the blocked Issue fix or pull request blocked until questions are answered or pending notes are addressed label Jul 9, 2024
@jesschimein
Copy link
Contributor

Hi @JamesPedFoundry ! We're closing this for now since we can't reproduce it, but feel free to file a new issue if you run into this again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Issue fix or pull request blocked until questions are answered or pending notes are addressed
Projects
None yet
Development

No branches or pull requests

3 participants