Setting up a Dedicated Server for a Multiplayer Game in Unity

  Рет қаралды 80,249

Shrine

Shrine

Күн бұрын

Пікірлер: 183
@Daltonyx
@Daltonyx 2 жыл бұрын
For anyone who comes across this and gets stumped as to why your server won't accept the connection, it's because in the video the network manager uses telepathy by default, whereas now it uses KCP! In your servers firewall, set the rule to tcp AND UDP to resolve the issue! Drove me freaking nuts for hours haha
@LuckyLucasLife3L
@LuckyLucasLife3L Жыл бұрын
Thank you so much for that!
@ogulcanzorlu
@ogulcanzorlu 3 жыл бұрын
This series should continue! Optimization and Network Visibility could be the next topic. Hope to see more.
@xzippyzachx
@xzippyzachx 4 жыл бұрын
Yes! I get lots of people asking me how to setup a cloud hosted dedicated server. I will be directing them here now. :p
@patapizza3382
@patapizza3382 3 жыл бұрын
zippy i found you
@xzippyzachx
@xzippyzachx 3 жыл бұрын
@@patapizza3382 lol
@xzippyzachx
@xzippyzachx 3 жыл бұрын
@Franco Mohammad Flixzone Bad. Bots Bad!
@RogueWorlds
@RogueWorlds 4 жыл бұрын
Can't believe I never thought of using a script to build servers / clients before. Good job as always!
@arturochavezsendra2863
@arturochavezsendra2863 Жыл бұрын
Great content brother. Sad to see you stopped, but I appreciate coming to your channel since you are the one who explained better than anyone else.
@chris.davidoff
@chris.davidoff 4 жыл бұрын
I'm so excited to see more of this! This is awesome to see :) :)
@sotofpv
@sotofpv 3 жыл бұрын
Will there be more videos coming in this series? It's been a year since the last one, and it sounds like you had a lot more in store. It's ok if not, I know how it is, life gets in the way, you get bored and move on, or too busy, or whatever, but should we wait? :) thanks for the amazing videos!
@GeoEngel
@GeoEngel 4 жыл бұрын
So far the best series I've found for multiplayer networking in Unity, stoked to see more! Also a quick heads up for anyone running into issues connecting the client to the aws server, if you're getting to the point where you see the "Server started!" message but not the "server: listening port=7777" message when running Server.x86_64, check your NetworkManager is using a Telepathy Transport rather than a KCP transport under the Network Manager Script's Network Info Transport field. Seemed to fix it for me.
@pierrelamusse8350
@pierrelamusse8350 4 жыл бұрын
Thank I was looking for this comment ^^. But why does this happen ? Telepathy seems to be deprecated. Isn't there a way to do it with KCP ?
@pierrelamusse8350
@pierrelamusse8350 4 жыл бұрын
@@ShrineApp TBH I don't know what all of this is means yet. But when I try to join my game using KCP it didn't work so I switch to Telepathy thanks to this comment. The issue is that the editor warns me that Telepathy is a deprecated component and that is why I asked this question.
@gatorjac
@gatorjac 4 жыл бұрын
Same issue, but even after switching to Telepathy and re-building the server and uploading to AWS, I still do not receive the server started/listening messages. Any ideas?
@jussivalter
@jussivalter 3 жыл бұрын
@@pierrelamusse8350 maybe you have incorrect firewall setup?
@Legendxh
@Legendxh 2 жыл бұрын
To listen KCP you need to add UDP at port 7777 in the AWS Firewall Rules.
@Maximple
@Maximple 4 жыл бұрын
Just what I was looking for! Very concise and informative ❤
@MrJuancho2706
@MrJuancho2706 4 жыл бұрын
Man this is amazing, looking foward to the UDP method! :)
@MrJuancho2706
@MrJuancho2706 4 жыл бұрын
BTW, would be cool if you explain the build code lines you did at the begining, i mean you have been explaining every single code you have been doing :P
@lukass1604
@lukass1604 3 жыл бұрын
@@MrJuancho2706 Kinda self explanatory tho. He just sets some options, like you would in the build settings and then he builds it based on those options...
@joeyohman8112
@joeyohman8112 2 жыл бұрын
Absolutely amazing tutorials, would love to see more!
@MasterBroNetwork
@MasterBroNetwork 3 жыл бұрын
That build script is actually amazing, It makes building for several platforms a lot easier since it's just one button press!
@brainshack9077
@brainshack9077 3 жыл бұрын
Damn what a shame this is the last one. This series had so much potential. By far the most helpfull one I have seen so far. Hope you are okay :)
@revdevstudios
@revdevstudios 3 жыл бұрын
if anyone runs into "error building player because build target was unsupported" make sure you have the linux build support module installed on your unity version. Unity hub -> installs -> your unity version (click 3 dots) -> add modules -> linux build support.
@Blake-Lawton-Dev
@Blake-Lawton-Dev 3 жыл бұрын
Thanks! Saved me a ton of time
@joalampela8612
@joalampela8612 3 жыл бұрын
Lifesaver.
@Gandalf_Le_Dev
@Gandalf_Le_Dev 3 жыл бұрын
Thanks a lot
@MrYanissab
@MrYanissab 3 жыл бұрын
thanks a lot ! I had to reboot unity after !
@caindallm9746
@caindallm9746 2 жыл бұрын
thank you so much
@fierce1340
@fierce1340 4 жыл бұрын
Just finished watching this series! TY so much for creating this! I'm really excited to see more!
@abdoreda7126
@abdoreda7126 Жыл бұрын
These video are amazing
@Exori
@Exori 4 жыл бұрын
Thank you so much for this series.
@Exori
@Exori 4 жыл бұрын
Just subbed on patreon, please keep going :)
@nilla_studios
@nilla_studios 4 жыл бұрын
Great! Waiting for more. I have already setup my $5 server. BTW it's good to have a PayPal donate button. So that I can pay once instead of every month. I am a student and don't have much money 😂
@tauheedgamedev2388
@tauheedgamedev2388 4 жыл бұрын
Great guide on setting up Multiplayer on Unity. 👍
@johnhershberg5915
@johnhershberg5915 3 жыл бұрын
Awesome videos! super helpful. I hope you'll continue this series!
@Soundy777
@Soundy777 3 жыл бұрын
Incredible series! Thank you so much for sharing such well presented & distilled knowledge
@RugbugRedfern
@RugbugRedfern 4 жыл бұрын
Very cool! Is the process similar with Google Cloud Platform, or do you have any other cloud hosting recommendations?
@ShrineApp
@ShrineApp 4 жыл бұрын
yep its more or less the same. GCP is great, AWS is great, Azure is great, doesn't really matter which you go with for a simple VPS
@BrassBoii
@BrassBoii 4 жыл бұрын
Hey dude - Thanks for the AWESOME videos about networking. An idea for a video, could be to both demonstrate and explain Client Authorative behaviour, and Server Authorative behaviour with mirror :D Keep up the good work!
@ShrineApp
@ShrineApp 4 жыл бұрын
yep, theres a vid to explain server auth (concepts not code) on the tutorial roadmap i posted in discord. as for fully server auth implementation unfortunately i dont have enough time for that
@BrassBoii
@BrassBoii 4 жыл бұрын
@@ShrineApp Cool - Thanks for the answear! Maybe i'll make one with implementation, if so, i'll post it on your disc :D Cheers and take care!
@jaicarey7023
@jaicarey7023 3 жыл бұрын
Exceptional... Thank you mate!
@oguz6919
@oguz6919 4 жыл бұрын
awesome tutorials!! please keep going.
@siavashmehmandoost2198
@siavashmehmandoost2198 4 жыл бұрын
Is this series down?!! We are waiting for much more videos! I really like the way you teach
@BrassBoii
@BrassBoii 4 жыл бұрын
It propably takes time to create videos on the side (Supposing he still has his job as Soft Dev) :D
@BrassBoii
@BrassBoii 4 жыл бұрын
@@ShrineApp Just looking very much forward to the next video, wether it's a devlog or a tutorial of some kind :D
@siavashmehmandoost2198
@siavashmehmandoost2198 4 жыл бұрын
@@ShrineApp I know it's not easy to create such videos with that perfect quality! I appreciate what you've done so far man :))
@benyji
@benyji 3 жыл бұрын
Hey shrine, would it make sense for me to build my game and all of its mechanics BEFORE setting it up as a server, or server first?
@grumpysalmon4153
@grumpysalmon4153 3 жыл бұрын
Hi! Love your videos. I'm coming from Photon so really excited to learn Mirror. One question though, is Mirror good for simple turn based games as well or its better is case of MOBA's or mmor rpgs?
@ZachIsAGardner
@ZachIsAGardner 4 жыл бұрын
So does one dedicated server equal one environment for a group of players to have a game in? Meaning you'd have to setup one server per possible match of players? Or is there a way to have multiple separate matches occurring at once on a server? Thanks for the video!
@XboxPlayerPL
@XboxPlayerPL 3 жыл бұрын
This is exactly my question. Currently, I am checking Mirror documentation. There is a component called Network Match Checker. It allows you to create multiple match within one server. Maybe that's the solution?
@atesija
@atesija 2 жыл бұрын
@@XboxPlayerPL Did you ever figure this out? I'm about to do the same things and want to know how to build scalable servers for a playerbase
@lightninglight6888
@lightninglight6888 2 жыл бұрын
Thank you, great work !
@umarautarkhanov8360
@umarautarkhanov8360 Жыл бұрын
Amazing content! Will there be more videos?
@aliseraj1658
@aliseraj1658 3 жыл бұрын
if you add amazon aws in your title it helps your rank in youtube keyword search also your videos are awesome keep up the great work
@harouttatarian3255
@harouttatarian3255 3 жыл бұрын
Awesome tutorial! Wasted about an hour at step 5:21 cause I was running in SSH window as opposed to the local terminal.
@benjaminle383
@benjaminle383 3 жыл бұрын
Hi Shrine, great video! I was wondering: how does your build know to start as a server immediately after being executed. I saw that when you press play in your Unity editor, you are given options to be a host, server only, or client, and then you have to press on "client" to continue. How does your build method know specifically to build a server? In your BuildPlayerOptions, I don't see anything pertaining to that. Sorry if I missed something in the video that already explains this.
@elytech4851
@elytech4851 3 жыл бұрын
Hi, if you're still looking for the answer, it come from the "EnableHeadlessMode" build option in the script :)
@Alex-fp2sx
@Alex-fp2sx 4 жыл бұрын
just one question do i need setup many unity proess to hold different room type game ?
@Refi_studio
@Refi_studio 4 жыл бұрын
Sorry if this is a stupid question, but I'm fairly new with using Unity for multiplayer games. If I understand correctly you just builded a Server version of the game from the last video and then put it into a server so you can connect to it locally and it will host the game for you. I get this part, but what's a bit foggy for me is that normally when the game starts you have the option to choose which role you want to take (Only server, Host, Only Cliant). Does Mirror deal with this, and when the game is in a server build it will automatically choose the only server option for you, or did you had to make some changes to achieve this?
@ShrineApp
@ShrineApp 4 жыл бұрын
If you build in headless mode (tick the server checkbox) it'll run in server mode.
@Refi_studio
@Refi_studio 4 жыл бұрын
@@ShrineApp Thank you!
@LuisOtavioZimmermann
@LuisOtavioZimmermann 3 жыл бұрын
Nice series, man. I always get this message when i try to run the server inside AWS: ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable) Do you know some way to get this working?
@MrYanissab
@MrYanissab 3 жыл бұрын
Hi! How did you solve this please ??
@LuisOtavioZimmermann
@LuisOtavioZimmermann 3 жыл бұрын
@@MrYanissab changed the output mode in unity to don't verify the graph specs on server builds and bypass the default shaders.
@MrYanissab
@MrYanissab 3 жыл бұрын
@@LuisOtavioZimmermannThank you for your reply ! Is it by code or is there an option I am missing ? Thanks !
@LuisOtavioZimmermann
@LuisOtavioZimmermann 3 жыл бұрын
@@MrYanissab by code.
@CMD-tt3dl
@CMD-tt3dl 3 жыл бұрын
@@LuisOtavioZimmermann How exactly I'am new at multiplayer so I dont now?
@mrjmrezende
@mrjmrezende 3 жыл бұрын
Do you have a sample with WebGL Build? Is the same process and only change the transport method to SimpleWebTransport or need to configure something more?
@asafzoref7809
@asafzoref7809 2 жыл бұрын
You are the best please part 6?????
@TheDrenkoShow
@TheDrenkoShow 2 жыл бұрын
Guys help! I have problems at 5:21. Permission denied (publickey,gssapi-keyex,gssapi-with-mic). Any ideas?
@yujiasun4263
@yujiasun4263 2 жыл бұрын
Change the key pair to read only permission works for me
@real_chimps9570
@real_chimps9570 3 жыл бұрын
Great tutorial! I'm having a problem though. When I run the server through AWS, I can see that the server is running properly, but I'm not able to connect. To troubleshoot, I built a Windows server and ran it locally through my own computer, but I still can't connect. I've tried using KCP and Telepathy, but neither have given me success. Any ideas?
@Daltonyx
@Daltonyx 2 жыл бұрын
You ever figure this out? I'm struggling with this currently
@real_chimps9570
@real_chimps9570 2 жыл бұрын
@@Daltonyx Turns out the game itself on the server just took a while to fully load. I gave it a few minutes before connecting and it worked. Also I would double check that your ports are forwarded properly. Good luck :)
@kayumiy
@kayumiy 2 жыл бұрын
I could not find your server on Discord. Let me know exact link please?
@markgianturco5677
@markgianturco5677 3 жыл бұрын
Great tutorial. Is there any way to get this working with other hosting services, or is it hardcoded for AWS?
@CrazyyyLowy
@CrazyyyLowy 4 жыл бұрын
would you like to explain what did write in buildScript? other than that and the few commands on the Terminal I understood everything
@wilprim5383
@wilprim5383 2 жыл бұрын
For anyone using unity 2021+ seeing this and are having trouble making the server run change the BuildScript file at: buildPlayerOptions.options = BuildOptions.CompressWithLz4HC | BuildOptions.EnableHeadlessMode; To this: buildPlayerOptions.subtarget = (int)(StandaloneBuildSubtarget.Server); Also, make sure to open up port 7777 for UDP in your firewall settings if you are using KCP Transport.
@felipejerez6230
@felipejerez6230 Жыл бұрын
Thanks!
@how-to-make-a-game
@how-to-make-a-game 2 жыл бұрын
Thank you so much ❤️❤️❤️❤️❤️
@aravvihannaidu6900
@aravvihannaidu6900 4 жыл бұрын
Hello! can you make a tutorial about port forwarding from mirror? No one has made a tutorial about it. Thanks!
@parhamebrahimi611
@parhamebrahimi611 Жыл бұрын
Thaaaank you so much bro
@shubhoch2368
@shubhoch2368 4 жыл бұрын
Cool tutorial man👌 Can you provide us with list of topics you are gonna cover in this series something like a syllabus if possible and when is your next video coming for this series?
@ShrineApp
@ShrineApp 4 жыл бұрын
see the tutorial roadmap (posted in Discord #info)
@MrJuancho2706
@MrJuancho2706 4 жыл бұрын
Sorry for the spam, but i didnt get what you said from 0:00 to 1:28 or what did you do...
@ShrineApp
@ShrineApp 4 жыл бұрын
just created a simple editor script that builds the unity project automatically (rather than going into build settings > build etc.). code's on GitHub for inspection.
@ludicrous1131
@ludicrous1131 4 жыл бұрын
When connecting to the server instance using the downloaded keypair, is it possible to use cmd prompt instead of the terminal in VS code?
@rafeeqshaik7355
@rafeeqshaik7355 4 жыл бұрын
yes
@ytubeanon
@ytubeanon 3 жыл бұрын
it's really awesome to share all this knowledge... I had a question, I'm planning on using a unity asset that only uses UDP, how difficult would it be, and what would I have to do to make this run using UDP?
@yujiasun4263
@yujiasun4263 2 жыл бұрын
1.Add Kcp Transport component to your NetworkManager 2.Add a Custom firewall rule and use UDP protocol
@ytubeanon
@ytubeanon 2 жыл бұрын
@@yujiasun4263 cheers thx
@siavashmehmandoost2198
@siavashmehmandoost2198 4 жыл бұрын
Thanks man! I know version control by using Sourcetree , Bitbucket and Github, But now I learned how to use it through terminal in Vscode. What about cloning a specific version through terminal. Do we need Sourcetree? Could you please consider this on your next video please? Your tutorials deserve a Udemy course
@ShrineApp
@ShrineApp 4 жыл бұрын
You can checkout a specific commit. There's plenty of amazing Git tutorials out there that explain Git better than I ever could :)
@GaLzZy.
@GaLzZy. 3 жыл бұрын
Hi, great tutorial ! Just wanted to know, when you built your dedicated server, there is litterally no code on it right ? Does the server commands and rpcs are still on the clients like the syncvar and all that stuff ? I'm kinda confused on how this is a dedicated server if there is no logic on the server itself :O Thanks !
@cryptish8696
@cryptish8696 3 жыл бұрын
I'd love to get an answer to this too if anyone has one. New to all this!
@harshithreddy4060
@harshithreddy4060 3 жыл бұрын
yes me too!
@cryptish8696
@cryptish8696 3 жыл бұрын
So, I think the dedicated server is just the same code as the client. Just another build of the same thing. It knows only to run the server code if you use the 'Server build' option when building it.
@przemysawidzczak2438
@przemysawidzczak2438 3 жыл бұрын
So I've got a problem. After the game ends and both players are leaving, the server is still running and you cannot re-join. Any ideas how to fix it?
@caindallm9746
@caindallm9746 2 жыл бұрын
Is it possible to connect to our Dedicated Server from WebGL build ?
@7Chikchan
@7Chikchan 3 жыл бұрын
I opened up port 7777 on aws, but when running server.x86_64 I am getting "Failed to connect to localhost port 23864" .. Which I don't understand why it's trying to connect to this port. I am using KcpTransport instead of Telepath though. But port 7777 is still being used
@Johnny-tw5pr
@Johnny-tw5pr 3 жыл бұрын
No need to spend money on lightsail. Just use the free tier EC2
@Lowskii
@Lowskii 3 жыл бұрын
I follow the steps but when I actually launch the game server on the onine server it stops after saying 'Unloadtime: xxx ms' , after this nothing happens anymore and I have to CTR C to get back to the command line. I also can't connect to the server.
@ivansutherland7411
@ivansutherland7411 2 жыл бұрын
Anyone here getting errors related to shaders not being supported when starting their server?
@aravvihannaidu6900
@aravvihannaidu6900 4 жыл бұрын
Hey man, I have a doubt. I made an fps multiplayer game from Brackey's Unet multiplayer tutorials. But instead of Unet, I used Mirror. Everything worked perfectly. How Can I set up a dedicated server for that? I haven't installed Git(but I can if I need to). Can I just make an Amazon EC2 server and upload the server there? I'm a little bit confused
@ShrineApp
@ShrineApp 4 жыл бұрын
Yes you don't need Git, although it would be a mistake not to use it. Lightsail/EC2 are basically the same thing, different UI
@aravvihannaidu6900
@aravvihannaidu6900 4 жыл бұрын
@@ShrineApp Okay I will install Git, I will follow your tutorials. For further doubts can I ask you in the comments?
@lucazs1779
@lucazs1779 3 жыл бұрын
Is there another program other than AWS? Because I'm not able to set it up
@jonysand4256
@jonysand4256 4 жыл бұрын
Really helpful tutorial! But I got a problem of URP build not able to run on server with some shader issue, and I build the project using the script provided. Any idea about this?
@ShrineApp
@ShrineApp 4 жыл бұрын
sorry bud i dont think that has anything to do w mirror
@TheUnityNoob
@TheUnityNoob 4 жыл бұрын
I have a question does this server only create one room or multiple? Like can this server host multiple rooms? Also can you do a server build on android? I cant find it.
@ShrineApp
@ShrineApp 4 жыл бұрын
Depends on what you mean by room. You can have multiple additive scenes (see the Mirror docs for details). As for hosting on mobile, I'm not sure if Mirror even supports that. You'll probably have to go Linux/Windows/Mac server build and connect as a client w/ mobile devices.
@supercc66
@supercc66 2 жыл бұрын
if i wanna make a battle scene game. so . how to let 2 players into one room. and the server can support many rooms ? maybe one unity server instance to one game? can do that ?
@andrey3061
@andrey3061 3 жыл бұрын
Very usefull video but I cannot understand how you run only the server ? Please, can you send a link on a tutorial or something like that because I haven't found it..
@wolfram3161
@wolfram3161 4 жыл бұрын
Can you make a video how to write server side code, to process things in server?
@ShrineApp
@ShrineApp 4 жыл бұрын
you write client + server code in the same project if you're using mirror
@Gandalf_Le_Dev
@Gandalf_Le_Dev 3 жыл бұрын
Does anyone knows how I could upload automatically my server build on the server ?
@niazm.sameer9088
@niazm.sameer9088 4 жыл бұрын
Will you be doing a video on matchmaking?
@ShrineApp
@ShrineApp 4 жыл бұрын
yea there's one planned on the discord roadmap. will be a while though since matchmaking is extremely complicated
@xaldioDev
@xaldioDev 3 жыл бұрын
To get an array string of scenes paths (Scenes that are added in build settings) var scenesPaths = EditorBuildSettings.scenes.Select(scene => scene.path).ToArray();
@haachamachama7
@haachamachama7 Жыл бұрын
That's smart, i was wondering about that. I saw another dedicated server doing the same thing... a $100 dedicated server asset... lol
@chanceslaughter3237
@chanceslaughter3237 2 жыл бұрын
I am lacking in one step... I have everything going except when I run the server build on the aws server, nothing happens since it doesnt have a boot config... I cannot, for the life of me, find how to create a boot config and make the server actually run the server end of things in the build. Does anyone know how to do this or where I could go to learn how to do this?
@erikchagas1980
@erikchagas1980 4 жыл бұрын
Can you make a PlayFab tutorial?
@ShrineApp
@ShrineApp 4 жыл бұрын
playfab is a pretty wide set of services - ill cover some of those services, but probably not all
@whatamiwitnessing1003
@whatamiwitnessing1003 3 жыл бұрын
Can you do one for Unity's own networking solution?
@haachamachama7
@haachamachama7 Жыл бұрын
Unity deprecated it's networking system, your only options now are Mirror or Photon(as far as i'm aware). But Mirror is pretty much the same as Unity's old system.
@resourcezander
@resourcezander 2 жыл бұрын
help i keep getting this error "Error building player because build target was unsupported"
@nootherkyle
@nootherkyle 3 жыл бұрын
When is the next part coming out bro..
@アレックス-v5c
@アレックス-v5c 3 жыл бұрын
I have a problem when i download the ssh keypair it automatically opens in jetbrain rider and at the terminal step it cant find the key in the architecture
@haiderkamal1106
@haiderkamal1106 2 жыл бұрын
scp: stat local "Builds/Linux/Server.zip": No such file or directory Im having this error. can someone help?
@haiderkamal1106
@haiderkamal1106 2 жыл бұрын
Fixed this by removing the .zip from my Server.zip
@gamedeveloper_1999
@gamedeveloper_1999 3 жыл бұрын
So how many CCU is there? How many users can play at the same time in the server? Is there CCU limit?
@jussivalter
@jussivalter 3 жыл бұрын
Its just a linux server. So no ”CCU” limits here, only bandwith is the limit. CCU limits are just an artificial limits on special services like photon servers etc. Nothing to do with running your own code on generic servers.
@harakiri4350
@harakiri4350 2 жыл бұрын
Is this possible to use with WebGl build ?
@somedevstuff5060
@somedevstuff5060 4 жыл бұрын
Nice
@karansahu7710
@karansahu7710 2 жыл бұрын
how users will matchmake?
@user-th8pr7no5p
@user-th8pr7no5p 4 жыл бұрын
are u gonna teach matchmaking and lobby making
@bestemy1
@bestemy1 2 жыл бұрын
This works with Andoid?
@ahmedmo429
@ahmedmo429 3 жыл бұрын
how can i make "multiplayer" quiz game for android and upload it on google play i want steps recommended video to watch and program to use
@bilalmirza9206
@bilalmirza9206 4 жыл бұрын
I've done everything... im getting the problem at the end... when I run ./server.x86_64 it works... but says KcpTranport Initialized and it doesn't say anything about listening to port 7777 .... What should i do, I'm stuck
@gatorjac
@gatorjac 4 жыл бұрын
I have been getting the same results as of Wednesday this week. I switched the KCP transport script with Telepathy and still nothing. I've posted within the Shrine Discord for full error details and error code/images
@gatorjac
@gatorjac 4 жыл бұрын
Also check GeoEngel post about the issue. Didn't work for me, but maybe it'll work for you
@lukass1604
@lukass1604 3 жыл бұрын
When is the next vid showing up?
@kwartzcollective1542
@kwartzcollective1542 4 жыл бұрын
can you do a tutorial on how to setup a server on our own pc? i would be very useful! (and also the new "find server button in mirror is crap dunno how it works) thanks!
@kwartzcollective1542
@kwartzcollective1542 4 жыл бұрын
@@ShrineApp nice!
@ShrineApp
@ShrineApp 4 жыл бұрын
@Luc Bloom the latter. the former is pretty much same process as what i did in my dedicated server video
@Iigua
@Iigua 3 жыл бұрын
can this server be self hosted?
@hosseintajeddini8643
@hosseintajeddini8643 3 жыл бұрын
hi how ican How can I connect both of them with the hot spot of the phone?, please answer
@OfficialGOD
@OfficialGOD 3 жыл бұрын
Add Prediction
@evilkgaming2653
@evilkgaming2653 3 жыл бұрын
When i launch the server on aws i get lot of errors about shader : Shader Sprites/Default shader is not supported on this GPU Could you help on this please, i can even pay for help , thanks you
@TwoFace262Games
@TwoFace262Games 3 жыл бұрын
Did you find a way to fix this? thanks
@TheUnityNoob
@TheUnityNoob 4 жыл бұрын
Will this work for mobile devices?
@ShrineApp
@ShrineApp 4 жыл бұрын
yep should work fine - all we're doing is connecting to a server :)
@dr.3075
@dr.3075 3 жыл бұрын
@@ShrineApp can you help me for untiy game its online game
@BoomBoomMushroom
@BoomBoomMushroom 4 жыл бұрын
Every time I try and create an Instance in Lightsail it gives me this error : Skip to content Error403 There might be a problem. It looks like you aren't authorized. If you're signed in as an IAM user, ask your administrator to create a permissions policy that grants access to Amazon Lightsail resources and related AWS services. Learn more about required permissions. : Can anyone help me?
@BoomBoomMushroom
@BoomBoomMushroom 4 жыл бұрын
Nvm I fixed it :D If you have this problem let me know I can help you!
@ShrineApp
@ShrineApp 4 жыл бұрын
Can you post a quick summary of what you did in case other people run into the same issue
@plusone8879
@plusone8879 3 жыл бұрын
Hi! thanks for making this tut. I am having an issue running my unity game. every time I try I get this error: no boot config - using default values. I'm confused because the I have a boot.config file in the folder that I am trying to run my game from
@chanceslaughter3237
@chanceslaughter3237 2 жыл бұрын
did you ever figure this out? I havent done anything with boot config but I dont know where to start and cant find any documentation or anything on this.... I have everything working up until this point.
@foxrootking5077
@foxrootking5077 2 жыл бұрын
Can mobile connect to server?
@butcher_banana3745
@butcher_banana3745 2 жыл бұрын
SERVER PROTOCOL IS UDP !!
@druwayu
@druwayu 2 жыл бұрын
Be nice to see how to setup on a private snot using third party stuff.
@lnPower
@lnPower 2 жыл бұрын
tell me what parameters should be on the server to support the operation of this Linux server assembly, I had errors in the logs [UnityMemory] Configuration Parameters - Can be set up in boot.config "memorysetup-bucket-allocator-granularity=16" "memorysetup-bucket-allocator-bucket-count=8" "memorysetup-bucket-allocator-block-size=4194304" "memorysetup-bucket-allocator-block-count=1" "memorysetup-main-allocator-block-size=16777216" "memorysetup-thread-allocator-block-size=16777216" "memorysetup-gfx-main-allocator-block-size=16777216" "memorysetup-gfx-thread-allocator-block-size=16777216" "memorysetup-cache-allocator-block-size=4194304" "memorysetup-typetree-allocator-block-size=2097152" "memorysetup-profiler-bucket-allocator-granularity=16" "memorysetup-profiler-bucket-allocator-bucket-count=8" "memorysetup-profiler-bucket-allocator-block-size=4194304" "memorysetup-profiler-bucket-allocator-block-count=1" "memorysetup-profiler-allocator-block-size=16777216" "memorysetup-profiler-editor-allocator-block-size=1048576" "memorysetup-temp-allocator-size-main=4194304" "memorysetup-job-temp-allocator-block-size=2097152" "memorysetup-job-temp-allocator-block-size-background=1048576" "memorysetup-job-temp-allocator-reduction-small-platforms=262144" "memorysetup-temp-allocator-size-background-worker=32768" "memorysetup-temp-allocator-size-job-worker=262144" "memorysetup-temp-allocator-size-preload-manager=262144" "memorysetup-temp-allocator-size-nav-mesh-worker=65536" "memorysetup-temp-allocator-size-audio-worker=65536" "memorysetup-temp-allocator-size-cloud-worker=32768" "memorysetup-temp-allocator-size-gfx=262144"
@dol516
@dol516 4 жыл бұрын
How many connection can handle this 5 dollar server?
@BrassBoii
@BrassBoii 4 жыл бұрын
You could stress test it, and find out :D
@ShrineApp
@ShrineApp 4 жыл бұрын
depends on the game :) no EZ answers im afraid
@gamer-qd6cg
@gamer-qd6cg 3 жыл бұрын
Does this work via WiFi?
@haachamachama7
@haachamachama7 Жыл бұрын
What are you asking? I imagine this guy is using wifi... lol
Multiplayer Game Architecture in Unity
15:21
Shrine
Рет қаралды 157 М.
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 747 М.
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 42 МЛН
Правильный подход к детям
00:18
Beatrise
Рет қаралды 9 МЛН
Как Я Брата ОБМАНУЛ (смешное видео, прикол, юмор, поржать)
00:59
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 3,6 МЛН
Make a Dedicated Server for your Unity Game - [How To][Unity][Linux]
26:16
How To Set Up A Dedicated Multiplayer Server - Unity PlayFab
13:26
Гайд по Mirror мультиплееру в Unity 2д
18:29
How to Build a Multiplayer Game with Unity + Mirror
26:30
Shrine
Рет қаралды 179 М.
P2P or Dedicated Servers? What's the best for your unity game?
7:35
Jason Weimann (GameDev)
Рет қаралды 10 М.
How Multiplayer Games Work
15:14
Nick Maltbie
Рет қаралды 245 М.
Incredible Budget Home Server! (Minecraft, Plex, Home Assistant, NAS)
16:38
Setting up a production ready VPS is a lot easier than I thought.
29:50
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 42 МЛН