PixarAnimationStudios / OpenUSD

Universal Scene Description
http://www.openusd.org
Other
6.18k stars 1.23k forks source link

alias required in plugInfo.json #3377

Open spitzak opened 1 month ago

spitzak commented 1 month ago

Description of Issue

It looks like a schema does not work unless there is an "alias": metadata. I cannot tell if this is intended behavior, my guess is that it should act like the alias is equal to the name used in the plugInfo.json file.

In addition trying to make an alias that is equal to the name of any of the entries in the plugInfo.json file produces an error.

If this is intended behavior a fix to the documentation to say the alias is required would be helpful.

Steps to Reproduce

  1. Edit a plugInfo.json file, change the name of one of the items to match its alias and delete the alias metadata.
  2. Try to use the schema, it acts like it exists but is a blank prim.
  3. Paste the alias back in but leave the name equal and you get an error about a name collision.
jesschimein commented 1 month ago

Filed as internal issue #USD-10356