When you set your gamemode to peaceful, hoglins should disappear, as hoglins are hostile, but they don't.
Linked issues
Comments 3
Idiot they don't attack they are peaceful it is the same with zoglins they don't attack the player game down this post it was fixed already
Thank you for your report!
We're actually already tracking this issue at MCPE-74135, so I will resolve and link this ticket as a duplicate.
That ticket has already been resolved as working as intended, which means this is not considered a bug and won't be fixed. Please do not leave a comment on the linked ticket.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki