Entities (Villagers) cause massive lag when attempting to pathfind
Villagers cause massive tps lag when trying to pathfind. They bob up and down in a 1.5 high hole and every time they do so, this causes a massive lag spike indicating their pathfinding efforts (from the profiler).
Capping them with top slabs resolves the issue by cancelling their pathfinding.
Single pathfinding routine seems to cost way to much? Villagers in the attached world are close to Y0. Is void air properly treated in the pathing algorithm?
Lagspikes are most prominent during the night - when they try to pathfind to their beds.
Environment
Minecraft Java 8 on Windows, 1.14.1 pre1, Vanilla client
Created Issue:
Entities (Villagers) cause massive lag when attempting to pathfind
Villagers cause massive tps lag when trying to pathfind. They bob up and down in a 1.5 high hole and every time they do so, this causes a massive lag spike indicating their pathfinding efforts (from the profiler).
Capping them with top slabs resolves the issue by cancelling their pathfinding.
Single pathfinding routine seems to cost way to much? Villagers in the attached world are close to Y0. Is void air properly treated in the pathing algorithm?
Lagspikes are most prominent during the night - when they try to pathfind to their beds.
Environment
Minecraft Java 8 on Windows, 1.14.1 pre1, Vanilla client
relates to
relates to




async-profiler profile: https://www.dropbox.com/s/x242e4fjxc96l2a/tree-pre1-breeder.html?dl=0
Is this related to Villagers not being able to open doors?
I updated my server, and noticed this as well. I literally just swapped out the jars back to 1.14, and went from unbearably low TPS, 80% being villagers, to a smooth 20.
Is this still an issue in 1.14.1?
Yes, I made my comment after 1.14.1 came out.
Is this still an issue in 1.14.2?
@Johnibur Yes it is. It works for the first minute then the TPS plummets.
Which version are you in @Zachary Johnson?
The one you just asked for. I switched to 1.14.2 to make sure, and the issue is indeed still present. 1.14.2 just fixed the chunk caching, so that the game was playable when the villagers aren't loaded.
Still present in 1.15.2