Amulet-Map-Editor icon indicating copy to clipboard operation
Amulet-Map-Editor copied to clipboard

[Bug Report] Errors Loading level.dat Files in Newer World Updates

Open StealthyExpertX opened this issue 1 year ago • 11 comments

Bug Report

Current Behaviour:

When attempting to load certain worlds from recent updates in the Amulet Minecraft world editor, the level.dat files fail to load properly. This failure is accompanied by error messages appearing in the Amulet console log.

Expected behavior:

The level.dat files of any world, regardless of the update version, should load correctly in Amulet without producing error messages in the console log.

Steps To Reproduce:

    • Open Amulet World editor.
    • Attempt to load a Minecraft world from a recent update or using the level.dat file, I provided below.
    • Observe that the level.dat file fails to load properly.
    • Notice the error messages that appear in the Amulet console log.

Environment:

  • OS: Windows 10
  • Minecraft Platform: Bedrock
  • Minecraft Version: 1.20.0
  • Amulet Version: v0.10.16b0

Additional context

This issue seems to be related to newer updates of Minecraft worlds, implying that the latest features or changes in the world structure could be causing compatibility issues with Amulet's level.dat loading mechanism.

Attachments

level_dat.zip

Screenshots

image

Worlds

N/A

StealthyExpertX avatar Jul 23 '23 00:07 StealthyExpertX

I also get this error.

Apothicon02 avatar Jul 23 '23 14:07 Apothicon02

The level.dat file you have linked is a perfectly valid level.dat file. The code can load it just fine. Do you have any other examples?

image

gentlegiantJGC avatar Jul 23 '23 15:07 gentlegiantJGC

Just tried loading another level.dat. image

Here's another level.dat file, just tested 2 minutes ago.

it, and does the same thing! level_dat2.zip

StealthyExpertX avatar Jul 23 '23 18:07 StealthyExpertX

If you want me to create some more level.dat files that have the same issue let me know.

StealthyExpertX avatar Jul 24 '23 03:07 StealthyExpertX

I really don't know what is going on here. Both level.dat files are normal. The code can open them. I have tested the first file by loading it directly with that class and it loads fine. The second I tested by putting it into an existing world and loading with the built version of Amulet and it loads fine. image

Can I suggest deleting your install of Amulet and reinstalling.

gentlegiantJGC avatar Jul 24 '23 08:07 gentlegiantJGC

I will try that and see if it fixes it.

StealthyExpertX avatar Jul 24 '23 12:07 StealthyExpertX

No, I still have the issue even with a newer Amulet version and a Fresh install!

StealthyExpertX avatar Jul 25 '23 03:07 StealthyExpertX

I'll try getting multiple amulet examples and try finding the exact cause of this issue.

StealthyExpertX avatar Jul 25 '23 03:07 StealthyExpertX

I am getting the same with my world (downloaded from Realms today) Downloaded .18 today

[Update] Tried .11 (Which is the version I had previously) No error on the load.

level_dat.zip image image

joschemd avatar Aug 13 '23 20:08 joschemd

That is a different issue.

gentlegiantJGC avatar Aug 15 '23 14:08 gentlegiantJGC

I don't know what is going on here because none of the level.dat files you have sent have the problem. If you can get a level.dat file that you can put into a world and load in Amulet and it produces the issue then send it to me. I assume that something funky is happening with the world outside of Amulet.

gentlegiantJGC avatar Sep 27 '23 16:09 gentlegiantJGC

If anyone can help me reproduce this issue then let me know.

gentlegiantJGC avatar May 01 '24 08:05 gentlegiantJGC

Wasn't able to reproduce it, my older level data files that used to do it, aren't that I had locally maybe it was somehow fixed?

StealthyExpertX avatar May 02 '24 07:05 StealthyExpertX