It's gotten so bad for me I just about threw my switch. I've lost over 60 villagers, 40 all at once with 10 cats, 7 sheep/cows, and 13 different minecarts the first time. Second time another 20 villagers, another 13 cats, and another 10 minecarts. This has effectively broken every single one of my farms, some before I could even finish them. Until this is fixed It's pointless to even play because you'll just have to keep replacing any entity every time you play.
I'm pretty sure it's something with the auto save, I was afk overnight on my single player world. It stayed loaded through the night, when I woke up all of my entities were gone. I was right next to my iron farm the whole time. My world never stopped running and they disappeared while loaded. This happened to me twice, both times were after prolonged playtime, and while the world was actively loaded. The second time it happened immediately after a lagging autosave right in the middle of loading my iron farm with new villagers. I could probably recreate it again on this world but if I'm going to go through all of that work again I'm going to need someone who understands the programming side a lot more than I do to accompany me. It's happening pretty reliably on this world and it's definitely happening during active play. Using the save and quit option in certain areas or whatever isn't going to save you from this glitch.
P.s. don't use hoppers to pull items from your shulker boxes, lost the entire contents of 3 boxs just by leaving the nether and returning 5 minutes later. I checked every container in the system and it's completely gone most of it was netherrak but at least 9 pieces of ancient debris and 4 stacks of quartz gone.