mojira.dev
MC-214793

Some strips of chunks generate completely dark

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

Related issues

BDS-11657 The lighting is broken on a one chuck line in the world MC-11657 LAN give wrong ip MC-17504 realms is stuck on peaceful MC-214820 Strange black chunks appearing in the world. MC-214847 Zombies and skeletons have inconsitent burning MC-214884 Illumination bug MC-214887 A giant shadow is coming from nowhere. MC-214920 Long Shadow MC-214926 Lighting errors in 21w06a MC-214938 Large strips of the overworld are not properly lit MC-214956 A graphical issue? MC-215020 Zombies and Skeletons not burning in the daytime MC-215069 Random Dark patches in water MC-215102 Lighting Bug: sometimes while loading chunks lighting doesn't update on the surface. MC-215113 No Light Chunk Error MC-215175 Strange rows of darkness generating MC-215234 Weird black line bug MC-215274 Multiple chunks are generating with a light level of 0 MC-215284 Strange Patches of No Light in Overworld MC-215355 Certain chunks have no light even though there are no blocks placed above. Trees in this chunk also have no leaves and no mobs spawn even though the debug menu shows the sky and block light level as 0 MC-215442 Light bugs MC-215469 Night Areas in sunlight with monsters spawning MC-215517 Dark stripes on the terrain MC-215640 Line of chunks completely dark MC-215663 Lighting bug (multiple chunks with light level 0) MC-215778 weird shadow issues in newest snapshot MC-215889 Lighting not updating properly in chunk MC-215913 Big shadows MC-215961 Light level bug in chunks generation MC-216006 Lighting Issue MC-216068 The light levels are 0 MC-216114 Light Level Zero in Overworld, Cutting trees in half MC-216213 Weird Lighting Error MC-216250 Block Light at roughly 0 Where it Should be 15 MC-216350 Darkness Glitch Across Certain Area MC-216357 Shadows appear for no reason MC-216391 Random Black Spots MC-216399 light bug on some chunk MC-216447 In terrain generation, Lighting glitch "strips" generate MC-216486 Night Chunks in 21w07a MC-216501 Lighting Glitches MC-216517 Lighting Issues MC-216565 Rectangular dark patches in random places around a world MC-216806 Large areas of darkness in overworld MC-216872 Large Area of No Light in Overworld in Broad Day light MC-216884 Light don't work correctly MC-216928 Generate fault MC-216929 Huge shadows in 21w08a MC-216984 Full chunk light bug MC-217097 Lighting error along a row of chunks MC-217232 Chunk lighting, when switching from Night -> Day, random chunks appear to be locked at Zero light level MC-217327 Lightning issues in Snapshot 21w08b MC-217353 Two areas with light level 0 at daytime MC-217357 Strips of darkness in landscape, light=0 MC-217453 Dark Sections of Surface MC-217468 Lighting Problems affecting most chunks along a certain Z Axis MC-217545 Lighting Glitch on surface that spawns mobs MC-217700 Areas of the overworld appear to be in shade when there is nothing above them to cast a shadow MC-217726 Dark Chunks MC-217800 Black water line MC-217904 light bug MC-217929 Long Strips of Dark Chunks MC-217993 Light bug in latest snapshot 21w08b MC-218417 Random chunks completely Dark MC-218516 black shadows during the day time MC-218622 Lighting bug affecting random chunks MC-218651 dark lines in world MC-218897 Chunks loading with lighting errors MC-219069 Weird lightning glitch MC-219277 Weird Chunk Lighting bug MC-219316 Weird lighting glitches MC-219369 Lighting Issues in latest snapshot MC-219491 Night in an isolated chunk MC-219796 Long line of darkness during the day that spawns mobs MC-219800 Sections of the world act like its night and spawn mobs in the day time MC-220015 Zones d'ombres MC-220241 Broken Lighting MC-220336 shadow chunk stripe MC-220481 Skylight breaks MC-220807 Light level bug at irregularly continuous chunks MC-221160 Random strips of dark chunks in oceans MC-221282 There are black "spots" in some areas MC-221598 Lightning Issues in Snapshot 21w13a MC-221690 Light glitches and chunk rendering issues. MC-221943 World generation glitch MC-221968 Dark chunks MC-222188 Dark patches light bug MC-222299 Lighting issues MC-222697 Dark patches in world; light not rendering. MC-222736 Shadow chunk Bug MC-223017 Dark spots MC-223046 Area is completly dark MC-223134 Dark chunk MC-223255 Hostile mobs spawning on the surface in daylight MC-223273 Chunks full of 0 light level MC-223287 World Lighting bug causes hostile mobs to spawn during daytime MC-223396 Lighting glitch results in scattered areas of light level 0 MC-223428 no skylight MC-223443 Освещение MC-223624 Mobs don't burning in the sun on selected chunks. MC-223636 Mobs do not burn in sunlight sometimes MC-223642 light bug MC-223802 Light level bug (one time bug) MC-223894 Chunk/light loading error MC-223921 More lighting bugs MC-223933 Long patch of nighttime during the day MC-223971 Unusual mob spawning MC-224085 Huge black shadow line across my world MC-224319 Light glitch MC-224380 mobs survive during daytime MCL-17504 Giant shadows over large spaces in the overworld

Attachments

Comments

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

The bugged tree generation is a separate unrelated issue: MC-125007

migrated

Chunk loading issues in water: https://www.youtube.com/watch?v=LhCd__Lr8Rs

violine1101

@unknown, that's a perhaps related but different issue – MC-214808

migrated

@unknown Thank you, will post it there then.

migrated
[media]

I've seen this is several places in this world, both above ground and underground.
Generation seed "Mandatory" XYZ 416/112/233.

migrated

Those dark areas can appear in various places, and they can go from both North-South as well as East-West-axis.

[media]


So far, I couldn't reproduce this with a specific seed, as in: "Dark areas always appear in this seed at this location." Furthermore, when I re-entered the world, those dark areas were gone. Likewise, opening the world to LAN and having a second account look at the affected area resulted in not seeing the dark area, while the first/host account still saw the dark area. For the secondary account, Sky light level was 15, for the first/host account 0.
So this issue seems to be client-side.

If you apply a night vision effect, those dark areas cannot be seen anymore; however, if you clear that effect, you'll see them again.

They are actually, really dark; Hostiles can spawn during daylight, and F3 shows 0 for Sky at Client Light.
The dark areas also remain visible during night/are darker than the surrounding areas, as opposed to the normal sections (chunk parts).

[media]

After just quick testing (unsure if what I write now is for certain), the dark areas can be removed if you place (or change or update already-existing blocks, e.g. via running water) at maximum 2 away from a chunk border, however, it seems that this only succeeds if the block of a neighbouring chunk has a certain light level, presumably just higher than 0 (can be probably better seen if you turn off Smooth Lighting).

It seems the Skylight is normal again at a certain height above the dark area; it appears to be the 2nd chunk above the highest block of affected chunk, e.g.: Dark area, highest block in that chunk at Y=69, Skylight 0; Skylight 15 would be then at Y=96. (69/16=4etc.; 4+2=6, 6x16 = 96). Dark area, highest block in that chunk at Y=105, Skylight 0, Skylight 15 at Y=128 (105/16=6etc. 6+2=8, 8x16=128).

Quick testing video (Hostiles spawn, block placing, night vision effect): https://www.youtube.com/watch?v=959q91bRXmg
Demo Client Light Sky 0/15 dependent on Y-level, and relog fixing dark areas: https://www.youtube.com/watch?v=KjFJOOAkQww

Render distance 16.

Mask3D_WOLF

Relates to MC-214898

migrated

Observed in current 1.17 snapshot at Z=-2225.  Hostile mobs spawn on the line in midday.  Save and Quit and Reopen causes the chunks to be lit again.

Ceresjanin123

Placing a block at y319 causes a few chunks around it to be restored to normal.
The tree issue has been marked as "unrelated and separate iusse MC-125007)
but I find it unsuall that most of the areas with bugged lighting also contain these cut off trees

migrated

ive had the same problem but yours is on a much bigger scale.  maybe it was because i was close to spawn and it made it smaller but i got rid of some of it with torches if you place it on the edge and get rid of the torch.  and i dont know if it was just me, but i saw way more trees and mountains cut off then usual, right at the border of the chunk.

migrated

Still happening in 21w08a

migrated

still 21w08b

migrated

Noticed this too, they are gone when reloading the world though!

migrated

This happend to me on 1.16.5 but they just didnt load. at ALL.

migrated

still 21w10a

migrated

Is this going to be fixed?

migrated

Of course it's going to be fixed, but these are snapshots and large bugs are often pushed until all the features are in. 

migrated

I was doing some tests and noticed that while the lighting updates visually when you put blocks, or, in my case, torches, on the edge, that only affects the rendering, and not things like mob spawning. Then I went into a nether portal and came back, and the area looked almost normal, but the mobs were still spawning in daylight.

[media]
migrated

Happening still in 21w10a

[media]
migrated

Cannot reproduce with intel graphics 3000

Jack McKalling

Even with a light update at the border of one such chunk, like with a jack o'lantern, the darkness is never fully lifted. It comes back when the light block is removed again although the darkness near the chunk's edges might have smoothed out a bit.

When I recreated the world with the same seed, the glitch was gone in that particular place. Seems to be at either random times or random places.

migrated

Is the bug similar to MC-214808?

migrated

Confirmed for 21w13a

[media]
migrated
[media]

Not sure if this is a direct cause from the issue but it looks like it also might break tree generation

migrated

Can confirm NVIDIA GeForce GTX 1060 6GB

migrated

21w14a

lunaStellarii

Definitely confirmed for 21w14a. This all occurs in singleplayer, and can confirm it also happens when running a server at least in 21w13a.  The lighting issue does not disappear with F3+a chunk reloading, but fixed when saving and quitting to title, and rejoining the world.

The lighting glitch is more than just client-side visual, because mob spawning is able to occur in it midday.

[media]

Furthermore, the glitch can be more severe sometimes where the chunk entirely fails to render.  When inside the chunk space, F3 is missing chunk info and states "waiting for chunk" indefinitely.  This cannot be solved with F3+a either.

[media][media]
migrated

Just made a new report for the missing chunk thing, MC-222574, same bug?

migrated

That is probably MC-214808

migrated

Maybe relates to MC-142134?

migrated

Can confirm for 21w14a

If at y=95, it will think you are standing out in the light. If at y=94, it will think you are in the shade.

Setting a block above y=80 will cause the lighting to update. If you set a block below y=80 it will not update.

[media]
migrated

A similar thing has happened to me where I the /fill command and the lighting acts as if it didn't have any blocks above it, making it impossible to turn back to darkness, and this is annoying in my mob farm.

migrated

Confirmed for 21w15a

Brevort

Does this issue seem to coincide with other unusual chunk glitches, such as cliffs stopping sharply on the borders, structures that are partially missing, etc.? I have a similar (but also quite different) issue to this, but I noticed that there were all kinds of peculiarities in the area, such as a messed up ruined portal, a glitched out cave, a half a tree, etc.
Also, does this issue resolve itself upon relogging? Or does it persist?

SeanWasTaken

Yeah, this frequently coincides with other worldgen bugs like half generated trees- this should be marked as relates to MC-125007 IMO, almost every time I see this bug there are half-trees at the edge of it

clamlol

Any chance someone could post a screenshot of this in a version before 21w06a/after 21w14a (with the debug screen)? I can't seem to reproduce it in a standard-height world and would be interested to see if it looks any different from what I ran into during the extended-height snapshots.

Jack McKalling

Cannot reproduce in 21w15a, probably due to the reverted world generation changes, so this is likely not fixed yet.

MMK21

I've attached a screenshot of this issue in 21w15a.

[media]

[Mod] Neko

Can also confirm for 21w15a.

Brevort

Does reloading the world fix this, or does the issue persist?

Jack McKalling

I can reproduce it now again too, maybe I didn't cover enough distance before. This time I've covered over 40k blocks outwards and circled around an entire (huge) desert.

It appears that the lighting glitches occur in chunks that were newly generated in 21w15a. All these lighting glitch occurrences seem to disappear upon logging out and back in, but always come back in different places (so it's not just a first-load problem but doesn't persist either).

Lastly I also experienced this glitch in a 1.16.5 world, HOWEVER that was in a modded game so I still need to check that version back in vanilla.

Brevort

Doesn't seem to be an issue in 1.16.5, though we can't be sure.

Do they sometimes appear to be lit up despite being dark? Like even without night vision or high gamma values?

clamlol

Found some dark chunks again in 21w16a (along with what I believe is MC-125007). Definitely seems less common after the height revert.

lunaStellarii

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.

  1. 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.

  2. 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!

migrated

What about 1.16.5?

migrated

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]
Brevort

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.

migrated

(Unassigned)

Confirmed

Very Important

Lighting

21w06a, 21w07a, 21w08a, 21w08b, 21w10a, ..., 21w13a, 21w14a, 21w15a, 21w16a, 21w17a

21w18a

Retrieved