Mobs with nametags still despawn. I have been playing my creative world recently. I had spawned a llama and named it. A few weeks later the llama had despawned even when it was named. Another situation had occurred in late 2020, I had spawned a bunch of untamed wolves and named them. I did not tame them. A few days later most of them were gone and there were only 10 left. Hoping this is fixed soon. The mobs couldnt have escaped because they were inside a fenced in area.
Related issues
Comments

Thank you for your report!
We're tracking this issue in MCPE-21416, 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 haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki