Getting started with networking concepts

Поделиться
HTML-код
  • Опубликовано: 7 фев 2025

Комментарии • 48

  • @PastaEngineer
    @PastaEngineer Месяц назад +11

    U6 has some incredible features

  • @wtsharpproductions
    @wtsharpproductions Месяц назад +11

    I have an IT background. I understood a lot of the concepts that were talked about. Grinding Unity 2022.3 14 hours/day, and 7 days/week and loving it !! Great video!! 🤙👍

  • @longnguyenkim344
    @longnguyenkim344 Месяц назад +5

    Great video! I hope next videos will make state sync more clear

  • @Crazy_Old_Liberal
    @Crazy_Old_Liberal Месяц назад +5

    What is the best way to handle the cinemachine camera?

  • @artyquantum7283
    @artyquantum7283 24 дня назад +1

    5:15
    UDP stands for User Datagram Protocol, not "user dataframe protocol".

  • @kadirg.9475
    @kadirg.9475 Месяц назад +6

    In a Unity-based game server, we aim to host 100 players simultaneously (50 separate games with two players each). In this scenario, should the game sessions be hosted within a single Unity game server, or should each session have its own separate Unity game server? How to develop unity-based server which support multiple game sessions in single unity game server. If a single instance is used, does Unity Netcode support this configuration?

    • @captainnoyaux
      @captainnoyaux Месяц назад +3

      I assume if you use NGO you'd beed multiple game servers. Otherwise you'd need to handle networking with your own backend. (Or maybe I missed your question, if someone can correct me)

  • @cesanojean-marc5973
    @cesanojean-marc5973 11 дней назад

    I was awaiting this for a long time..... i tried and like in your video at time 16:22 the camera don't follow the player, i am enable to do it, did you have son idea, i have not found an help. Thanks

  • @yasmina7194
    @yasmina7194 25 дней назад

    This was great!

  • @HongCruise
    @HongCruise Месяц назад

    Is there any reason why the "Authority Mode" in Network Transform wasn't set to Owner rather than making a separate script for this around 15:19?

  • @arbainrahat4578
    @arbainrahat4578 Месяц назад +2

    What If Host/Server player leave game?
    Is unity have host migration?
    In Client-Server game, server logic should run on dedicated server not on client side.
    Please make video how implement or run server logic at dedicated server, Also tell Is unity support this one?

    • @realtimberstalker
      @realtimberstalker Месяц назад +1

      There is a button to launch in server mode.

    • @arbainrahat4578
      @arbainrahat4578 Месяц назад +1

      @realtimberstalker But they need to give video on how upload on any dedicated server not just for multiplay server.

    • @realtimberstalker
      @realtimberstalker Месяц назад +1

      @@arbainrahat4578 Yes. They showed how to start the network manager as host. You can also start it as a dedicated server right next to it.

    • @leftyfourguns
      @leftyfourguns Месяц назад

      Host migration is done with the Distributed Authority model, which they hopefully cover in a future video. This video was about the dedicated server model

  • @lewel7286
    @lewel7286 Месяц назад

    I did everything as shown in a video, however both host and client are desynced by position, rotation (partially) and the only thing working right is animator. I ensure that I managed distributed authority by checking owner and overriding OnIsServerAuthoritative. What do I miss, why animator works just fine, but position, rotation and IK not working? Should I add network transform or network object components somewhere inside of player`s child elements?

    • @lewel7286
      @lewel7286 Месяц назад

      By desynced I mean really desynced. Host and client have been spawned nearby each other, however from client side they are far away from each other. And even if I manually move them face to face, client side player still watching host being far away. But animations working fine XD. (it's the laugh of madness btw, so much wasted time for nothing)

  • @erelsegal-halevi3561
    @erelsegal-halevi3561 Месяц назад

    I followed the tutorial. When I click "play" and "Start Host", I can move the player at the host. But when I click "Start Client" and start moving the second players, suddenly both players freeze - stop moving entirely. No movement, no animation, no response to input. Any idea why it happens?

    • @elbio320
      @elbio320 28 дней назад

      I had the same problem. I commented out both AudioSource lines in ThirdPersonController (lines 379 and 388), and everything worked for me. It was a null reference exception in my project, and I think this happened because the AudioSource is not shared between the server and the client

  • @gcstudios9091
    @gcstudios9091 Месяц назад +10

    Me who can barely make a cube in unity watching like I know what the heck is going on:

  • @3dgarYt40
    @3dgarYt40 Месяц назад +3

    By the time there is a version for Android, Godot already has one and it would be a great idea to eliminate the competition

  • @schalky182
    @schalky182 Месяц назад +4

    im glad multiplayer is getting better. but still a fair way to go catching up to unreal. most of this can be done in a handful of clicks of in ue5. the only upside is that you cant do client authoritive in unreal. but like you said server side is usually better anyway.

  • @diegoszch
    @diegoszch 15 дней назад

    Can you put subtitle in portuguese? Or maybe dub in portuguese with IA?

  • @qwerty6778x
    @qwerty6778x Месяц назад

    I think URP/Lit roughness should saperate to BW img

  • @JonasMiguel825
    @JonasMiguel825 Месяц назад

    How are we doing now that we were doing this weekend

  • @dnsajala4347
    @dnsajala4347 7 дней назад

    so falto dublar esse video pra ter uma nota 10

  • @goADXX
    @goADXX Месяц назад +2

    does using client host cost any money or is it 100% free?

    • @powersupersport
      @powersupersport Месяц назад +6

      Purely client-server does not cost anything. Unity Relay and dedicated (cloud) servers cost money

  • @MonsterCreations662
    @MonsterCreations662 Месяц назад

    Host Migration in NEXT Video

  • @tboxfinn
    @tboxfinn Месяц назад

    Can I completely use netcode for making a game multiplayer with P2P servers and uploaded to steam without problem?
    Or do I need to use facepunch steameorks too?

    • @CodeMonkeyUnity
      @CodeMonkeyUnity Месяц назад +4

      You can use either the Unity Transport or the Facepunch Steamworks Transport (or any other Transport)
      Whatever you choose it does not affect the Netcode for Game Objects/Entities layer on top.

  • @kwcnasa
    @kwcnasa Месяц назад +1

    Resume @14:00

  • @reaperz5677
    @reaperz5677 Месяц назад +1

    So how much are you going to charge for this one? 5eur per connection?

    • @MonsterCreations662
      @MonsterCreations662 Месяц назад

      100% Free For Pure Client-Server model but For Unity Replay and Dedicated(cloud) servers costs money

  • @中島アレサンドロ-p4x
    @中島アレサンドロ-p4x Месяц назад

    bla bla bla , how about host migration?

    • @CodeMonkeyUnity
      @CodeMonkeyUnity Месяц назад

      According to the roadmap it's marked as "In Progress" so hopefully some time in the future

    • @MEMATOR_3000
      @MEMATOR_3000 Месяц назад

      How about my unity 6 infinite shader compilation?

    • @中島アレサンドロ-p4x
      @中島アレサンドロ-p4x Месяц назад

      @@CodeMonkeyUnity yeah sure like always "some time in the future"

  • @confortto
    @confortto Месяц назад +15

    Knowing Unity, this has been deprecated already and a new solution will be available in 1.5 years.

    • @CodeMonkeyUnity
      @CodeMonkeyUnity Месяц назад +8

      Netcode for Game Objects has already been around for over 5 years, this is not a new thing

    • @hughly
      @hughly Месяц назад

      @@CodeMonkeyUnity fishnet is better, have you tried it before?

    • @UndeadZ60
      @UndeadZ60 Месяц назад +1

      @@CodeMonkeyUnity what are you doing here?

    • @Kenishura
      @Kenishura Месяц назад

      @@UndeadZ60 i think he loves netcode for game objects (real)

    • @BlueGooGames
      @BlueGooGames Месяц назад +4

      @@UndeadZ60answering negative comments maybe? 😂

  • @Opramdularyt
    @Opramdularyt Месяц назад

    Next video