Sodium

Sodium

35M Downloads

Sodium crashes when sodium-options.json is corrupt.

LucilleTea opened this issue ยท 5 comments

commented

Reproduction Steps

  1. Have a corrupt sodium-options.json in the config folder.
  2. View sodium's settings or open a world.

Crash Report File

https://pastebin.com/61ESLENC
https://cdn.discordapp.com/attachments/602805020861267968/737681352349974668/latest.log

Additional Information

A sample corrupt file:
https://cdn.discordapp.com/attachments/602805020861267968/737956575867699275/sodium-options.json

commented

This is apparently happening again in 0.3.0, see #862

commented

As of 0.4.11 (presumably earlier) a correct error screen is shown and proposes to reset the problematic option files. Issue is resolved.

commented

Not sure when exactly this was fixed either, but Sodium 0.4.10 now shows this screen and the game can proceed to run normally. Thanks for the bump.

Screenshot_4

commented

Looks to be fixed in 1.16.x/next.

commented

Commit 6f1762f might resolve this.