SpongePowered / Sponge

The SpongeAPI implementation targeting vanilla Minecraft and 3rd party platforms.
MIT License
389 stars 211 forks source link

WorldManager#loadWorld freezes the server indefinitely #3256

Open thibaulthenry opened 3 years ago

thibaulthenry commented 3 years ago
SpongeVanilla version: 1.16.4-8.0.0 (commit 13b8c404e47f91f1c99913396910c2f2b33ce60f)
Java version: 8
Operating System: Windows 10
Plugins: WIP plugin for api-8

Hello, yesterday I tried to load a new world after creating and saving an overworld template with :

WorldTemplate.overworld().asBuilder().key(newKey).build()

But after load command is executed the server just stops ticking, no exception log neither a crash.

[Server thread/INFO] [n.min.ser.MinecraftServer/]: Loading World 'cosmos:france' (minecraft:overworld)

And nothing after that log. I have to restart the server to see the world loading and playable.

Thanks for reading this issue.

Zidane commented 3 years ago

I cannot reproduce this. If you can, let me know.

thibaulthenry commented 2 years ago

I can still reproduce :

In SpongeWorldManager#loadWorld0

The server stops responding at line 441

this.postWorldLoad(w, false)

image