-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Variant sets on the specialized prims aren’t being expanded properly #3244
Comments
Filed as internal issue #USD-10010 |
I've run into another example of what I believe is this same bug but the observed behaviour is slightly different. In the original example the contents of the variant are lost while content from other specs are present. In the following example, the contents of the variant are present but the content of a specializing prim are lost:
In the composed stage I'm expecting
However what I see is only:
All data authored on I did try to simplify this repro case even more but interestingly if you change almost anything about the composition structure then it starts working as expected. For example, flattening either the Foliage -> FoliageImpl reference arc or the |
And here's a variation of the original example with slightly different composition structure:
In this case I'm expecting |
These are all simplified examples of issues we've run into in production use cases. Thankfully we've discovered these cases before widespread rollout of our planned switch from Inherits to Specializes in some use cases. Due to this bug we are re-evaluating our options (Inherits has issues for our workflows as well which prompted the switch). Do you have an ETA on when this issue will be looked into? Currently Specializes is very unstable but we might risk using it in a select few cases where it doesn't currently present with this bug. Having a rough estimate on a timeline for a fix will help us make that decision. |
Hi @tymonpitts , what I can share right now is that it is a project we anticipate starting when the work to deboostify our python wrappings completes, which will likely be early next year. The project to rework specializes will not be trivial, and has not been bid yet. So, we hope summer/fall 2025, but cannot promise it, as production priorities shift. Thanks for your patience. |
Description of Issue
When Specializing a prim from within a Variant, other Variants on the Specialized prim itself are being ignored.
Originally reported here: https://forum.aousd.org/t/quirk-with-variants-specializes/1787
Steps to Reproduce
Given the following layer:
In the composed stage, the
modelHero
prim has themtl/myMaterial
prim as expected but theelement
prim does not.Other observations of note:
element
andmodelHero
by specializing a different prim which then specializesmodelHero
gives the expected resultrepresentations
parent prim rather thanmodelHero
gives the expected result, albeit with an extrarepresentations
prim underneath theelement
System Information (OS, Hardware)
Ubuntu 22.04
Package Versions
USD-23.08
Build Flags
The text was updated successfully, but these errors were encountered: