vrchat-community / package-list-action

Example Action for VPM Package Repo
Other
2 stars 24 forks source link

BuildRepoListing fails if no author object is defined in the manifest #13

Open Markcreator opened 1 year ago

Markcreator commented 1 year ago

See here.

When using a package converted with the Package Maker Tool, it looks like the generated manifest contains no author object. At no point is defining the author mentioned in the docs, nor exposed in the Unity Editor.

When following the instructions outlined in the package template using the converted package, building the repo listing will fail due to a null pointer exception because of the missing author object.

momo-the-monster commented 1 year ago

Thanks for the report, @Markcreator - I've linked PR #14 above which should patch this issue but I'm not sure that we should. Other parts of the ecosystem may expect an author to exist for a package. If so, we need to update the Package Builder to include an author field as well, so that our tools provide the right data from the start.