mojira.dev
MC-139717

Game hangs while trying to load chunks

In some cases, the world completely freezes when trying to load chunks. This occurs a lot when teleporting far distances.

Related issues

MC-139726 Snapshot 18w47a World Corruption MC-139791 The World doesn´t load and make a kind of hole MC-139800 Open world created in previous snapshot in new snapshot and will not load MC-139827 Loading of the world is quite slow. MC-139828 Problems loading old maps MC-139857 Terrain not loading MC-139867 Weird Unloaded Chunk xRay MC-139914 World cant load chunk MC-139938 Problem loading old map MC-140057 Chunks are loading SLOOOOW (Multiplayer only) MC-140068 Long delay before world renders in the nether MC-140072 World will not load in after death or when starting world. MC-140086 Chunk rendering issues MC-140096 Singleplayer LAN World: Second player not able to move when joining MC-140115 Teleport does not work MC-140176 Broken World MC-140332 Chunk Loading issue MC-140360 Waiting for chunk... forever MC-140400 when TP'ed I eded up in an empty space with a border MC-140432 When I try to spawn in I can't see anything but the hotbar, and I could only fix it by relogging or waiting a long time. MC-140441 world doesn't load when going thought portals MC-140580 Blank World MC-140620 Multiplayer Chunk loading bugs MC-140635 When a player creates or joins a singleplayer/multiplayer the game freezes constantly! MC-140639 when i boot up a world all the chunks aren't loaded and i cant reload them. MC-140679 World not loading chunks at all when reconnecting, change dimension and exploring MC-140723 Server stop sending chunks MC-140770 Random water and lava and chunks not loading MC-140786 World Load MC-140804 the world doesnt log right, I keep falling off the world MC-140858 Game chunk fails to load, game is waiting for chunk to load for eternity (10+ minutes) MC-140877 Chunks will not load upon entering world (18w49a) MC-140888 Chunk Loading Issue (Every 1.14 SNAPSHOT) MC-140910 Chunks not loading in on Server MC-140911 I can`t tp MC-141081 Chunks don't load MC-141089 A massive Chunk error MC-141255 Most Things Are Broken MC-141362 When I go near chunks somewhat far, they don't load most of the time. MC-141407 Server Crash (Nether) MC-141451 Chunks acting really weird MC-141474 Chunks doesn't load MC-141540 The chunks do not load in properly. MC-141583 Server Crashes Whenever A Player Joins MC-141626 Chunk/Teleport problems MC-141666 Chunk Do Not Load After A Point MC-141704 The Minecraft world won't load further than a couple of chunks. MC-141732 The nether wont load up MC-141960 Water Bug: I Created A New World And Saw This... (See The Attached Images) MC-142222 chunks don't load MC-142241 World not rendering correctly in multiplayer on snapshot MC-142390 Glitched world MC-142774 Server crashes after you travel a long distance with a boat MC-143029 Desync between client and server on Open to Lan MC-143428 error in chunks loading MC-143717 Chunks don't load MC-144042 Waiting For The Nether To Load MC-144177 Entities causing lag/crash during night during SMP MC-144213 Terrain not generated MC-144277 Chuck Loading issues? MC-144352 Your so-called "Render Engine Update" is trash!!! MC-144369 Chuck Error MC-144398 Server crash randomly while exploring MC-144414 Server crash when go into Nether MC-144539 Connection Lost 19w08a MC-144595 Chunk che non caricano MC-144607 Running server on 19w08a/b results in nightmarishly awful chunk loading MC-144702 19w08b , very laggy chunk loading and crashing MC-144796 Chunk not loading error MC-144878 chunk bug MC-145072 World loading stutters, stops completly MC-145228 The chunks don't load MC-145300 Chunks loading incorrectly/unable to interact with world upon opening MC-145303 whenever I load into my world I'm just floating and none of the chunks are loading and I cant move. everything else is perfectly fine MC-145320 19w09a/vanilla/snapshot (Server) Chunk errors MC-145392 Loading more chunks require relogging MC-145466 Full Game/Server Freeze when Returning from End MC-145539 Chunk loading problem with Server MC-145622 Chunks don't load on vanilla server MC-146460 One area has paused time! MC-146505 Chunks not loading

Attachments

Comments

migrated
[media][media][media][media][media][media][media][media][media]
migrated

I have same issue

 

migrated

I have the same issue.

Also I cant pick up anything. 😞

muzikbike

This even occurs when loading already-existing chunks in a superflat world.

muzikbike

Affects 18w48b

Aepokk

Same problem - not nearly enough chunks load as they should

migrated

Appears to be happening on servers as well.

migrated

This issue has become very troublesome for me since the 18w50a build.  I cannot travel on foot across a map.  The next chunk loads very slowly or not at all.  This forces me to restart to get the chunk to load.  Teleporting hangs the game.  worldspawn even loads very slowly.  My system is capable, I7-8700k, 16G, gtx1070, and runs the release version with ease. My jvm arguments are default.  I've run d64 and bundled javaw with no difference.

migrated

I think I am affected as well

I do not experience this:

> world completely freezes 
but still, chunks do not load. I have to log out and reconnect to server to force chunks to load
Somehow that happens only with linux-running client, the one with windows loads chunks properly

migrated

I have the same issue as well, and...

Sometimes my game even crashes!

migrated

This should be a complete list of all things that dupe: Chunk Format Entities and Block Entities

md_5

Reproduction world attached - log in to coordinates t (491, 99, 523) to trigger the freeze.

Its due to a deadlock in the duplicate entity handling code.

How/why the entities duplicate is another bug, but in this case it appears to be duplicated cod/salmon.

md_5

Appears that my comment is incorrect - its only one of several ways in which this can occur.

The freeze as per the title is also occurring randomly during normal chunk loads from various places, but I do not yet know why.

md_5

Attached a crash report from 19w05a.

migrated

Can confirm in 19w06a

migrated

I confirm in 19w08a

migrated

This only occurs for me on a multiplayer server(19w09a) if the render distance in the client is set below the view distance configured in the server.properties file. Then the server wont load any more chunks outside the already loaded world.

migrated

I can confirm Kilian's findings

In my server.properties file is the view_distance set to 10. If I join the server with a client view distance of 10 or lower the bug occurs, but if I join with view distance 11 or higher I have no problems with this bug.

migrated

From my experience (not much) 9 has hanged but 8 works. Haven't tried much lower/higher than that.

alejandro_xd

I can also confirm Kilian's comment. The client's view distance must be higher than the server's.

Having a view_distance of 16 on the server, the client kept having a lot of problems loading chunks (with a view distance of 16). Changing the view distance to 17 and relogging completely solved the issue.

Very curious behavior. If you are reading this because you have this problem, this is a very good fix.

migrated

I have managed to fix my problem (the server would crash each time I left the end due to chunks not generating/loading at all) using the suggestion I found in this issue https://bugs.mojang.com/browse/MC-138114

In short, I set my client's view distance to be the same as the server's (10 chunks) and restarted both the server and my client. After that, no more crashes occurred and everything loaded flawlessly.

I think my problem was somehow specifically related to the credits screen, because after I got through that screen once, my client's render distance didn't matter anymore and I could set it to anything. Hopefully this could help someone in the future!

migrated

My issue in https://bugs.mojang.com/browse/MC-145300 has been added as part of this, however my world is exclusively single player and my render distance has already been maxed out. Tried changing the render distance but it had no effect on the world loading or changing after the world had loaded.

I am in 19w09a and had actually played quite a bit in the snapshot with no issue until logging off, then came back to find that the world refused to load properly and froze the game when attempting to leave.

migrated

still seems to be happening on my server though... will do some testing.
Edit: Still happening on my server with specific view distances.

md_5

Reopening as I'm still seeing this in 11b.

Stack is the same as before just with

sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)

 

At the top instead of yield.

 

 

Teleporting between worlds is the most reliable way to reproduce it (still not very reliable), but it definitely also happens just during the course of having a server played on for hours. Simply flying in a straight line even for extended periods of time does not reproduce it.

Johnibur

Another issue with method sun.misc.Unsafe.park() happening when kicking / banning any player from the server (outside the console). [MC-145994]

migrated

confirmed for 19w12a

migrated

now effecting 19w13a and the hang can be seen only in a server setting single player and open world single player words are uneffected

migrated

affected on single player in 19w13a

 

migrated

Currently happening on 19w13a multiplayer server.

When player quickly disconnects/reconnects, it properly loads all chunks nearby.

gaspoweredpick

Confirmed for 19w13b

TheBoy358

Confirmed in 19w14a.

boq

So I noticed that comments somehow deviated from initial description, so starting from next snapshot, before this gets reopened, please check following:

  • Are chunks re-appearing up after F3+A? -> It's (probably unreported) bug related just to chunk rendering.

  • Is it impossible to teleport? Does client just hang after disconnect attempt? -> Yes, it's this bug, can be reopened.

  • Are chunks showing after a while, while server is showing information about missing ticks? -> It's probably MC-138114, but that issue has also become catch-all for all kinds of chunk issues. Let's keep it only about performance.

  • Are chunks re-appearing after teleporting more than view distance? -> It's actually MC-145813 (client-side only issue).

  • Are chunks re-appearing after disconnect and connect? -> Also MC-145813.

  • Is the only way to get chunk to generate to restart server? -> Please create new issue and if possible, attach launcher logs (since this may be non-crashing exception on server)

TheBoy358

Thanks you very much Mojang one of the most important 1.14 bug as been fixed 🙂.

GolfinhoVoador

Confirmed in 1.14 (All reports are 'duplicates' even with different versions/ways to reproduce)

violine1101

@unknown, you're probably looking for MC-149178.

migrated

boq

Confirmed

Chunk loading

Minecraft 18w47a, Minecraft 18w47b, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, ..., Minecraft 19w12a, Minecraft 19w12b, Minecraft 19w13a, Minecraft 19w13b, Minecraft 19w14a

Minecraft 19w11a, Minecraft 19w14b

Retrieved