This happened to me today, here is the sequence of events. This is in a Realm.
Yesterday, I was playing on Xbox One. My son started the game and I was second player on split-screen. No issues.
This morning, I opened the Realm on my Android device. (I should note, this is very common, I have done it many times in the past without issue.) When the Realm loaded, I started at world spawn with no items or experience.
Moved about 50 blocks, then killed Minecraft app (from app switcher) and tried logging back in, hoping it wouldn't save that state. But I was placed exactly in the same spot. Note that it did save my location, did not place me back at spawn.
Restored Realm from yesterday's backup and opened on Android, I was placed back at world spawn with no items.
Restored Realm from an earlier backup from yesterday and opened on Android, still placed at world spawn with no items.
Restored Realm to latest backup from yesterday but DID NOT open on Android.
Re-created yesterday's login scenario - son logged in first, then my account as second player on split-screen. THIS RESOLVED MY PROBLEM. I was in exactly the spot where I logged out and had all of my items and experience.
So this could be advice to those watching this issue, on how to get their stuff back. At least on Realms, since they back up automatically. On local worlds, unless you have your own backup, you may be out of luck.
Restore Realm to last backup before you were reset.
Re-create your last successful login scenario precisely - same device, same other players.
Your mileage may vary but this worked for me.
Still, obviously this should be fixed.
I was able to replicate this on Bedrock Dedicated Server similar to Foxy No-Tail's video. Dispenser with bonemeal, facing up into a grass block with a poppy on it, with that grass block being the center block of a 3x3 of grass. The server crashed as soon as I activated the dispenser.
If it helps, this was the console output: