Everytime you create an iron golem on a village, it seems to not follow its character programming and ends going away from the villages as it was a animal mob or something.
It still attacks zombies and skeletons, but it doesn't seem to work in raids.
We're tracking this issue as MCPE-46240, so this ticket is being resolved and linked 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 aren't already, please don't forget to use the search feature, the less time volunteers spend linking duplicates the more time we have to update new reports.
Voting on an existing report has a greater impact on getting the bugs most important to you fixed!
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki