Damn! You can try to keep pressed R to reload the scene, or reload the game. The data should have been saved. You can reset the save data if the bug persists.