Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-58182

Light sources don't go beyond the chunk they're in

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.16.0.55 Beta, 1.17.40
    • 1.17.40.23 Beta, 1.17.11 Hotfix, 1.16.0.68 Beta, 1.16.0.60 Beta, 1.16.0.57 Beta, 1.16.0.55 Beta, 1.16.0.53 Beta, 1.16.0.51 Beta, 1.15.0.55 Beta, 1.14.20 Hotfix, 1.13.3, 1.14.1 Hotfix, 1.14.30 Hotfix, 1.14.60 Hotfix, 1.16.0, 1.16.1, 1.16.10, 1.16.20, 1.16.40 Hotfix, 1.16.201 Hotfix, 1.17.0, 1.17.2 Hotfix
    • None
    • Confirmed
    • Multiple
    • 299543, 286315, 435059

      Every light source doesn't light beyond the chunk it's in when I have reloaded a previously explored area. It's only for chunks I've already loaded, I'll go caving and mob proof with torches but when I go back to base then return everything gets cut off at chunk lines.

      Additional information added by Auldrick

      Steps to reproduce:

      1. Open the attached world 1.16 Lighting Repro.mcworld.
      2. /tp 290 73 233 90 and notice that all the armor stands appear lit up.
      3. Fly or teleport to coordinates 490, 68, 233.
      4. Either place a light source there or remove the one that's already there. (The point is to cause a block light recalculation in that chunk.)
      5. Fly or teleport back to 290, 73, 233.

      Expected results:
      The armor stands remain brightly lit because they are 2 blocks from a light source.

      Actual results:
      The armor stands are in shadows. If you place a light source near them, the light levels are recalculated. If you then removed that source, the shadow does not come back.

      Analysis:
      There is a chunk boundary between the light sources and the armor stands. When you fly 200 blocks east, you cause the edge of the ticking area to align with that chunk boundary, with the light source on the nearer side and the armor stand on the farther side. The shadow appears in the farther chunk when you cause a lighting update with this alignment in effect.

      People have observed that you can fix the shadow by placing a light source near or in it, but that the fix doesn't persist. I expect that's because placing the light source in the shadow causes a different shadow to appear at the edge of the ticking area as it exists at that time. The player then travels around looking for more improper shadows, finds the new one, and place a light source to correct it. But reciprocally, that causes the original shadow to be at the edge of the new ticking area, so it returns. It ends up being a game of whack-a-mole.

      Workaround:

      You can work around this problem by identifying where the dark shadows are and placing a torch between each one and its nearest light source, at least 4 blocks from the light source. That should prevent the shadows from forming again later. After a fix has been released, you can go back and remove the extra torches.

        1. 1.16 Lighting Repro.mcworld
          5.70 MB
          [MCPE Mod] Auldrick
        2. Annotation 2020-07-31 191304.png
          1.44 MB
          Alan
        3. Annotation 2020-07-31 193s353.png
          3.12 MB
          Alan
        4. Chunk border light fail.jpg
          1.13 MB
          [Mod] GoldenHelmet
        5. Dark in the daytime.jpg
          484 kB
          [Mod] GoldenHelmet
        6. image.jpg
          699 kB
          Leo28456
        7. image-1.jpg
          910 kB
          Leo28456
        8. image-2.jpg
          941 kB
          Leo28456
        9. image-3.jpg
          1.08 MB
          Leo28456
        10. IMG_20211003_121646.jpg
          370 kB
          Popa Ion
        11. IMG_20211003_121705.jpg
          288 kB
          Popa Ion
        12. lighting.png
          1.64 MB
          Arcalida
        13. lighting bug 1.14.mp4
          5.40 MB
          Arcalida
        14. MCPE-58182 1.16 lighting repro.png
          2.84 MB
          [MCPE Mod] Auldrick
        15. MCPE-58182 1.16 lighting repro 2.png
          3.09 MB
          [MCPE Mod] Auldrick
        16. Minecraft (2).png
          2.71 MB
          Jonathan Peters
        17. Minecraft (3).png
          2.76 MB
          Jonathan Peters
        18. Minecraft 10_1_2021 1_04_05 AM.png
          1.07 MB
          Bubba Doodah
        19. Minecraft 10_1_2021 1_04_20 AM.png
          1.28 MB
          Bubba Doodah
        20. Minecraft 10_1_2021 1_05_22 AM.png
          1.61 MB
          Bubba Doodah
        21. Minecraft 10_1_2021 1_05_45 AM.png
          1.28 MB
          Bubba Doodah
        22. Minecraft 11_14_2020 2_37_52 PM.png
          1.25 MB
          gumdropolotl
        23. Minecraft 11_14_2020 2_37_57 PM.png
          617 kB
          gumdropolotl
        24. Minecraft 11_14_2020 2_38_00 PM.png
          496 kB
          gumdropolotl
        25. Minecraft 13-Feb-21 01_15_08.png
          1.16 MB
          Vaughn Thomas
        26. Minecraft 15-Feb-21 19_12_59.png
          1.09 MB
          Vaughn Thomas
        27. Minecraft 15-Feb-21 19_13_23.png
          1.29 MB
          Vaughn Thomas
        28. Minecraft 15-Feb-21 19_29_46.png
          1.69 MB
          Vaughn Thomas
        29. Minecraft Bedrock Corrupted Lighting v1.17.40.23.mp4
          861 kB
          Bubba Doodah
        30. Minecraft Lighting Bug.jpg
          192 kB
          Billy
        31. Screenshot_2020-04-17-22-00-35-324_com.mojang.minecraftpe.jpg
          683 kB
          Sumit Kumar Kar
        32. Screenshot_2020-04-17-22-01-49-961_com.mojang.minecraftpe.jpg
          742 kB
          Sumit Kumar Kar
        33. Screenshot_20200503-225641.png
          422 kB
          Natthan
        34. Screenshot_20200510-154710.png
          701 kB
          John Francis Bello
        35. Screenshot_20200525-203131.png
          804 kB
          Samuel Golden
        36. Screenshot_20210324-190046_Minecraft.jpg
          1.06 MB
          Sherman Barker
        37. Screenshot_20210324-190046_Minecraft-1.jpg
          1.06 MB
          Sherman Barker
        38. screenshot-1.png
          872 kB
          Tony Todler
        39. screenshot-2.png
          446 kB
          Tony Todler

            BaneofReality Samuel Golden
            Votes:
            242 Vote for this issue
            Watchers:
            70 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: