alvyxaz / barebones-masterserver

Master Server framework for Unity
476 stars 106 forks source link

Creating a Game: "Client Failed to Connect to Game Server" (using Quick Setup Example on Remote Server Connection) #207

Closed gotanidea closed 6 years ago

gotanidea commented 6 years ago

The Quick Setup example works locally, but the game (the SimplePlatform example game) always shuts off when the user creates a Game Server. There is a message after the user clicks the Create Game Server button:

I have tried to use this batch mode command when running the MasterAndSpawner.exe on the remove server, but the game still crashes:

MasterAndSpawner -msfStartMaster -msfStartSpawner -msfMachineIp 18.118.111.118 -msfMasterIp 127.0.0.1 -batchmode

Are there other settings I have to change before deploying the MasterAndSpawner.exe and the GameServer.exe to the remote server?