Skip to content

The server crashes during auto-save with java.lang.IllegalStateException: Not a string at SavedDataStorage.encodeUnchecked. #313

Description

@gy216

Describe the bug

Crash report (server): crash-2026-07-31_15.38.43-server.txt

It can also be reproduced in singleplayer by pressing ESC during the Replant crop falling animation.

To Reproduce

Crash report (singleplayer): 错误报告-2026-7-31_16.02.55.zip

Steps to reproduce:
Use NeoForge 26.1.2.77, Backpacked 3.0.4, Framework 0.13.23
Enter a singleplayer world, equip a hoe, right-click farmland to activate the Replant feature
Break a crop and observe the crop falling animation
Press ESC immediately while the animation is still playing (before it finishes)
The game crashes with IllegalStateException: Not a string at SavedDataStorage.encodeUnchecked
The crash occurs at the moment ESC is pressed, not when clicking "Save and Quit"

Expected behavior

Pressing ESC should open the pause menu normally. The game should not crash.

Mod Version

Backpacked 3.0.4

Minecraft Version

26.1.2

Modloader

NeoForge

Crash Log (if applicable)

https://github.com/user-attachments/files/30579871/crash-2026-07-31_15.38.43-server.txt

Additional context

Thank you!

https://github.com/user-attachments/assets/d6fb5036-dbba-4f48-bc68-483f61ba067e
This is a crash video.

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