Hello all, I am creating a multiplayer game using Mirror and I am new to networking, I have made my game fully functional on both clients, but I can only host and join on localhost. Again I am new and with Unity’s Multiplayer being deprecated I have been doing hours of research and found myself stuck. If anyone knows how I can make hosting and joining rooms (like in Brackey’s Multiplayer FPS series from 17-21 "
@davidmgordon16
I didn’t change any scripts, I started from scratch using that tutorial series, by Tom Wieland. You may have to restart, but that could be a good thing!
For everybody who is reading this later like me: You can put the IP of the host into the Client box(normaly there is localhoste). But the problehm is that your Wifi router will block you. So you have do use a delicited server oder try to trick you Wifi router its very difficulty. But if the host and the client are in the same Wifi network. It would work without problehms.
In order to make connections from outside the host computer’s network possible, you need to portforward the port that the server is running on. This is done in your router settings and normally isn’t too difficult, but it’s slightly different for every router, so your best bet is to do a Google search for “how to portforward” and include your router model & brand
well, im new to mirror, been trying it to understand how it work and so on
i made a small test game, and decided to try hamachi, and well, it worked nicely
not the best solution, but for simple tests, works ok =)
hi, @mischa2k@Tornadoally@tomweiland@unity_Y0Ec4trCptbzTA I’m new in multiplayer game with mirror networking and I’m still learning. I want one help from you guys, how I join random room and if there is no room available then create its own room. is there any way to do that. if you have any solution with the script please provide.
As an alternative to existing third-party services and if you are interested in hosting a server-authoritative Mirror-based game on a dedicated server of your own, our Dedicated Server Kit was specifically created to help with this. It is the evolution of Master Server Kit, which did the same thing for UNET-based games.
It is a paid asset with no associated subscription costs and it is intended to be used as a starting point and reference for building your own backend. Please note this option means you are solely responsible for the administration and running costs of your server.