mojira.dev
MC-142134

Light sources spontaneously not working in some chunks

Moderator Notice

In order to fix your existing world, you can try following these steps. Apparently this is just a temporary workaround, so you might need to repeat this once the issue reoccurs again.

Singleplayer: Select world → Edit world → Optimize world → check "erase cache data" → Backup and load

Multiplayer: Start the server.jar with the following command:

java -jar server.jar --forceUpgrade --eraseCache

This only needs to be done once, after this you can start your world or the server the usual way again.

Minecraft Realms: Download the world from your realm, copy it into your Minecraft singleplayer worlds folder, follow the steps for singleplayer, and then upload the world back up to your realm.

Please read

If this is still happening to you, and if you have a backup of the world right before you can trigger the issue, that might help; I managed to get one and consistently reproduce it, and fixed what was causing it, but there might be more to it; if you can reproduce it by

  1. Restoring the backup

  2. Choosing edit -> optimize -> erase cached data (before loading it)

  3. See the issue immediately after loading the world

Then it would be very helpful if you can share your world backup, along with what render distance you're using.

Thanks!

– @unknown in this comment

I found a stairway I'd previously made now pitch black.

I later found other areas (entire chunks, surface to bedrock) showing this behavior as well.

This is not just a visual glitch - the light sources I've used (torch, lantern, and jack-o-lantern) are all nonfunctional. As a result, monsters will spawn in them, and underground crops in these areas will break.

Forcing every single light source to update (or outright replacing them) is the only way I've found to get them to visually working again.

Linked issues

MC-139038 Lighting errors everywhere Resolved MC-142219 Torches Randomly Stop Giving Off Light Resolved MC-142250 Shading glitches in caves Resolved MC-142269 Light-emitting blocks need replacement in certain chunks Resolved MC-142274 Torches fail to create light Resolved

Attachments

Comments 369

I have had this issue and it is DEVASTATING to villages. Try and colonize one and it requires so much more work just to keep monsters from spawning!

Jacob Andrew Jagiella

Can confirm in 19w03b. Definitely affects old worlds; may not affect new.

I can confirm this for 19w03b after converting a 19w03a world. Some torches in an explored cave didn't emit light. Removing and replacing them fixed the problem.

Christopher Lewis

Same! Happened to me when working on a Hogwarts Project!

 

Christopher Lewis

Affected in 19w04b

359 more comments
João de Camões

Two screenshot are attached: the first one shows the way the building is suppose to look like (I reused the design so I have buildings with it that are unaffected by the dark patches), the second is the building with the dark patches. The patches only really appear at night, during day they are not really visible.

[media][media]
João de Camões

Another screenshot of the good one, from the same angle as the bad one:

[media]

This bug is not fixed! Can you reopen the issue? Or do we make another report?

[media]

Is this issue being investigated based on the new reports?

[Mod] violine1101

I haven't had time to look at your world yet. However, I want to really prevent this ticket from being a catch-all ticket for all lighting issues. There are many different lighting issues in the game right now, and from what I have seen, the issue that this issue is about has been fixed, as there haven't been any reports about this issue outside of this comments section. This indicates to me that you might be experiencing a different, but similar issue. For instance, from the picture that you have posted, @unknown, it looks like your issue is actually MC-149518.

If you still experience any lighting issues in 1.14.2, it's likely that they are different from this one. Please create a new ticket if they haven't been reported yet.

Spoon Boy

Fry

Confirmed

Lighting

Minecraft 19w02a, Minecraft 19w03a, Minecraft 19w03b, Minecraft 19w03c, Minecraft 19w04b, ..., Minecraft 1.14, Minecraft 1.14.1 Pre-Release 1, Minecraft 1.14.1 Pre-Release 2, Minecraft 1.14.1, Minecraft 1.14.2 Pre-Release 2

Minecraft 1.14 Pre-Release 3, Minecraft 1.14.2 Pre-Release 3

Retrieved