I didn't see this in any changelogs, but I traced the origin back to 1.16.
When a mob enters a minecart, they are unable to despawn, even if PersistenceRequired:0b. However, they also do not count towards the mobcap. If this is not intentional it is a large issue as it prevents players from creating mob switches, and it creates a workaround of the mobcap to summon a large number of mobs
___________________________
Video Link(Since over 10MB):
Demonstration: https://www.youtube.com/watch?v=B1HyFiHeG4c
Unedited: https://www.youtube.com/watch?v=772LkXR3hXU
Thank you for your report!
However, we are already tracking this issue, and this report is a Duplicate of MC-182897, which has been marked as Works as Intended - this is an intentional game feature. If you have a different opinion, please visit the Feedback website.
Please use the search function in the future to prevent duplicate reports.
Quick Links:
📓 Issue Guidelines – 🛠 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki
💬 Mojira Subreddit – 💬 Mojira Discord