If you are building for Android depends on your settings, but sometimes Unity can strip some code which will cause the multiplayer to not work on Android, to resolve that, just create a new file inside the Assets/Plugins folder and name it link.xml with the following code inside.