Possible to connect or to create a hotspot from Unity?

I am looking for a way to connect to a WiFi/hotspot for my multiplayer game on iOS and Android. Instead of going to settings and then connecting manually, is it possible to connect via script in Unity?

I can’t speak for Android, but für iOS it shouldn’t be possible to do that, as this would open up your phone to malacious exploits and pose an incredible risk to the owners privacy (your script could connect to networks without the user’s expressed authority). You should be able to call up the Connections dialogie through script, though.

1 Like