Data corruption in the Editor

Describe the bug:
When editing a game in the editor, one of the following might happen at random:

  • Entities duplicate or are deleted
  • Attached scripts on an entity duplicate or are deleted
  • Scripts rollback to an earlier version

These happened while nobody else was editing the game at the same time.

It seems to happen more often in bigger games with longer loading times. For example by having a lot of Voxel Meshes in the game.

I assume it happens because the server runs into an error during save. It might be related to this bug:

How do you cause this bug?
I can’t reproduce this bug, but it already happened to me in the following games:

  • Farmer’s Life
  • Tower of Heck

It also happened to other people.

Which platform: PC

Which input: keyboard + mouse

Your Crayta username: Vilva#9953

Game seen in (including “Hub” or “Editor for XYZ”): Editor for Farmer’s Life, Editor for Tower of Heck

How regularly do you see this? (E.g. 2/3 times - please try 3 times if possible): Rarely

Time + date seen: 08.11.2022

Version number (found in Help tab in Settings): 0.h2.65.135119