Very simple steps to reproduce:
/summon minecraft:vindicator ~ ~1 ~ {PatrolLeader:1b,Patrolling:1b,Johnny:1b}
summon a Illusioner next to they
summon a husk next to they
Wait for the husk to die
Observe the phenomenon. The Illusioner can see the Husk trying to attack permanently even though it is dead.
Related issues
Attachments
Comments

Thank you for your report!
We're tracking this issue in MC-48071, so this ticket is being resolved and linked as a duplicate.
That ticket has already been resolved as invalid. Please take a look at the parent ticket (MC-48071) and see if an explanation is provided there in the description of the ticket or in the comments for why this issue is invalid.
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 (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki