Hello, I have been trying to follow Unity tutorials to create a multiplayer game using “Netcode for GameObjects.” Unfortunately, I don’t understand everything they explain because I don’t speak English. (This is translated with Chat GPT.) Everything is working well locally, but I got lost in the “Game Server Hosting (Multiplay)” part. Here’s what I did:
-
Imported Multiplay with the Package Manager.
-
Linked the project with Services in Project Settings.
-
Compiled the project for Linux.
-
Created the build on the Dashboard and uploaded the files.
-
Created Build Configurations.
-
Created Fleets in the South America region (currently showing Online status).
-
In Servers, I chose a server and started it.
In the project, I have buttons ‘Server,’ ‘Host,’ ‘Client,’ and as clients join, only a cube with a different color appears.
Questions:
-
How do I make the build I uploaded to the Dashboard automatically establish itself as a server? Is it okay to do it from a Start() or Awake()?
-
What should I change in my project to connect to the server I enabled on the Dashboard and not continue working locally?
Thank you!