Defeatomizer / MCreatorVCSPlugin

An unofficial plugin for MCreator to support VCS integration.
https://mcreator.net/plugin/97468/remote-workspaces-support-20232
GNU General Public License v3.0
5 stars 0 forks source link

Getting a "Cannot read an array length because "bytes" are null" error, whenever I try to sync local and remote workspaces #14

Closed kamilatte closed 1 year ago

kamilatte commented 1 year ago

Issue description

When I try syncing local and remote workspaces, I get a error mentioned in the title.

How to reproduce this issue?

  1. connect a remote workspace.
  2. Try syncing.

Operating system

macOS

Details

MCreator version: [2023.3 / branch:master] Plugin version: [2023.3.1]

Remote repository

No response

Logs

https://gist.github.com/alwayshyper/efd962e5da1a565eac0c61e6818a5a92

Defeatomizer commented 1 year ago

Seems your main workspace file has been deleted on the remote branch. I'll push a fix for such situations a little bit later. For now, you can try adding the <mod_id>.mcreator file back to the repository root from one of commits where it is present and syncing again.