Some mobs spawned on top of buttons (spawned from a spawn egg) will not move. Mobs that are chasing players or villagers will always jump around buttons similar to fire however they can randomly successfully pathfind through buttons while jumping.
To Reproduce
1. Spawn mob on top of button (make it 3x3 and crouch to spawn mob)
2. Mobs don't pathfind or move
Alternative version
1. Spawn hostile mob one block away from button
2. Go to survival
3. The mob chases you but jumps around the button and rarely stop
Linked issues
relates to
Attachments
Comments


The reason they path find like that is, there is this mechanic in Minecraft that mobs recognized buttons as a solid block. Thats why in mob farms in minecraft include buttons so that the mobs will walk to the edge on purpose. Sorry for bad english

And if you put it like that they think there trapped and they want to escape.

This issue was reportedly fixed in 1.16.100.52 Beta (as a side effect of the fix for MCPE-47075). We will leave this ticket open until the fix is migrated into the regular release. No date can be given for that release.
Missing 1.14.60.