mojira.dev
MCPE-194207

When ray tracing is enabled placing or breaking blocks causes surrounding blocks to flicker

When breaking or placing blocks with ray tracing enabled, surrounding blocks flicker.

Steps to Reproduce:

  1. Load any ray tracing-capable resource pack.

    • Optimally use an empty RT capable resource pack, there is one attached for convenience.

  2. Enable ray tracing and join a world.

  3. Break or place blocks and observe flickering.

Evidence video attached.


Notes:
There is another old bug that makes enabling RT difficult, to turn it on properly before testing:

  1. Activate RT-enabled pack.

  2. Join a world.

  3. Turn on ray tracing through video settings

  4. Exit to menu and rejoin.

  5. Then test for this bug.

This bug started happening in 1.21.70 Previews and persists in 1.21.70 release and 1.21.80 Previews

Linked issues

Attachments

Comments 13

Attaching a video of the issue from my duplicate report:

[media]

Looks like it’s chunk updates causing the bug, not just placing and removing a block.

Here’s a video of this happening with Redstone. https://streamable.com/c54lzx

Updating a block’s state (e.g. switching a vault block between active and inactive states constantly) should also be causing this if chunk updates were the trigger.

Redstone contraptions that move blocks do trigger this glitch, while block updates do not seem to.

If a block (other than air) is already placed, replacing it for instance via setblock command should not trigger this issue.

For now placing by hand is the most reliable way to reproduce this issue.

Having the exact same issue, very frustrating. When mining in the nether I feel like I’m playing in x-ray mode being blinded by a strobe of flashing images

Sometimes when i restart my game it fixes this bug

[media]

3 more comments

pls fix it, i cant play the game without rtx😭

Further analysis
Key Observations:

  1. This is not unique to the Windows Platform. The same issue occurs on Minecraft Education Preview 1.21.80.1 and by consequence, GNU/Linux (Wine) as well.

  2. This bug is not uniform, and it doesn’t affect every world. It only affects some worlds, particularly ones that are large in size.

  3. This bug does affect gameplay heavily and pretty much makes playing the game unplayable on worlds with a lot of moving blocks loaded within a chunk

Technical breakdown:

This bug is caused by a heap overflow within the game when it comes to calling irradiance cache updates. This is evident because in the snapshots captured during the time frame in which this bug occurs, RtlAllocateHeap fails. The game manages to correct itself and rellocates the buffer in order to avoid crashing.

P.S: It’s surprising this passed CI.

Hello, why this isnt fixed yet, this is a game breaking bug. Affect all rtx enabled player

Yeah this is really bad, especially painful when strip mining or quickly mining sand etc…

This seems to happen for any block update - including pistons that move blocks.

Cubeir

(Unassigned)

1397501

Confirmed

Windows

Windows 11

1.21.110.26 Preview, 1.21.110.25 Preview, 1.21.110.20 Preview, 1.21.100.24 Preview, 1.21.80.21 Preview, 1.21.80.22 Preview, 1.21.70, 1.21.94 Hotfix, 1.21.100, 1.21.101 Hotfix

Retrieved