Open chrizzFTD opened 3 months ago
Filed as internal issue #USD-9919
There should be no way to misuse the composition arcs or instancing that does not produce error output (eg. introducing a reference cycle), so this surely sounds like a bug to me. Thanks for the great report- we’ll have a look!
Description of Issue
Hello USD team, big fan!
I've encountered an issue where nested instancing + use of inherits / specializes leads to non-deterministic composition. I'd like to clarify if it's a bug or expected behavior from miss-use of these features.
Steps to Reproduce
Short version (visual check):
broadcast_nested_instances.usdz
)broadcast_nested_instances.usdz
in USDView and take a look at the viewportFile -> Reopen Stage
a couple of times. Without changing anything, the same stage composes differently:Long version (Stats and variant selection check):
broadcast_nested_instances.usdz
fileSave this python script and update the stage filepath to where
broadcast_nested_instances.usdz
is downloaded:outputs:
red
,blue
,""
, as well as total prototype prim count between14
,17
,20
.For convenience, I am also attaching a zip with the split
usd
files (before runningusdzip
): broadcast_nested_instances_uncompressed.zipIt contains the following files:
And the same issue will appear when opening
City-Entry-Assembly.1.usda
inusdview
Details on the structure
For full context, click for the long description on the composition choices (it's quite long):
![broadcast_nested_instances](https://github.com/user-attachments/assets/82df2268-e67e-4c66-8a6f-c2e0f692d469)Expectations
This is what I would expect to see:
I'm also at SIGGRAPH this week, in case anyone wants to speak in person 😄
System Information (OS, Hardware)
Package Versions
Build Flags
Thanks!