Run your Dedicated Servers like a PRO! (Unity Game Server Hosting Multiplayer Tutorial)

Run your Dedicated Servers like a PRO! (Unity Game Server Hosting Multiplayer Tutorial)

Code Monkey

1 год назад

74,346 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@thebiggestdick69
@thebiggestdick69 - 27.11.2023 20:21

Can i just delete unnecessary scenes in Dedicated Server build instead of loading game scene?

Ответить
@Abhishek-mh8zq
@Abhishek-mh8zq - 24.11.2023 09:36

Greate Video Learn Unity Multiplayer

Ответить
@Laumania
@Laumania - 26.10.2023 13:11

Thanks for this info about ClientRpc and ServerRpc - because I just tested dedicated build for my game and it was behaving oddly. I looked a little into but then put it aside as I needed to focus on something more important.
Now while eating lunch I watched this video and you just saved me from HOURS/DAYS of troubleshooting to figure this out!

NGO should for sure log something out, just like they do in other cases where you try and set a server only NetworkVariable etc.
It make sense, maybe, that ClientRpc isn't running on a SERVER - but ServerRpc? Why the hell is that not running on a Server...its a Server you know :P

Else they should have called it ClientRpc and HostRpc.

Really odd - but very happy I know this now, will make it a lot easier to refactor so it works.

Ответить
@hamzamir131
@hamzamir131 - 03.10.2023 17:36

Can we make Different fleets for different regions

Ответить
@Pa3BeDka_Gaming
@Pa3BeDka_Gaming - 16.09.2023 23:00

