The owner/summoner of a vex is not stored to NBT, which means it is discarded when leaving and rejoining a world.
How to reproduce (22w04a)
Summon an evoker
Go to survival mode
Run the following command to confirm that the final
say
command runs as the evoker/execute if entity @e[type=vex] on origin run say hi
Leave and rejoin the world
Run the same command from 3. again and notice that it can't find the origin of the vexes.
Thank you for your report!
We're tracking this issue in MC-118430, 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