Setting up a Dedicated Server for a Multiplayer Game in Unity

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ต.ค. 2020
  • GitHub: github.com/ShrineGames/UnityM...
    In this video, we'll set up a dedicated server on AWS for our multiplayer game built with Unity and Mirror.

ความคิดเห็น • 183

  • @Daltonyx
    @Daltonyx ปีที่แล้ว +23

    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 6 หลายเดือนก่อน

      Thank you so much for that!

  • @xzippyzachx
    @xzippyzachx 3 ปีที่แล้ว +60

    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 ปีที่แล้ว +1

      zippy i found you

    • @xzippyzachx
      @xzippyzachx 3 ปีที่แล้ว

      @@patapizza3382 lol

    • @xzippyzachx
      @xzippyzachx 3 ปีที่แล้ว +1

      @Franco Mohammad Flixzone Bad. Bots Bad!

  • @sotofpv
    @sotofpv 2 ปีที่แล้ว +48

    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!

  • @ogulcanzorlu
    @ogulcanzorlu 3 ปีที่แล้ว +16

    This series should continue! Optimization and Network Visibility could be the next topic. Hope to see more.

  • @revdevstudios
    @revdevstudios 3 ปีที่แล้ว +10

    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.

  • @RogueWorlds
    @RogueWorlds 3 ปีที่แล้ว +12

    Can't believe I never thought of using a script to build servers / clients before. Good job as always!

  • @Maximple
    @Maximple 3 ปีที่แล้ว +8

    Just what I was looking for! Very concise and informative ❤

  • @fierce1340
    @fierce1340 3 ปีที่แล้ว

    Just finished watching this series! TY so much for creating this! I'm really excited to see more!

  • @arturochavezsendra2863
    @arturochavezsendra2863 9 หลายเดือนก่อน

    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.

  • @Soundy777
    @Soundy777 3 ปีที่แล้ว +1

    Incredible series! Thank you so much for sharing such well presented & distilled knowledge

  • @joeyohman8112
    @joeyohman8112 2 ปีที่แล้ว +1

    Absolutely amazing tutorials, would love to see more!

  • @GeoEngel
    @GeoEngel 3 ปีที่แล้ว +35

    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 3 ปีที่แล้ว +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 3 ปีที่แล้ว

      @@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 3 ปีที่แล้ว +1

      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 2 ปีที่แล้ว

      @@pierrelamusse8350 maybe you have incorrect firewall setup?

    • @Legendxh
      @Legendxh 2 ปีที่แล้ว +3

      To listen KCP you need to add UDP at port 7777 in the AWS Firewall Rules.

  • @chris.davidoff
    @chris.davidoff 3 ปีที่แล้ว +4

    I'm so excited to see more of this! This is awesome to see :) :)

  • @johnhershberg5915
    @johnhershberg5915 3 ปีที่แล้ว

    Awesome videos! super helpful. I hope you'll continue this series!

  • @MrJuancho2706
    @MrJuancho2706 3 ปีที่แล้ว +8

    Man this is amazing, looking foward to the UDP method! :)

    • @MrJuancho2706
      @MrJuancho2706 3 ปีที่แล้ว

      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...

  • @brainshack9077
    @brainshack9077 2 ปีที่แล้ว +2

    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 :)

  • @MasterBroNetwork
    @MasterBroNetwork 2 ปีที่แล้ว

    That build script is actually amazing, It makes building for several platforms a lot easier since it's just one button press!

  • @abdoreda7126
    @abdoreda7126 ปีที่แล้ว

    These video are amazing

  • @tauheedgamedev2388
    @tauheedgamedev2388 3 ปีที่แล้ว +1

    Great guide on setting up Multiplayer on Unity. 👍

  • @nilla_studios
    @nilla_studios 3 ปีที่แล้ว +18

    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 😂

  • @Exori
    @Exori 3 ปีที่แล้ว +3

    Thank you so much for this series.

    • @Exori
      @Exori 3 ปีที่แล้ว

      Just subbed on patreon, please keep going :)

  • @BrassBoii
    @BrassBoii 3 ปีที่แล้ว +2

    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  3 ปีที่แล้ว

      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 3 ปีที่แล้ว

      @@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!

  • @oguz6919
    @oguz6919 3 ปีที่แล้ว

    awesome tutorials!! please keep going.

  • @jaicarey7023
    @jaicarey7023 3 ปีที่แล้ว

    Exceptional... Thank you mate!

  • @lightninglight6888
    @lightninglight6888 2 ปีที่แล้ว

    Thank you, great work !

  • @Alex-fp2sx
    @Alex-fp2sx 3 ปีที่แล้ว +2

    just one question do i need setup many unity proess to hold different room type game ?

  • @grumpysalmon4153
    @grumpysalmon4153 2 ปีที่แล้ว +2

    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?

  • @CrazyyyLowy
    @CrazyyyLowy 3 ปีที่แล้ว

    would you like to explain what did write in buildScript? other than that and the few commands on the Terminal I understood everything

  • @ziadmahmoud1999
    @ziadmahmoud1999 ปีที่แล้ว

    Thank you so much ❤️❤️❤️❤️❤️

  • @markgianturco5677
    @markgianturco5677 3 ปีที่แล้ว

    Great tutorial. Is there any way to get this working with other hosting services, or is it hardcoded for AWS?

  • @parhamebrahimi611
    @parhamebrahimi611 ปีที่แล้ว

    Thaaaank you so much bro

  • @siavashmehmandoost2198
    @siavashmehmandoost2198 3 ปีที่แล้ว +1

    Is this series down?!! We are waiting for much more videos! I really like the way you teach

    • @BrassBoii
      @BrassBoii 3 ปีที่แล้ว

      It propably takes time to create videos on the side (Supposing he still has his job as Soft Dev)
      :D

    • @BrassBoii
      @BrassBoii 3 ปีที่แล้ว

      @@ShrineApp Just looking very much forward to the next video, wether it's a devlog or a tutorial of some kind :D

    • @siavashmehmandoost2198
      @siavashmehmandoost2198 3 ปีที่แล้ว

      @@ShrineApp I know it's not easy to create such videos with that perfect quality! I appreciate what you've done so far man :))

  • @umarautarkhanov8360
    @umarautarkhanov8360 6 หลายเดือนก่อน

    Amazing content! Will there be more videos?

  • @aliseraj1658
    @aliseraj1658 2 ปีที่แล้ว

    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

  • @benjaminle383
    @benjaminle383 3 ปีที่แล้ว +1

    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 2 ปีที่แล้ว +2

      Hi, if you're still looking for the answer, it come from the "EnableHeadlessMode" build option in the script :)

  • @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?

  • @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?

  • @ZachIsAGardner
    @ZachIsAGardner 3 ปีที่แล้ว +5

    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 2 ปีที่แล้ว +1

      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

  • @RugbugRedfern
    @RugbugRedfern 3 ปีที่แล้ว +7

    Very cool! Is the process similar with Google Cloud Platform, or do you have any other cloud hosting recommendations?

    • @ShrineApp
      @ShrineApp  3 ปีที่แล้ว +1

      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

  • @ludicrous1131
    @ludicrous1131 3 ปีที่แล้ว +1

    When connecting to the server instance using the downloaded keypair, is it possible to use cmd prompt instead of the terminal in VS code?

  • @shubhoch2368
    @shubhoch2368 3 ปีที่แล้ว

    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  3 ปีที่แล้ว +2

      see the tutorial roadmap (posted in Discord #info)

  • @aravvihannaidu6900
    @aravvihannaidu6900 3 ปีที่แล้ว +1

    Hello! can you make a tutorial about port forwarding from mirror? No one has made a tutorial about it. Thanks!

  • @real_chimps9570
    @real_chimps9570 3 ปีที่แล้ว +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 ปีที่แล้ว

      You ever figure this out? I'm struggling with this currently

    • @real_chimps9570
      @real_chimps9570 ปีที่แล้ว

      @@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 :)

  • @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.

  • @harouttatarian3255
    @harouttatarian3255 3 ปีที่แล้ว +4

    Awesome tutorial! Wasted about an hour at step 5:21 cause I was running in SSH window as opposed to the local terminal.

  • @ferenckovecses377
    @ferenckovecses377 3 ปีที่แล้ว +1

    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  3 ปีที่แล้ว +2

      If you build in headless mode (tick the server checkbox) it'll run in server mode.

    • @ferenckovecses377
      @ferenckovecses377 3 ปีที่แล้ว

      @@ShrineApp Thank you!

  • @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..

  • @somedevstuff5060
    @somedevstuff5060 3 ปีที่แล้ว +1

    Nice

  • @asafzoref7809
    @asafzoref7809 2 ปีที่แล้ว

    You are the best please part 6?????

  • @jonysand4256
    @jonysand4256 3 ปีที่แล้ว

    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  3 ปีที่แล้ว

      sorry bud i dont think that has anything to do w mirror

  • @user-xt3pg2ee5j
    @user-xt3pg2ee5j 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

  • @lucazs1779
    @lucazs1779 2 ปีที่แล้ว

    Is there another program other than AWS? Because I'm not able to set it up

  • @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 ?

  • @przemysawidzczak2438
    @przemysawidzczak2438 2 ปีที่แล้ว

    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?

  • @Gandalf_Le_Dev
    @Gandalf_Le_Dev 3 ปีที่แล้ว +1

    Does anyone knows how I could upload automatically my server build on the server ?

  • @lukass1604
    @lukass1604 3 ปีที่แล้ว

    When is the next vid showing up?

  • @7Chikchan
    @7Chikchan 2 ปีที่แล้ว

    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

  • @user-th8pr7no5p
    @user-th8pr7no5p 3 ปีที่แล้ว

    are u gonna teach matchmaking and lobby making

  • @hosseintajeddini8643
    @hosseintajeddini8643 2 ปีที่แล้ว

    hi how ican How can I connect both of them with the hot spot of the phone?, please answer

  • @siavashmehmandoost2198
    @siavashmehmandoost2198 3 ปีที่แล้ว +1

    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  3 ปีที่แล้ว

      You can checkout a specific commit. There's plenty of amazing Git tutorials out there that explain Git better than I ever could :)

  • @ytubeanon
    @ytubeanon 2 ปีที่แล้ว

    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 ปีที่แล้ว +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

  • @TheUnityNoob
    @TheUnityNoob 3 ปีที่แล้ว

    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  3 ปีที่แล้ว

      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.

  • @Lowskii
    @Lowskii 2 ปีที่แล้ว

    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.

  • @harakiri4350
    @harakiri4350 2 ปีที่แล้ว

    Is this possible to use with WebGl build ?

  • @aravvihannaidu6900
    @aravvihannaidu6900 3 ปีที่แล้ว

    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  3 ปีที่แล้ว +1

      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 3 ปีที่แล้ว

      @@ShrineApp Okay I will install Git, I will follow your tutorials. For further doubts can I ask you in the comments?

  • @nootherkyle
    @nootherkyle 3 ปีที่แล้ว

    When is the next part coming out bro..

  • @karansahu7710
    @karansahu7710 ปีที่แล้ว

    how users will matchmake?

  • @LuisOtavioZimmermann
    @LuisOtavioZimmermann 3 ปีที่แล้ว +2

    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 ปีที่แล้ว +1

      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 ปีที่แล้ว +1

      @@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 2 ปีที่แล้ว +2

      @@LuisOtavioZimmermann How exactly I'am new at multiplayer so I dont now?

  • @caindallm9746
    @caindallm9746 ปีที่แล้ว

    Is it possible to connect to our Dedicated Server from WebGL build ?

  • @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.

  • @chanceslaughter3237
    @chanceslaughter3237 2 ปีที่แล้ว +1

    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?

  • @xaldioDev
    @xaldioDev 2 ปีที่แล้ว +1

    To get an array string of scenes paths (Scenes that are added in build settings)
    var scenesPaths = EditorBuildSettings.scenes.Select(scene => scene.path).ToArray();

    • @amgames5638
      @amgames5638 ปีที่แล้ว

      That's smart, i was wondering about that. I saw another dedicated server doing the same thing... a $100 dedicated server asset... lol

  • @niazm.sameer9088
    @niazm.sameer9088 3 ปีที่แล้ว

    Will you be doing a video on matchmaking?

    • @ShrineApp
      @ShrineApp  3 ปีที่แล้ว

      yea there's one planned on the discord roadmap. will be a while though since matchmaking is extremely complicated

  • @wolfram3161
    @wolfram3161 3 ปีที่แล้ว +1

    Can you make a video how to write server side code, to process things in server?

    • @ShrineApp
      @ShrineApp  3 ปีที่แล้ว

      you write client + server code in the same project if you're using mirror

  • @ivansutherland7411
    @ivansutherland7411 ปีที่แล้ว +2

    Anyone here getting errors related to shaders not being supported when starting their server?

  • @Iigua
    @Iigua 2 ปีที่แล้ว

    can this server be self hosted?

  • @bestemy1
    @bestemy1 ปีที่แล้ว

    This works with Andoid?

  • @game_developer_7382
    @game_developer_7382 2 ปีที่แล้ว

    So how many CCU is there? How many users can play at the same time in the server? Is there CCU limit?

    • @jussivalter
      @jussivalter 2 ปีที่แล้ว +2

      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.

  • @Johnny-tw5pr
    @Johnny-tw5pr 2 ปีที่แล้ว +2

    No need to spend money on lightsail. Just use the free tier EC2

  • @kayumiy
    @kayumiy 2 ปีที่แล้ว

    I could not find your server on Discord. Let me know exact link please?

  • @OfficialGOD
    @OfficialGOD 2 ปีที่แล้ว +1

    Add Prediction

  • @whatamiwitnessing1003
    @whatamiwitnessing1003 3 ปีที่แล้ว +1

    Can you do one for Unity's own networking solution?

    • @amgames5638
      @amgames5638 ปีที่แล้ว

      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.

  • @bilalmirza9206
    @bilalmirza9206 3 ปีที่แล้ว

    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 3 ปีที่แล้ว

      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 3 ปีที่แล้ว

      Also check
      GeoEngel post about the issue. Didn't work for me, but maybe it'll work for you

  • @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

  • @GaLzZy.
    @GaLzZy. 3 ปีที่แล้ว +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 ปีที่แล้ว +1

      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.

  • @kwartzcollective1542
    @kwartzcollective1542 3 ปีที่แล้ว +1

    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 3 ปีที่แล้ว +1

      @@ShrineApp nice!

    • @ShrineApp
      @ShrineApp  3 ปีที่แล้ว

      @Luc Bloom the latter. the former is pretty much same process as what i did in my dedicated server video

  • @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

  • @evilkgaming2653
    @evilkgaming2653 2 ปีที่แล้ว

    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 2 ปีที่แล้ว

      Did you find a way to fix this? thanks

  • @MrJuancho2706
    @MrJuancho2706 3 ปีที่แล้ว

    Sorry for the spam, but i didnt get what you said from 0:00 to 1:28 or what did you do...

    • @ShrineApp
      @ShrineApp  3 ปีที่แล้ว

      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.

  • @erikchagas1980
    @erikchagas1980 3 ปีที่แล้ว +2

    Can you make a PlayFab tutorial?

    • @ShrineApp
      @ShrineApp  3 ปีที่แล้ว +1

      playfab is a pretty wide set of services - ill cover some of those services, but probably not all

  • @originalravage
    @originalravage ปีที่แล้ว

    help i keep getting this error "Error building player because build target was unsupported"

  • @foxrootking5077
    @foxrootking5077 2 ปีที่แล้ว

    Can mobile connect to server?

  • @butcher_banana3745
    @butcher_banana3745 2 ปีที่แล้ว +1

    SERVER PROTOCOL IS UDP !!

  • @haiderkamal1106
    @haiderkamal1106 ปีที่แล้ว

    scp: stat local "Builds/Linux/Server.zip": No such file or directory
    Im having this error. can someone help?

    • @haiderkamal1106
      @haiderkamal1106 ปีที่แล้ว

      Fixed this by removing the .zip from my Server.zip

  • @TheUnityNoob
    @TheUnityNoob 3 ปีที่แล้ว +1

    Will this work for mobile devices?

    • @ShrineApp
      @ShrineApp  3 ปีที่แล้ว

      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 3 ปีที่แล้ว

    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 3 ปีที่แล้ว

      Nvm I fixed it :D
      If you have this problem let me know I can help you!

    • @ShrineApp
      @ShrineApp  3 ปีที่แล้ว

      Can you post a quick summary of what you did in case other people run into the same issue

  • @dol516
    @dol516 3 ปีที่แล้ว

    How many connection can handle this 5 dollar server?

    • @BrassBoii
      @BrassBoii 3 ปีที่แล้ว

      You could stress test it, and find out :D

    • @ShrineApp
      @ShrineApp  3 ปีที่แล้ว

      depends on the game :) no EZ answers im afraid

  • @talismanskulls2857
    @talismanskulls2857 ปีที่แล้ว

    Be nice to see how to setup on a private snot using third party stuff.

  • @gamer-qd6cg
    @gamer-qd6cg 2 ปีที่แล้ว

    Does this work via WiFi?

    • @amgames5638
      @amgames5638 ปีที่แล้ว

      What are you asking? I imagine this guy is using wifi... lol

  • @StickyLabDev
    @StickyLabDev 2 ปีที่แล้ว +1

    imsodumb ,harder than i think