If you want to run any of the multiplayer assets on different machines (client & server), you need to make a special build for your client. (until command line feature is released).

As an example i made a tutorial for two devices in the same local network

Retrieve the ip

Retrieve the ip from command line with the command “ipconfig” or do the following

  • Select Start > Settings > Network & internet > Wi-Fi and then select the Wi-Fi network you’re connected to.
  • Under Properties, look for your IP address listed next to IPv4 address

In my case the ip is 192.168.0.147

Build with static ip

Look for the NetworkManager Object

and then go into the inspector and look for the Connection Data Section

In the address and server listen address and address type in the ip you retrieved.

Then build it and copy the whole build folder to the other machine.

Run all

Start the server on the machine with the static ip

Then open the client and start as client.


0 Comments

Leave a Reply

Avatar placeholder