create-unitypackage
create-unitypackage copied to clipboard
YAMLException: incomplete explicit mapping pair
We got this error when trying to use this action to make a .unitypackage for an UdonSharp release.
file:///home/runner/work/_actions/pCYSl5EDgo/create-unitypackage/cfcd3cf0391a5ef1306342794866a9897c32af0b/node_modules/js-yaml/dist/js-yaml.mjs:1273
return new exception(message, mark);
^
YAMLException: incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line (15:7)
12 | validateReferences: 1
13 | platformData:
14 | - first:
15 | : Any
------------^
16 | second:
17 | enabled: 0
Any idea what we can do to fix this?
Ah - it looks like these meta files had invalid YAML. Not sure why, but the fix was to move the colon to after the 'Any' like this:

Oof - making these modifications actually broke the referenced DLLs, so this was not a good fix. Reopening.
Thanks for @kb10uy This issue would be fixed.