Amulet-Map-Editor
Amulet-Map-Editor copied to clipboard
[Bug Report] Errors Loading level.dat Files in Newer World Updates
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
Screenshots
Worlds
N/A
I also get this error.
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?
Just tried loading another level.dat.
Here's another level.dat file, just tested 2 minutes ago.
it, and does the same thing! level_dat2.zip
If you want me to create some more level.dat files that have the same issue let me know.
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.
Can I suggest deleting your install of Amulet and reinstalling.
I will try that and see if it fixes it.
No, I still have the issue even with a newer Amulet version and a Fresh install!
I'll try getting multiple amulet examples and try finding the exact cause of this issue.
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.
That is a different issue.
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.
If anyone can help me reproduce this issue then let me know.
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?