The bug
If fences are between you and bees, if you hold either a lead (pulling them toward you) or flower to make them follow you, bees get stuck at the top of fence because they cannot pathfind to fly over it to get to you.
This leads to them just being barricaded by the taller hitbox instead of pathing over the fence.
This also occurs if they fly over a fence on their own, and does not require a player.
To reproduce
Build a fence that divides an enclosed area
Spawn some bees on one side of the fence
Go to the other side of the fence
Hold a flower to get the bees to follow you
→ ❌ Some bees will get stuck at the fence
Video
[media]Related issues
relates to
Attachments
Comments


Still in 19w35a

the bees after being blocked near the fences do not try to change direction or to fly higher to go beyond the obstacle, even if pushed in other directions they tend to return towards the fence, not even returning to their hive after a while. It occurs best with
[media]diagonally connected fences
[media]
I can confirm this is still a problem in 19w37a

Still apparent in 19w40a
[media]
Still occurring in 19w42a - The fence is straight in this case and if the bees pushed long enough, the bees will dislodge and return to normal behavior before encountering the fence again.
https://gyazo.com/873daef4a3f281c633e8a431b39c6013

I'm still seeing this in 1.15.2. If I replace the fences with 2-block high walls of dirt, the problem goes away, but the bees keep trying to pathfind through the fences to get back to their nest/hive.
@unknown, could you create a new ticket about that then (if we don't have one already)?

still having issues here MC-210136
system wont allow me to open a ticket because it reads as a dupe and resolved with this ticket

still happens in 1.16.5, please unresolve

This still occurs frequently on 1.18.1. Punching the bee is a good way to get it unstuck, but then I have to run away from it for awhile until it de-aggros.

affects 1.17

still occurs in 1.18.2

I don't understand why this is marked as resolved, it is absolutely still happening in 1.18.2