@Code Monkey, Hi. Tell me this video is where it talks about how to create a server in which the computer does not need to be constantly turned on and there may be zero or more players on the server? (I don't understand English, so I use a translator)

Ответить
@eseyeboss5225
@eseyeboss5225 - 09.09.2023 22:00

I wish there was something out there that showed it working with Mirror instead of netcode

Ответить
@raghav2356
@raghav2356 - 03.09.2023 09:47

so here for each match ,a server will be allocated then there will be a lots of servers or should i make a server build to handling more than a single match ?

Ответить
@paulbronstein7655
@paulbronstein7655 - 15.08.2023 18:55

Hey great tutorial, Is it posssbile to host this server experience on a Web browser domain ?

Ответить
@user-tc6zg8tv4o
@user-tc6zg8tv4o - 30.07.2023 18:11

Can dedicated servers be linked with Lobby so that players can host and join with a code?

Ответить
@KadaXuanwu
@KadaXuanwu - 24.07.2023 12:13

Hey, thanks for the awesome guide! I didn't quite understand if you still need the Lobby and Relay service with a dedicated server? Are lobbies now managed though allocations on the dedicated server, or do we still use the Lobby service to define the rules of when and how players can join?

Ответить
@user-qx6hv4ky2o
@user-qx6hv4ky2o - 13.07.2023 10:39

Hi, is there a way to use UGS with AWS? or transfer the configured project to our servers?

Ответить
@edwinwong7852
@edwinwong7852 - 12.07.2023 18:13

Hi Code Monkey, Awesome tutorial video.

Do you have an existing video on how to manage players creating ID, logging in and how to save and retrieve player character data from server side to the game?

Ответить
@houkouha4427
@houkouha4427 - 03.07.2023 12:11

Are you running one match per one server? Aren't servers priced per amount? Wouldn't it be better to have minimum amount of servers that run multiple games at once? Thank you!

Ответить
@shikharsinghal1568
@shikharsinghal1568 - 30.06.2023 06:43

is it free and available in free personal edition

Ответить
@ossamael-khabch1730
@ossamael-khabch1730 - 25.06.2023 18:10

would you recommend this to a small indie dev ? idk about the pricing of this. lets say i want to make an mmo with like a 1000-2000 ccu, what would be the best option ? thanks for the tutorials <3

Ответить
@carlsjr.9338
@carlsjr.9338 - 06.06.2023 05:57

Is it possible to create Netcode games with AR Foundation as a dedicated server? I'm having a difficult time finding information about that.

Ответить
@shizkaminFa
@shizkaminFa - 31.05.2023 16:41

can pls make a tutorial on how to make lan game with photon Pls

Ответить
@user-lj4cz3gm6y
@user-lj4cz3gm6y - 31.05.2023 16:11

Thanks for this awesome tutorial. I am getting this error while joining : Server having issues (Query didn't respond or responded incorrectly [DOWN]) for 120 seconds (Restarted 0 time(s))
Failed to connect to server.

Ответить
@brunofreitas7192
@brunofreitas7192 - 25.05.2023 07:49

My project uses the services APIs to allocate servers as I saw in your tutorials, and everything works great on unity, but when I host the WebGL build and try to send a post to the Unity services APIs it gets blocked by CORs. If I was the server owner It would be possible to just set the right servers headers, but since Its Unity apis I cant change it. The worst is that it makes no sense that Unity has no CORs headers on the APIs because that means no WebGL build would be able to acess it.

Ответить
@negudev
@negudev - 21.05.2023 22:48

I prefer Photon (free for development) because Unity multiplayer server service have not a free tier, only a credit for $800 for 6 months that really is not is very usable in almost indie projects that can take years of development.

Ответить
@tim_developer
@tim_developer - 19.05.2023 15:27

How can I deallocate the server?

Ответить
@chuckatronics
@chuckatronics - 12.05.2023 02:57

Do I need a PC for the server or does unity have there own like a 3d party or do I run the server on my PC or whatever

Ответить
@fv4202x
@fv4202x - 29.04.2023 01:25

What is regular linux build? I never heard of it before I dont know what to do

Ответить
@study6249
@study6249 - 28.04.2023 08:19

Can i use multiplay with lobby

Ответить
@burgerandfries7166
@burgerandfries7166 - 19.04.2023 02:11

Hello I was just wondering for the servers when testing do you have to upload the files to the build every time you make a change? Also how did you define DEDICATED_SERVER so the server will run that logic

Ответить
@vdimension6300
@vdimension6300 - 17.04.2023 13:59

Someone build a statue for Code Monkey!

Ответить
@Taki7o7
@Taki7o7 - 16.04.2023 20:26

But that way i have to pay all the servers or no? I would like to give people the option to host their own dedicated server instance on a windows or linux machine and just have some masterserver maybe, or working with steam or playfab, etc. This way, you can't really make a free game out of it without monetizing it somehow to pay the servers. Sorry if i misunderstood something.

Ответить
@adeel4410
@adeel4410 - 29.03.2023 07:17

Hi codemonkey,
should I watch you videos "matchmaking and Server Hosting) after completing the multiplayer tutorial for kitchen chaos? Or there is no relation between them.

Ответить
@zayedc7348
@zayedc7348 - 28.03.2023 20:16

Could you do a tutorial about how to implement a production-ready Client-side Prediction for a fast-paced multiplayer game?

Ответить
@wajidali22103
@wajidali22103 - 27.03.2023 12:02

Pun 2 is alternative of unity game server??

Ответить
@FlotzOnYou
@FlotzOnYou - 25.03.2023 04:32

Great video and thanks for making guides on new features and systems!
A quick question for the people who have experience with the service - what does Unity offer as part of the free tier plan? Is there a free tier anyway? 🤔

Ответить
@VhutshiloNesengani-mv1gz
@VhutshiloNesengani-mv1gz - 24.03.2023 22:16

Where do we get the Linux build files?

Ответить
@alexr217
@alexr217 - 24.03.2023 10:41

It would be great to see a tutorial on alternative multiplayer approach using p2p connections and free lobby/relay services, for example Epic Online Services. Because I think Unity services are too expensive for an indie dev. As far as I know EOS are free, and bindings for Unity exist.

Ответить
@lucasmontec
@lucasmontec - 24.03.2023 06:38

Only when unity sponsors someone, that they find their tools useful.

Ответить
@mrsalai_
@mrsalai_ - 24.03.2023 00:26

How much does 50 average player cost for a month?

Ответить
@LegendSeekerX
@LegendSeekerX - 23.03.2023 07:13

After setting up a service account I seem to get a 401 Unuathorized error when trying to call the "List servers" web API call. I wait until the unity services is initialized and the anon login happens but I still get 401. Any tips?

Ответить
@yeti8423
@yeti8423 - 23.03.2023 04:37

I trying to find tutorial for make an account on server and how to send and use a data like character items, experience. All uing netcode for game objects. Using cloud save.

Ответить
@andhikadimas6345
@andhikadimas6345 - 22.03.2023 09:41

I have a really pain headache solving memory usage issue with Unity Multiplay. Did you experiencing big memory usage increase sometimes when player join/leave? The issue is not happen with windows dedicated server build tested on local, but happen in Multiplay with Linux build. Maybe this issue won't matter with 4 players in 1 rooms, but for City Hub that will contains 100 players is a really big problem!

Ответить
@RealKrvo
@RealKrvo - 22.03.2023 03:06

i love this man so much

Ответить
@twi57ed
@twi57ed - 21.03.2023 09:44

Run servers like a pro? And Apex in the thumbnail?!
Are you ok, bro? lmfao

Ответить
@watercat1248
@watercat1248 - 21.03.2023 07:31

I have a few questions

1. I'm able to create a game the have lan game and indernt with the new unity Networking system ?
2. This indernet service are free and if not it's expensive ?
3. If create 1 server am able to make the Player to create the own custom mach inside on this server ?

Ответить
@tienshido
@tienshido - 19.03.2023 07:10

Hey code monkey, is there anything I have to do differently using a Mac and for launching into the App Store? My main desire is iOS games.

Ответить
@LifeCodeGame
@LifeCodeGame - 18.03.2023 16:23

Great tutorial! I learned a lot about game server hosting and can't wait to try it out.

Ответить
@rambii.
@rambii. - 18.03.2023 02:43

Can this be used with Unity’s 3rd party networking solutions like FishNet and Mirror? And are Unity dedicated servers are able to handle a lot of traffic from large scale games, like MMORPGs?

Ответить
@Nickb404
@Nickb404 - 18.03.2023 02:12

You are amazing and a legends thank you, I have made significant breakthroughs on my game dev & programming journey thanks to you.

Ответить
@bakerfx4968
@bakerfx4968 - 18.03.2023 00:38

A video I would loooove to see is how to create a user login system (wow is my inspiration) where you can have characters tied to your account and stuff.
I attempted something similar using firebase a while back but was worried about security on the database lol

Ответить