Skip to content

Conversation

@roggiezhang-nv
Copy link
Contributor

Description of Change(s)

Removing animation prim with visiblity update to UsdSkelRoot may cause crash to hydra code.

Link to proposal (if applicable)

Fixes Issue(s)

Checklist

@roggiezhang-nv roggiezhang-nv changed the title Defensive check for UsdSkel_SkelAnimationQueryImp to avoid crash NVIDIA: Defensive check for UsdSkel_SkelAnimationQueryImp to avoid crash Feb 25, 2025
@roggiezhang-nv
Copy link
Contributor Author

@nvmkuruc for vis

@jesschimein
Copy link
Collaborator

Filed as internal issue #USD-10701

(This is an automated message. See here for more information.)

@jesschimein
Copy link
Collaborator

/AzurePipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).


// Remove animation and update skelroot's visibility
{
SdfChangeBlock changeBlock;
Copy link
Collaborator

Choose a reason for hiding this comment

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

It's not generally safe to call USD APIs in a SdfChangeBlock context. Is the SdfChangeBlock necessary?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, it isn't. I removed it.

@jesschimein
Copy link
Collaborator

/AzurePipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jesschimein
Copy link
Collaborator

/AzurePipelines run

@pixar-oss pixar-oss closed this in 54c0bea Jun 12, 2025
meshula pushed a commit to meshula/USD that referenced this pull request Sep 11, 2025
Removing animation prim with visiblity update to UsdSkelRoot may cause a crash.

Closes PixarAnimationStudios#3544

(Internal change: 2369232)
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

Successfully merging this pull request may close these issues.

3 participants