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

Hydra instance categories broken with nested instanceable references #2002

Closed
dleex opened this issue Aug 21, 2022 · 2 comments
Closed

Hydra instance categories broken with nested instanceable references #2002

dleex opened this issue Aug 21, 2022 · 2 comments

Comments

@dleex
Copy link

dleex commented Aug 21, 2022

Description of Issue

HdSceneDelegate::GetInstanceCategories() returns wrong number of entries (and seemingly bogus data when lightlinking is present) when used with nested instanceable references.

Steps to Reproduce

  1. Sublayer and render using provided .usda file
  2. In Sync() of the inner prototype mesh, invoke HdSceneDelegate::GetInstanceCategories(), and note that the number of entries of the returned array is different from the actual number of instances. (the instance mapping from HdSceneDelegate::GetInstanceIndices() will map to out of bounds)

Package Versions

Reproducible in 22.05 (haven't tested other versions)

instancecategories.zip

@dleex
Copy link
Author

dleex commented Aug 21, 2022

Happens in 21.08 as well.

@dleex dleex closed this as completed Aug 21, 2022
@dleex dleex reopened this Aug 21, 2022
@sunyab
Copy link
Contributor

sunyab commented Aug 25, 2022

Filed as internal issue #USD-7579

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants