Closed endel closed 2 years ago
Hi @endel
This PR should fix Unity packaging issue, https://github.com/colyseus/colyseus-unity-sdk/pull/192 I have tested the same scenarios in these workflows, https://github.com/lpsandaruwan/colyseus-unity-sdk/actions
Previously I opened the PR from Windows platform, might have to do something with Windows file encoding. I'm not sure about the reason. But replacing assets with Unix worked.
Since https://github.com/colyseus/colyseus-unity-sdk/pull/190, this error started happening when bumping the version on
package.json
:The issue seems to be coming from the
unitypackage
NPM module, at this line: https://github.com/pCYSl5EDgo/unitypackage/blob/c164da80cc54c7fdd452c83cc0eec3b0b5ded21a/src/index.ts#L83Apparently,
unitypackage
tries to callcopyFileSync()
to copy"GameDevWare.Serialization/Serializers"
as it were a file, but it is a directory.