Closed BigRoy closed 2 weeks ago
@Lypsolon was kind enough to do a test run and reproduce this.
Here's his setup:
This layer muting works:
But this does not:
It seems to NOT mute the child layer (and since I suppose that should not be possible to include a child layer if the parent is muted I assume it's not actually muting that layer even though it's set to 'muted' visually in Houdini).
Looking at which works and which fails - it's very likely due to some behavior with the :SDF_FORMAT_ARGS:
I do think it's:
Reassigned to @Lypsolon since it's likely easier for him to investigate from the resolver itself. Plus I've heard he just really likes issues! 🥇
@BigRoy
i tested this issue with the new Resolvers we have in https://lake.ayon.cloud/repositories/ayon-usd/objects?ref=Nightly&path=
i believe this issue was cause because of the removal of the SDF_FORMAT_ARGS then new system now appends them at the end again.
i tested this with "Normal" paths and with URIs and both look like they work. this will now also be tested in the internal Usd Project.
Feel free to close when fix is merged and released.
this has been solved and tested in the internal AyonUsd Project where the issue was first found.
the issue was that the _CreateIdentifier function removed the SDF_ARGS from the input path and thereby created an identifier for an wrong layer.
Is there an existing issue for this?
Description
Current Behavior
Muting USD layers of the asset contribution workflow seems to fail with asset resolvers enabled. It just doesn't mute that layer or its children. Disabling e.g. the
ayon-usd
addon resolves the issue. It may have to do with the usage of:SDF_FORMAT_ARGS:
in certain file paths in the contribution workflow.Expected Behavior
Muting layers should work, and be super easy.
Steps To Reproduce:
Enable
ayon-usd
addon with the USD Asset Resolver enabled.Additional context:
No response
Relevant log output:
No response