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

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 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
    • 1.16.0.55 Beta, 1.17.40
    • None
    • Confirmed
    • Multiple
    • 299543, 286315, 435059

    Description

      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.

      Attachments

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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                CHK: