This unrevolved issue 4 years ago was posted on MCPE-46932, but that ticket failed to mention how to properly reproduce, or solve the problem. If you do
/spreadplayers 0 0 0 1000 @
It will teleport you to the sky at y=319 IF THE CHUNK IS UNLOADED
Additionally, it will occasionally tp you over the ocean as it fails to detect that surface level is water.
Clearly to resolve this issue the program must load the chunk first, or find the correct y-value before tping you to that location.
Thank you for your report!
We're tracking this issue in MCPE-46932, 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
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.