there is a glitch where a stripe of shadow and different tree generation (wich we can see with cut trees) appears on the map.
on the first picture you can see the bug as it is when found
on the second picture you can see my f3 menu (if that helps) and also block that i placed to update the light.
note: you can only light by placing block on the border of the strip if you place a block on the middle of the strip light won't update
edit: someone should verify if this happens multiple times in a world or if it only happen once and if multiple time is it alway's the same axis
edit: it is answered it can appear multiple times and on both x ans z axis
Linked issues
is duplicated by 111
relates to 3
Attachments
Comments 47
Chunk loading issues in water: https://www.youtube.com/watch?v=LhCd__Lr8Rs
@unknown, that's a perhaps related but different issue – MC-214808
I've seen this is several places in this world, both above ground and underground.
Generation seed "Mandatory" XYZ 416/112/233.
Found some dark chunks again in 21w16a (along with what I believe is MC-125007). Definitely seems less common after the height revert.
I would like to bump this again because I am finding a pattern and probable cause for its occurrence, as well as evidence for linkage to another significant bug.
I've done extensive testing for hours trying different things, and it actually started with bug MC-166005 - "Stuttering when crossing chunk borders/loading chunks", in which I discovered that villages in 21w16a with the Caves & Cliffs datapack, created enormous lag spikes in the region, up to 30 chunks away from the village boundary. It turns out that in the same lag spike region, the dark/missing chunk issues were often found. I would repeat it over and over-- fly to a new village, fly around it a bit, and I would get both lag spikes, and dark chunks. Repeat with a new village. While I found that severe lag spikes were unique to having the Caves & Cliffs datapack running, the dark chunks are still repeatable under the same circumstances even in prior versions before datapack usage, i.e. 21w14a.
There are 2 good ways to predictably reproduce the dark/missing chunks, and anticipate where they will occur. Start in spectator, and go full speed with the mouse wheel + sprinting in either case.
Villages - Fly to a village and past it along an axis, X or Z. The fly-through generates the village and surrounding chunks in an easier straight-line pattern. Keep flying away to completely unload the village and surrounding area (I go 1000 blocks away). Turn around and fly back to the village. There will be a chance the dark chunks will appear near the village, usually arranged in lines, if you flew along an axis. If the village has a certain size bounding box surrounding it, the dark chunks will usually be straight lines on the perimeter of a larger box around the village.
Teleportation - Teleport to a completely new area away from any already generated chunks (I suggest doing nicer numbers like 2000, 2000 so its easy to remember and stay aligned with). Immediately upon teleporting, fly around in a spiral (increasingly larger radius circle) surrounding your teleportation location in such a way to create as many chunks as quick as possible for up to a minute or so. Align yourself with the teleportation location, and fly directly along the X or Z axis far enough away to completely unload the area (i.e. 1000 blocks), and return. Check the area surrounding your teleportation location. You can try different things each time you teleport to a new location to see different patterns of dark chunks. While the shapes can vary, you can still find straight line and 'corner' shaped dark chunks.
In either case, here is what I think is happening:
During chunk generation, the game is demanding a certain amount of resources which can't be met as quickly for whatever the reason is, so let's say we call this "stress". Based on my findings in bug MC-166055, villages are somehow creating more stress (especially in the C&C datapack to the point of severe lag spikes), so the likelyhood of finding dark chunks around it are higher. Creating lots of new chunks generally creates more stress, but especially teleporting to a new area that's surrounded by completely ungenerated terrain and flying around-- more chunks have to be generated around the player rapidly, so it's more likely to find dark chunks. In both cases, revisiting terrain you generated under high-stress conditions, more likely gives dark chunks where it had issues generating. The dark chunks usually seem to take a shape based on the way you stress-loaded the generation.
Here's a few examples to illustrate what commonly happens in each method:
Case 1 Examples: Dark chunk line perpendicular to village line of sight
[media][media]Case 2 Examples: Dark chunk "box" surrounding a teleportation location & Other irregular shapes
[media][media][media]I'm heavily inclined to believe that the dark/missing chunk issues are caused by anything that causes excess stress during the chunk generation process, and some chunk data is getting at least temporarily corrupted. Example: the game is generating a chunk, something interrupts the process, causing data to be incomplete. Let's say we roll with that idea. Sky lighting maybe doesn't get the chance to have data populated in the sub-chunk, so the default value is 0 (dark) unless otherwise given the opportunity to be filled with a "15". As some have noticed, the dark chunks can also coincide with trees being chopped at the boundary, which seems like it would be consistent with chunk generation being interrupted as well. Maybe there's other generation features that can be interrupted too. They seem like different issues at face value, but might have the same root cause.
note: On a server, some dark chunks will disappear after relogging, some won't. For the ones that won't disappear, even completely shutting down the server and restarting it multiple times won't fix it, and remain 'permanently' mob-spawnable.
And maybe the reason why it's more difficult to reproduce this issue with the non-C&C generation, is because it's harder to achieve the amount of stress needed to start corrupting chunk data-- less chunk height means less to generate, and a smaller window of opportunity for something to interrupt the chunk generation process? So something would need to be optimized/fixed with chunk generation so that it's much harder or impossible to interrupt chunk data creation? And something about villages would need to be potentially optimized?
Just my thoughts based on the patterns I've observed, hope this helps!
I seem to have this glitch too, but sometimes it's not a strip of chunks, but entire areas.
Signing in and out of the server sometimes fixes the light but the mobs keep spawning.
Anything you build in these zones does not save if you sign in and out.
Dark zones above villages causes the villagers to run in and out of their houses repeatedly, they don't seem to understand whether it's day or night. (Which is strange, I thought they went by the day cycle, not light.)
I've tried running my world through the "Optimize world" function but it causes the launcher to crash about halfway through on a total of three different computers, both MacOS and Windows.
[media][media][media][media][media][media]Found a very broken seed where this occurs extremely frequently: -2171582531736847681. About 1/10 of the world is lighting errors. Occurring in areas that were previously lit. Occurred in spectator mode, which was thought to be impossible. Without teleportation, just flying around, huge lighting errors everywhere. They clearly do not always generate completely dark, they just fail to load the proper lighting for some reason.
The bugged tree generation is a separate unrelated issue: MC-125007