Question by
SlugeR · Feb 10, 2019 at 09:47 AM ·
networkingcommand-linematchmakingportarguments
How to pass argument(port) when starting a game built with Unity
Hello guys, I'm making a multiplayer game and will need to start multiple dedicated servers (linux build). Since these servers will need to work on the same machine, I'll need to somehow set the port everytime I start a new server instance. Is there a way to pass an argument "port" so a unity built server would see it when it starts?
p.s. I know how to set ports and everything inside unity, I just need a way to communicate between linux comand line and server.
Comment
Your answer
Follow this Question
Related Questions
Is there any way to do automatic p2p matchmaking system via Unet? 0 Answers
UNITY PROBLEM 2 Answers
Unity Unet own Matchmaking 2 Answers
Matchmaking and filtering in it 0 Answers
Unity Networking Cannot Join Match - Room Disappears 1 Answer