Skip to content

On a very big level, undoing 3 times results in resetting the metadata. #119

@athin2008

Description

@athin2008

Describe the bug
On a very big level, undoing 3 times results in resetting the metadata. The issue was also mentioned here.

Reproduction Steps

  1. Create a single level with a size of 100x100 and runtime_metadata_twiddling on.
  2. Put a button where the player can change the smoothscreen e.g. LATE [Player Button] -> [Player Button] smoothscreen 3x3 1x1.
  3. Player goes to the button, walks around a bit, and then undo 3 times.

What did you expect would happen?
The smoothscreen should still be 3x3 unless the undo passed the button.

OS & Browser version, desktop/mobile
Windows 11, Firefox

Screenshots, example projects, other relevant issues, etc.

It has the following error:

RUNTIME METADATA TWIDDLING: Reloaded level state that did not have saved metadata. Likely this state was recovered from a CHECKPOINT. Using the default metadata instead.

This issue also appeared when we were working with a checkpoint and restarting a level.

Reproduction Steps 2

  1. Create a single level with a size of 100x100 and runtime_metadata_twiddling on.
  2. Put a button where the player can change the smoothscreen e.g. LATE [Player Button] -> [Player Button] checkpoint smoothscreen 3x3 1x1.
  3. Player goes to the button, walk for just 1 unit, and then restart the level (press R).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions