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

Hoppers pushing full shulker boxes into a shulker box or items into full chests causes server lag

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Resolution: Unresolved
    • 1.18.0.20 Beta, 1.17.40.23 Beta, 1.17.40.21 Beta, 1.17.30.22 Beta, 1.17.30.21 Beta, 1.17.30.20 Beta, 1.17.11 Hotfix, 1.17.10, 1.16.220, 1.14.30 Hotfix, 1.14.60 Hotfix, 1.16.221 Hotfix, 1.17.30, 1.17.32, 1.17.33, 1.17.34
    • None
    • Confirmed
    • Multiple
    • 349991

    Description

      To repro, Fill 5 shulkers full of items, place those five shulkers into a hopper. Face that hopper into an empty shulker.  Next steps prove that it isn't client side 

       

      Large amounts of lag will occur. The easiest way is to go to another dimension or an area a long way away (as a way to show it is server/host side not client side), and place gravity blocks while the hopper with 5 full shulkers are loaded on a second players device. This will cause entity rubber banding and block placement lag server wide.

       

      Empty or partially full shulkers seem to cause less lag, this leads to the assumption that the data in the shulker is a contributing factor to the lag. Based upon this, the assumption is that the data in the shulker is put a transfer request then canceled ever tick,

       

      https://youtu.be/eTPg_hXs8hM world file is attached.

      A gametest was created to directly show the measurable lag. see BedrockTechnicalTestTools.mcaddon 

      lag:shulker_lag is the test for bring the shulkers in

       

      lag:check_lag uses the time function in java script to measure the time between ticks...

       

      Attachments

        1. BrokenRealm.mcworld
          204 kB
        2. empty-chest.png
          empty-chest.png
          2.79 MB
        3. filled-chest.png
          filled-chest.png
          2.30 MB
        4. hopper-broken.png
          hopper-broken.png
          1.59 MB
        5. TechnicalTestingFrameworkBP.mcaddon
          50 kB
        6. TechnicalTestingFrameworkRP.mcpack
          546 kB

        Issue Links

          Activity

            People

              ravinmaddhatter MadHatter
              Votes:
              91 Vote for this issue
              Watchers:
              25 Start watching this issue

              Dates

                Created:
                Updated:
                CHK: