If you build an animal pen. All the animals seem to flock to one corner or side, not moving without force or wheat. This affects cows sheep and pigs, but could also apply to other animals as well. There does not seem to be anything obstruction;g their path finding and there are no baby animals that draws them to that area. I hope you can fix this!
Related issues
Comments

Thank you for your report!
We're actually already tracking this issue at MCPE-45800, so we will resolve and link this ticket as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.