mojira.dev
MCPE-175727

Blocks appear bright in dark areas after exiting water with the "Improved Input Response" option enabled

Steps to Reproduce:

  1. Navigate to Settings > Video and enable "Improved Input Response"

  2. Create a new world

  3. Locate a dark cave

  4. Place water in the cave

  5. Enter and exit the water

Observed Results:
After exiting the water, all blocks appear bright. Entities, block particles, and held items appear normal. The issue persists even after reloading the world, and will only go away if the "Improved Input Response" option is disabled and the player enters and exits water again.

Expected Results:
Entering and exiting water shouldn't cause blocks to appear bright.

Video:

[media]

Linked issues

MCPE-175178 Night Vision is Bugged in 1.20.30 Resolved MCPE-175973 Lighting bug on minecraft bedrock edition Resolved MCPE-176108 Blocks not switching to dark at night. Resolved MCPE-176166 Lighting Issue Resolved MCPE-176264 Rendering Glitch: Day/Night Sky and Ground Mismatch Resolved

Attachments

Comments 4

I have a reproducible issue that, on the surface, sounds like the opposite, but which has such similar triggers that I believe it's the same root cause, so I'm describing it here rather than create a separate issue.

I will describe two separate experiments because I believe each hints at a different part of the problem, which only seems to occur when the Improved Input Response toggle is set to ON. The setup for both experiments is the same:

  1. To ensure we are starting from a known state, run Minecraft or quit and rerun it if it was already running. (There is evidence that the issue sometimes goes away if you reload the world several times without restarting the game.)

  2. In Settings > Video, toggle Improved Input Response to ON.

  3. Create a new world using the Taiga Bay world template, setting the mode to Creative, difficulty to Easy, Cheats to ON, and Always Day to ON.

  4. You spawn on a beach beside a cave that leads down into the sand. Move to a point where you can look down into the cave. At first it appears dark, but if you approach it you can see water there with some submerged sandstone blocks.

Experiment 1

  1. Use a /effect command to give yourself night vision. Notice that the dark water turns lighter and clearer.

  2. Remove the night vision effect using a /effect @s clear command. Notice that the water remains light instead of reverting to dark.

  3. Save and reload the world. Notice that the water remains light after reloading.

  4. In the Game Menu (formerly called Pause Menu), go into Settings > Video and toggle Improved Input Response to OFF, then return to the game. Notice that the water is now dark again.

  5. Toggle Improved Input Response back to ON. Notice that the water remains dark instead of reverting to how it looked before the setting was toggled.

  6. Give yourself night vision again. Notice that the water turns light again.

  7. Remove the night vision effect again. Notice that the water turns dark again. This suggests that toggling Improved Input Response off and on again resets something that isn't initialized when the world is loaded.

Experiment 2

(Picking up from after step 4 of the setup. You should be in a fresh copy of the world, looking at dark water in the cave.)

  1. Move down into the water. Notice that at the point where the camera enter the water, the water gradually gets clearer and you can see the sand and sandstone below it. This is the expected transition to underwater vision.

  2. Return to the beach and look back down. Notice that the water is still as light as when you were underwater.

  3. Give yourself night vision again. Notice that the water remains light, unchanged from before.

  4. Remove the night vision effect again. Notice that the water turns dark again. (Note that if you didn't restart the game before Experiment 2, the water will remain light.)

 

I have found a few other causes too:

  1. Place a repeating command block with 0 tick delay that gives you night vision, go into survival, die in any way, and if you have immediate respawn on you might get the opposite (Everything is dark but skybox is bright)

  2. Set the time to night, sleep in a bed (make sure daylock is off), and when you wake up all non-entity blocks will appear dark but will revert back after ~5 seconds

I will edit this comment if I find anything else

I submitted MCPE-177946. It was marked as a duplicate of this. Does this bug track the issue with changing dimensions, too, or is that a separate bug?

  • This bug also affects changing dimensions (but it does not happen 100% of the time). When changing dimensions, the lighting of the previous dimension sometimes persists. For example exiting the nether can cause the nether's ambient light to persist, and entering the nether can cause the overworld's lack of ambient light to persist. This also effects the end,

  • Entering and exiting water requires being in survival for it to trigger, but the changing dimensions part does not require being in survival to trigger it

  • Copying the world doesn't help

  • Restarting the game fixes it

  • I think exiting water triggers it because entering water makes blocks get bright, but exiting water does not remove this effect, 

  • I will test on other platforms and update this comment

 

[Mod] OcelotOnesie

(Unassigned)

1117448

Confirmed

Windows

1.20.30, 1.20.31 Hotfix, 1.20.40.23 Preview, 1.20.32 Hotfix, 1.20.41 Hotfix, 1.20.50, 1.20.51 Hotfix

1.20.60.21 Preview, 1.20.60

Retrieved