GoldenDelicios / Lite2Edit

Java application: Converts Litematics to WorldEdit schematics
MIT License
125 stars 12 forks source link

converted .schem file crashed my server #3

Closed EmperorTomo closed 1 year ago

EmperorTomo commented 2 years ago

Hi there, found this via Reddit, tried it on my server, alas it crashed. I converted a .litematic file into a .schem file as per the directions, and tried pasting this converted .schem file with WorldEdit on my private creative server.

Here is the crash log, https://mcpaste.io/0d02c4f2179c2a80

Thanks!

EmperorTomo commented 2 years ago

Thought it might have been a memory issue with my server, tried again and it seems that WorldEdit doesn't seem to like the usage of 'minecraft:' in it. https://mcpaste.io/4231e609163bad9b

GoldenDelicios commented 2 years ago

Hey there, could you provide the .litematic and .schem files so I can investigate further?

EmperorTomo commented 2 years ago

Whoops.

Im unable to provide the schem but you can replicate it by running the litematic through version 1.1.

Sorry for the delay.

EmperorTomo commented 2 years ago

https://drive.google.com/file/d/1xwgNNGucNoE0AFFwKM7NU4MiuqU0hYym/view?usp=drivesdk

GoldenDelicios commented 1 year ago

Hello, sorry for the delayed response. I've finally had some time to look into this issue.

Unsupported key: minecraft:

It seems the tile entities in the original litematic lack IDs (e.g. minecraft:sign), which Lite2Edit cannot handle. Effectively, any tile entities will lose their data because of this, but the schematic is otherwise unaffected. This error doesn't cause the server crash.

Detected stop event: java.lang.OutOfMemoryError: Java heap space

I did not run into this error on my server. Your server most likely does not have enough memory for WorldEdit to paste a schematic of this size. You can try to disable block/lighting updates by running //perf and disabling those effects, which should reduce memory usage. If your host allows, increasing allocated memory to the server might also help.

ghost commented 1 year ago

Hello how do you have the "import se...."?

EmperorTomo commented 1 year ago

Hello how do you have the "import se...."?

What?