Steps to reproduce:
Ensure you have operator permissions and cheats are enabled
Look straight down and throw a Lingering Potion of Invisibility
Wait until you take damage, then type /effect @e clear in the chat
Expected Result: You should not take damage, you should stop being invisible, and your world should not crash
Actual Result: Throwing a Lingering Potion of Invisibility causes you to take damage, then typing /effect @e clear in the chat crashes your world and kicks you out to the world select screen
We're tracking this issue at MCPE-233598, so I will resolve and link this report as a duplicate.
If you have any new information to share, please leave a comment on the linked report. If not, add a vote to the report by pressing the "Vote for this issue" button on the right.
If you haven't already, please make sure to search search before creating a report to see if the issue has already been reported. See the Bug Tracker Guidelines for tips on searching for issues.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki