Shulker boxes placed in the world loses content when the world is closed, and opened again. This has happened in the last three snapshots.
I've done testing with both old worlds, and new created in the snapshot.
Shulkerboxes stored in chest seems to hold contents.
Linked issues
Comments

Thank you for your report!
However, this issue is a Duplicate of MC-138938.
If you have additional information, please add it to that report.
Please search before reporting, as it's likely that one exists already.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki