That random walking of e.g. passive mobs is disabled outside of a 32 block radius around a player is probably done for performance. But it causes issues with monsters tracking players if their "generic.followRange" attribute is increased. This can at most be set to 2048, but e.g. a zombie summoned with …
/summon zombie ~ ~ ~ {Attributes:[{Name:"generic.followRange",Base:100.0}]}
… does not seek out a player that is 50 blocks away. Getting within the 32 block distance and then moving away again does keep the zombie focused on the player, but it does not start tracking outside of that radius.
Thank you for your report!
We're tracking this issue in MC-145656, 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
-- I am a bot. This action was performed automatically! Please report any issues on Discord or Reddit