[SPIGOT-6079] Loaded Empty World freezes client when they move near not-generated chunks Created: 16/Aug/20 Updated: 17/Aug/20 Resolved: 17/Aug/20 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | ZockerAxel | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None |
Attachments: |
![]() |
||||||||
Issue Links: |
|
||||||||
Version: | CraftBukkit version git-Spigot-379750e-13945b7 (MC: 1.16.2) (Implementing API version 1.16.2-R0.1-SNAPSHOT) | ||||||||
Guidelines Read: | Yes |
Description |
When I load a void flat world (generated in vanilla 1.16.2) onto the server using WorldCreator.name("test").create(); (Everything works fine if the world is the default world) and teleport a player to spawn, everything is fine. As soon as the player comes close to chunks that haven't been generated yet, their client log gets spammed with "Received invalid biome id: -1" and they will freeze to 0fps for a while until they recover and are fine again until coming near a chunk again that has not been generated. In single player i can freely walk around the world and the regions i have been in single player and on a vanilla server are completely lag-free when it has been put on the spigot server. It is the same setup i have used for years and has never been a problem prior to 1.16 |
Comments |
Comment by ZockerAxel [ 17/Aug/20 ] |
I generated that world back in Minecraft Version 1.8 and kept it up-to-date every minecraft version since, so there shouldn't be any functionality that isn't supported |
Comment by md_5 [ 17/Aug/20 ] |
Ok so reimporting the attached world after commit fa917c4723982a32e7babf1bafd6bb8b1feb41bd and the issue is fixed. It looks like worlds that were loaded in Spigot before that commit will permanently display the issue however (whatever that issue is). |
Comment by md_5 [ 17/Aug/20 ] |
I'm not sure what the issue is and why it doesn't appear in Vanilla, but it looks like you used the custom dimension / generator functionality to generate this world and that isn't yet supported by Spigot. If anyone else is reading this, help fixing/investigating would be appreciated. |
Comment by ZockerAxel [ 16/Aug/20 ] |
Did you just put it in the server or did you load the world using the WorldCreator API, because the bug doesn't occur when it is the default world (i guess i didn't state that it only occured when i loaded it in using the API but in the bug report i stated that i used the WorldCreator). Also the chunks generated when on the server yield the same behavior when i put it back into single player |
Comment by md_5 [ 16/Aug/20 ] |
Attached world works fine with no client errors for me |
Comment by ZockerAxel [ 16/Aug/20 ] |
I have added the requested world and after testing it on a vanilla server i can confirm that it works on the vanilla server |
Comment by md_5 [ 16/Aug/20 ] |
Include the world; test the vanilla server |