Fix UsdValidation reporting errors#22
Open
prathikkaranth wants to merge 3 commits into
Open
Conversation
|
prathikkaranth
force-pushed
the
usd-val-fixes
branch
from
July 17, 2026 18:07
68a23a9 to
c4e25b6
Compare
Signed-off-by: Prathik Karanth <pkaranth@adobe.com>
Signed-off-by: Prathik Karanth <pkaranth@adobe.com>
Signed-off-by: Prathik Karanth <pkaranth@adobe.com>
prathikkaranth
force-pushed
the
usd-val-fixes
branch
from
July 19, 2026 17:07
c4e25b6 to
91e0a64
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR fixes issue #21 created.
So there are 3 validation error types, and 400+ errors of those:
InvalidMaterialCollection- 326 errors because the binary geo file (ShdrPlygrnd_Geo.usd) hasrel material:binding = Noneon 359 prims which is explicitly preventing material assignments. Removing that gets rid of these errors.UnresolvableDependency- 110 errors because texture references across 39 mtlx files are textures/ and not relative path to usda so should be../textures/.InvalidSubsetFamily- 1 error. One thing that is present in a material subLayer is a GeomSubset child override withuniform token familyName = "materialBind"which is not present for any other child. This suggests a duplication as the familyType of the UsdGeomSubsets in this case is of typeUsdGeomTokens->partitionwhich means from the docs - every element of the whole geometry appears exactly once in only one of the subsets belonging to the family. So in theShdrPlygrnd_Geo.usdfile we are already specifying the family name for allGeomSubsetsso this one is not necessary which is why the validation error appears.The PR is best reviewed commit by commit as each one presents a solution to each of these errors as the names of the commit suggests.