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



    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Beta, Beta, Beta, Beta, Beta, Beta, 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
    • Fix Version/s: Beta
    • Labels:
    • Confirmation Status:
    • Platform:
    • ADO:
      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 [MCPE Mod] 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.

      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.


      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
        2. Annotation 2020-07-31 191304.png
          Annotation 2020-07-31 191304.png
          1.44 MB
        3. Annotation 2020-07-31 193s353.png
          Annotation 2020-07-31 193s353.png
          3.12 MB
        4. Chunk border light fail.jpg
          Chunk border light fail.jpg
          1.13 MB
        5. Dark in the daytime.jpg
          Dark in the daytime.jpg
          484 kB
        6. image.jpg
          699 kB
        7. image-1.jpg
          910 kB
        8. image-2.jpg
          941 kB
        9. image-3.jpg
          1.08 MB
        10. lighting.png
          1.64 MB
        11. lighting bug 1.14.mp4
          5.40 MB
        12. MCPE-58182 1.16 lighting repro.png
          MCPE-58182 1.16 lighting repro.png
          2.84 MB
        13. MCPE-58182 1.16 lighting repro 2.png
          MCPE-58182 1.16 lighting repro 2.png
          3.09 MB
        14. Minecraft (2).png
          Minecraft (2).png
          2.71 MB
        15. Minecraft (3).png
          Minecraft (3).png
          2.76 MB
        16. Minecraft 11_14_2020 2_37_52 PM.png
          Minecraft 11_14_2020 2_37_52 PM.png
          1.25 MB
        17. Minecraft 11_14_2020 2_37_57 PM.png
          Minecraft 11_14_2020 2_37_57 PM.png
          617 kB
        18. Minecraft 11_14_2020 2_38_00 PM.png
          Minecraft 11_14_2020 2_38_00 PM.png
          496 kB
        19. Minecraft 13-Feb-21 01_15_08.png
          Minecraft 13-Feb-21 01_15_08.png
          1.16 MB
        20. Minecraft 15-Feb-21 19_12_59.png
          Minecraft 15-Feb-21 19_12_59.png
          1.09 MB
        21. Minecraft 15-Feb-21 19_13_23.png
          Minecraft 15-Feb-21 19_13_23.png
          1.29 MB
        22. Minecraft 15-Feb-21 19_29_46.png
          Minecraft 15-Feb-21 19_29_46.png
          1.69 MB
        23. Minecraft Lighting Bug.jpg
          Minecraft Lighting Bug.jpg
          192 kB
        24. Screenshot_2020-04-17-22-00-35-324_com.mojang.minecraftpe.jpg
          683 kB
        25. Screenshot_2020-04-17-22-01-49-961_com.mojang.minecraftpe.jpg
          742 kB
        26. Screenshot_20200503-225641.png
          422 kB
        27. Screenshot_20200510-154710.png
          701 kB
        28. Screenshot_20200525-203131.png
          804 kB
        29. Screenshot_20210324-190046_Minecraft.jpg
          1.06 MB
        30. Screenshot_20210324-190046_Minecraft-1.jpg
          1.06 MB
        31. screenshot-1.png
          872 kB
        32. screenshot-2.png
          446 kB

          Issue Links



              BaneofReality Samuel Golden
              218 Vote for this issue
              70 Start watching this issue