mojira.dev
MCPE-175100

Gameticks drop to about 1 per second around active villages/villagers pathfinding

Big edit: I have been able to reliably repeat this by making a dispenser with a redstone clock dispense 64 villagers and then placing in a single zombie. The moment they all recognize the zombie and start moving, the game ticks drop severely. Making a large amount of villagers with work stations and beds does the same thing slowly over time. 

Activating glitch:
https://drive.google.com/file/d/1YHU7-vNxjF_s9QRHou1vGKyEshdjEV9R/view?usp=drivesdk

Deactivating glitch:
https://drive.google.com/file/d/1LmGXY-LaKKuAbQsLdCNi5w299yj9CvbG/view?https://drive.google.com/file/d/13RNOHcdBjvKk70VNILhWGAjj3SSmoZvf/view?usp=drivesdk

You can tell the bug stopped as soon as the xp for the zombie appeared.
I loaded up a backup of my main world, ran the command /kill @e [type=villager] and the issue was solved instantly. Everything is working at normal speed now.
________
Smaller edit: Here are some other notable clips I’ve gathered. 

Villagers lagging so hard that they unload:
https://drive.google.com/file/d/1SaS8-NOtKav4IkVfWdpQCMrG1wYJfJMM/view?usp=drivesdk
__________________
I am experiencing a horrendous amount of gametick lag near (large amounts of) hoppers and other redstone components working villagers in Bedrock 1.20.30. This was never an issue before this new update in my world. My frames are fine but it's as if the game is working at 1 tick a second. Everything is in slow motion when those chunks are loaded. Mobs move extremely slowly and redstone components also. The day night cycle is also affected. I can move away from those chunks and suddenly the game goes back to normal with mobs moving at normal speed and no issue. What's going on? My game is unplayable around my base now. I have loaded up worlds with large amounts of villagers and they operate fine. I really think it's lag created by redstone components or maybe trapdoors and other nonsolid blocks villagers.

Here are some video clips demonstrating what I’m talking about:
https://drive.google.com/file/d/13cjFAXWCJLKesiCNtYIg28FJ-dvLmAFG/view?usp=drivesdk https://drive.google.com/file/d/1JdvnfA5zRJakSoHd3ptgD9YzPGXG3ujS/view?usp=drivesdk https://drive.google.com/file/d/1quWLJfdRBQ6LG8T8zgSFELhLT6uK1Fgo/view?usp=drivesdk https://drive.google.com/file/d/1tHraAMfSJsjToTKN4hZCw6OhAFvLL7R4/view?usp=drivesdk

Linked issues

BDS-18735 The game seems to be moving in slow motion. Resolved MCPE-175095 Significant delay in the world after 1.20.30 update Resolved MCPE-175096 Minecraft Delay Bug Resolved MCPE-175111 Villagers are causing poor performance Resolved MCPE-175125 Mobs are causing severe lag in 1.20.30 Resolved

Attachments

Comments 37

[Mod] Umija5895M

FPS and ticks per second are only indirectly related. Ticks/second is affected mainly by the number of components the game has to "simulate".

Approximately how many redstone components are you using?

It’s hard to give an exact number but I didn’t experience any of these issues in 1.20.20 so I don’t think my current number of hoppers, pistons, etc would be too many for concern. It’s certainly a lot of farms but not enough to make the game crawl to this much of a snails pace. My day night cycle is easily about an hour now. 

Is the area where this occurs the area that you first loaded into after the update?

Yes, it is the area I logged in for the first time in. A backup of the same world that I hadn’t played in a month also has the same problem even though other worlds of mine don’t, though.

27 more comments

EDIT: Without changing anything since the 1.20.31 update, this now seems resolved!

I am still experiencing this on 1.20.31 on Nintendo Switch in a multiplayer server.  The game seemingly pauses for 4-5 seconds every 2 seconds or so.

The area that I notice it has:

  • 20 villagers in a trading hall. They are free to roam between their beds and workstations. The entire hall is carpeted if that would affect pathfinding.

  • The automatically spawned in iron golems and cats from the above villagers.

  • ~50 cows

  • 2 sheep

  • 10 bees

  • 4 pistons constantly running

  • Hopper minecart constantly moving

  • ~60 hoppers

For me, the issue seems to be gone with the update to 1.20.31. No more lag! Everything is working as normal.

For ongoing freezes and situational lag on Android devices please follow MCPE-175116. For other devices please make sure that your app and any server you are connecting to has updated to 1.20.31, and then search for a report that covers your specific situation.

The bug in MCPE-175564 may very well be linked to villagers though.


Reply from @unknown:
It might, or it might not. But in any case, rather than continuing to comment on this (MCPE-175100) report, please try to add more details to your new MCPE-175564 report. It would be especially helpful if you can narrow down what is going on in the world and add that to the Description in that report.

This is not resolved, it's still happening in 1.20.40

theconmcdon

(Unassigned)

1109117

Community Consensus

Multiple

Xbox Series S

1.20.40.21 Preview, 1.20.30

1.20.31 Hotfix

Retrieved