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

Client-Side Chunk Caching Error Leading to Block Entity Anomalies

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.51 Hotfix, 1.20.70, 1.20.71 Hotfix, 1.20.73 Hotfix
    • None
    • Confirmed
    • Multiple
    • 1181224

      Summary:
      This bug report addresses a client-side caching issue related to the handling of subchunks in Bedrock Dedicated Server (BDS), leading to anomalies in block entities. This issue seems specific to environments using subchunk caching, as similar tests on third-party servers like Nukkit and Geyser, which use full level chunks, did not exhibit this problem.

      Steps to Reproduce:
      1. Player 1 is in a location with multiple campfires.
      2. Player 1 teleports to a distant location.
      3. Player 2 destroys the campfires at Player 1's original location.
      4. Despite the destruction, Player 1 does not receive the update about the destroyed campfires.
      5. Player 1 teleports back and observes that the campfire particles still exist.
      6. Player 1 places a chest (or any block with an entity) at the original campfire location.
      7. This results in a collision box anomaly for Player 1's chest block entity.
      8. Attempting to open this anomalous chest causes the UI to freeze, requiring the player to exit the game to resolve the issue.

      Expected Behavior:
      Upon leaving the area, block entities should be unloaded correctly from the client's memory, especially in environments using subchunk caching. This unloading is crucial to ensure that when a player returns or receives updates about changes in that area (such as the destruction of campfires), the client reflects these changes accurately. The absence of this behavior in servers using full level chunks suggests that the issue may be specifically related to the handling of subchunks in BDS.

      Actual Behavior:
      In the BDS environment, which presumably uses subchunk caching, the client retains outdated subchunk data. This leads to collision box anomalies and UI freezing when interacting with newly placed block entities in the affected area.

            dofes dofes
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: