When I open Minecraft while using wifi it does not load and crashes in loading screen. When I open Minecraft on data it is working, but I can not play multiplayer. If I change into wifi after pressing random button in menu it crashes and stop working.
Linked issues
Comments

Thank you for your report!
However, this issue is a Duplicate of MCPE-61689.
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:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki