I’ve configured multi-user editing for myself and some friends. It works quite well, though it is quite easy to accidentally break it in a way that causes data loss and editor crashes.
While we discovered the issue during a sessions with two or three users, it is easily reproducible with only one user.
We are using UE 5.4.4 and git for source-code control.
We are running a multi-user server remotely (i.e. it is not spawned by any of the editors).
Basically, the problem boils down to this:
if you start a session, make some simple changes, then
- leave without saving or persisting: everything is fine upon reentering the session.
- leave after saving and persisting: everything is fine upon reentering the session.
- leave after saving but NOT persisting: this causes some data loss. Assets that were added to the map during the session are there, but any transformations or scaling changes are missing, and the editor can crash spontaneously. If I archive the session and then restore it while omitting the save (i.e. restore up to the last operation before the save), everything is fine again.
It is certainly easy to get into the habit of having only one user persist the changes, but it is hard to avoid users pressing “Save All” before they leave the session.
I admit, however, to not understanding what “save” means in this context. Saving does not actually cause anything to be written to the local repository, but rather some state must be being updated on the server.
As I mentioned, this is easily reproducible with a single user:
- start a multiuser server
- create and join a session
- make some changes (add a shape, scale it, move it, etc.)
- save
- leave, but do not persist the changes
- re-enter the session.
Changes to assets you added during the session will be missing.