Bees occasionally get stuck on fences, fence gates, and walls
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