Easy Multiplayer in 5 minutes - with Lobby - Unity Tutorial ep. 1

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

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

  • @BobsiTutorial
    @BobsiTutorial  2 года назад +8

    What do you think about Alteruna? 😀
    Join my discord: discord.gg/HRfzz58NYk

    • @Maxsitori-p2i
      @Maxsitori-p2i 6 месяцев назад +4

      Can you make more videos about Alteruna please 🙏

    • @anjuchoudhary6227
      @anjuchoudhary6227 3 месяца назад +1

      @@BobsiTutorial alteruna Is awesome, now me and my friends can finally play games I make 😀

  • @Adham_Hex
    @Adham_Hex 5 месяцев назад +6

    I am Egyptian and I watched the video with subtitles and I liked the way you explained it❤

  • @ethanlovezstuff7890
    @ethanlovezstuff7890 Год назад +9

    Ive been trying to do this for so long now and this tutorial was the one i needed. Thx :)

  • @Dev_Roids
    @Dev_Roids 7 месяцев назад +2

    Much more useful than 20-30 minute or even 2 hour videos. Thank you so much!

  • @REDFLECTED
    @REDFLECTED Год назад +4

    Please do more Alteruna regarded videos! It helps me so much developing my Multiplayer Game and I feel like ur the only RUclipsr to explain it

    • @BobsiTutorial
      @BobsiTutorial  Год назад

      Working on a new one right now ^^ Should hopefully be out very soon!

    • @REDFLECTED
      @REDFLECTED Год назад +1

      @@BobsiTutorial Thanks man! Appreciate it

  • @TEXTSharp
    @TEXTSharp 2 года назад +5

    Looks great! Can't wait for part 2!

  • @aaaalord
    @aaaalord 2 года назад +4

    It is just stunning how easy and beginner friendly is that thanks for News and tutorial

    • @BobsiTutorial
      @BobsiTutorial  2 года назад

      Agreed. And I am always happy to help out. Thank you for the nice comment ^^

  • @ahmadmohammadi2396
    @ahmadmohammadi2396 Год назад +3

    It is really good that you listen to the feedback, I am seeing in the previous videos somebody was saying in the comment how to create lobby and join the players, You created this video then. Kepp continue this way, really great. I am suggesting to make a video to explain different ways of creating multiplayer games in Unity like FishNet, Photon, Unity's new networking solution and Mirror. In this way, people will get some general info on how is the multiplayer work.

    • @BobsiTutorial
      @BobsiTutorial  Год назад +1

      Thank you very much Ahmad. What a lovely comment! :-)
      I will do my best to help everyone get a good start on their multiplayer journey. Nice comments such as this one is a big motivational factor for a small creator like me!

  • @ZaphonRBL
    @ZaphonRBL День назад +1

    The Checker texture you used when making the Example scene is what i need for my Game. So i was wondering if you could like drop a link or where to find it in replies to this comment. Great tutorial btw!

    • @BobsiTutorial
      @BobsiTutorial  День назад

      It's just ProBuilder of the Unity package 🙂

  • @danielsndgamevideos
    @danielsndgamevideos 2 года назад +2

    Oh wow, so many new multiplayer frameworks coming out lately!

    • @BobsiTutorial
      @BobsiTutorial  2 года назад

      Yeah, it is wonderful for the community, and competitors are always good for us as the consumer 😄

  • @Rubydude
    @Rubydude 7 месяцев назад +1

    Incredible Tutorial! Works perfectly.

    • @BobsiTutorial
      @BobsiTutorial  7 месяцев назад

      Happy to hear! Thanks for the nice comment

  • @fazin85
    @fazin85 Год назад +2

    crazy how easy it is to set all this up! thanks for the tutorial🙂

  • @thatonedudelive7260
    @thatonedudelive7260 Год назад +4

    Amazing!!!
    Would def love to see a part 2, maybe include a way to create a room name or lobby with a password or way to invite a specific person to play against?

    • @BobsiTutorial
      @BobsiTutorial  Год назад +2

      Currently already working on part 2 with synchronizing and RPC's which should allow you to do most with networking ^^

  • @mathiasbusckvinter3753
    @mathiasbusckvinter3753 2 года назад +4

    This actually seems really easy! For someone like me who has little to no coding skills, I feel like this tutorial would actually make me able to do Unity multiplayer in less than 10 minutes.
    I can really see this being handy for beginners to multiplayer.
    Nice video and interesting system by Alteruna!

    • @mathiasbusckvinter3753
      @mathiasbusckvinter3753 2 года назад +1

      Do you have any plans to expand on Alteruna with other videos on it in the future?

    • @BobsiTutorial
      @BobsiTutorial  2 года назад

      Glad you enjoyed!

    • @SterioMade
      @SterioMade Год назад +1

      @@BobsiTutorial The player movement and cam glitches to other client when they join!

    • @BobsiTutorial
      @BobsiTutorial  Год назад

      @@SterioMade Funny writing it as a reply to another persons comment. Anyhoot. Simply something wrong in the ownership check you are doing. Worth looking into. Good luck.

    • @SterioMade
      @SterioMade Год назад

      @@BobsiTutorial Where's the sync cause the movement isn't multiplayer players control each other came with camera.

  • @The_Official_Eclipse
    @The_Official_Eclipse Год назад +2

    BRO U ARE A GENIUS THANK YOUUUU

  • @jjvs7102
    @jjvs7102 Год назад +6

    Are you able to continue this as a series and make a video on how to make nametags with alteruna?

    • @BobsiTutorial
      @BobsiTutorial  Год назад +1

      This is definately something i could look into. I'll take it up with the Alteruna team 😀

  • @Flow-w7g
    @Flow-w7g Месяц назад +1

    Really helpful thanks

  • @mortalvoidstudios
    @mortalvoidstudios Год назад +1

    This was really great man! They have done some updates since your vid but nothing complicated that couldn't be figured out. I really like this setup so far and I plan to keep using it! Do you have a video on the chat box function? That would be great to learn as well! Thanks again!

    • @BobsiTutorial
      @BobsiTutorial  Год назад

      Hi, Thank you! Glad you like it. unfortunately I don't have a video on the chat system

  • @TotallyFe
    @TotallyFe 10 месяцев назад

    For anyone in the Future when adding the Transform Synchronizable script to the player the Unique ID is added to this now

  • @octaviopenny5747
    @octaviopenny5747 8 месяцев назад +2

    Great tutorial everything works fine i can see other players but you cant move or look around (I know im a year late)

    • @BobsiTutorial
      @BobsiTutorial  7 месяцев назад

      Well I am 13 days slow to a reply, so no harm done. Appreciate the kind words!

  • @jonasjonas9294
    @jonasjonas9294 10 месяцев назад +1

    So nice thank you for the vid

    • @BobsiTutorial
      @BobsiTutorial  10 месяцев назад

      Glad you like the video!

    • @jonasjonas9294
      @jonasjonas9294 10 месяцев назад +1

      @@BobsiTutorial yeah thanks for your Answer your vid are all nice that tutorials are what i need for my hdame

  • @CluelessGameDev
    @CluelessGameDev 11 месяцев назад +2

    Hello, I was wondering if you knew of the bug of not being able to look around after you join. I looked through the code and corrected it, but the mouse movement had no impact on the looking around, so it was just stuck in place. I'm a little confused, but otherwise great tutorial. If you could get back that would be awesome too! Thank you so much for this easy multiplayer option!

    • @BobsiTutorial
      @BobsiTutorial  11 месяцев назад

      Should work. It is a 1-to-1 copy of the code I used in the video, and I use the same character controller for nearly every project I start 🙂

  • @SterioMade
    @SterioMade 7 месяцев назад +1

    Hello, your video helped me in my game, but when I use a gun in a game all players shoot and sound at the same time you know what I mean??

    • @BobsiTutorial
      @BobsiTutorial  6 месяцев назад

      Likely the ownership check is incorrect. Apologies for the slow response

  • @rezarg
    @rezarg 4 месяца назад +2

    It seems like it works fine, but I can't test multiplayer myself, because if I open a built instance of the game or run in Unity, it will connect, but all other instances of the game will just be stuck on "Reconnecting..." for what seems like forever as far as I can tell.

    • @BobsiTutorial
      @BobsiTutorial  4 месяца назад

      I would join the Alteruna discord and ask them.

  • @tyty9009
    @tyty9009 2 месяца назад +1

    hey I know this is an older video but Im having an issue where who ever creates the lobby. camera lags badly but only for the host any other client/player doesn't do that. I cant find out why

    • @thecodinggoose1292
      @thecodinggoose1292 2 месяца назад

      same

    • @BobsiTutorial
      @BobsiTutorial  2 месяца назад

      Hmm, not familiar with this, but I don't personally use Alteruna. Probably worth seeing if they can help out in their Discord. Any chance you are handling movement or camera movement in FixedUpdate? That would at least cause lag

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

    I really want have a tutorial where Bob explains how to do multiplayer with characters

  • @musB478
    @musB478 Год назад +1

    For some reason the players move fine on their own screen but to the other player they are flying around above and when they rotate they rotate around a point in the middle of the stage rather than their head. I am using the script in the desc.

    • @BobsiTutorial
      @BobsiTutorial  Год назад

      The script i use can ONLY use a camera in the scene tagged with main camera. The players should not have cameras on them or reference wrong cameras. It sounds like what is happening with you. But i could be wrong. Sounds really weird. I have not had this happen a single time, but definately something off about your scene setup if you've copied my script directly.

  • @justiiiii
    @justiiiii Год назад

    My first player is controller second player and vice versa, most interesting is that i use exactly your code from the video

    • @BobsiTutorial
      @BobsiTutorial  Год назад

      Well this setup is super basic, and fairly straight forward, so something must surely be off in the setup.
      Try and have a look step by step as to what the difference is. It is the best way of debugging 🙂

    • @ItsOmeyYT
      @ItsOmeyYT Год назад

      @@BobsiTutorial i did everything in your tutorial and the server for alteruna is a ghost town no help multiple people are complaining in the comments fix it please

    • @BobsiTutorial
      @BobsiTutorial  Год назад

      @@ItsOmeyYT I have done this multiple times and also been out teaching at a university on this same setup. There is definitely something you are forgetting, because it does work for sure 🙂Maybe something on the avatar setup, disabling of input or alike.

    • @ItsOmeyYT
      @ItsOmeyYT Год назад

      @@BobsiTutorial nope it's your script its supposed to be Avatar_IsMe instead of !Avatar_isMe I looked in there support

    • @BobsiTutorial
      @BobsiTutorial  Год назад

      @@ItsOmeyYT Please specify where? The only places i see is in start and update, and those seem correct (because you want to leave if you are not the owner.)

  • @naumansabirkhan7425
    @naumansabirkhan7425 Год назад +1

    no way its this ez man.
    thanks bro.

  • @TheMuncherofCheese
    @TheMuncherofCheese Год назад +1

    This was more simple than the FishNet tutorial

  • @L0upyb0y
    @L0upyb0y 2 года назад +2

    Hi! How well does it perform compared to FishNet, Photon, Unity's new networking solution and Mirror?

    • @BobsiTutorial
      @BobsiTutorial  2 года назад +1

      I haven't personally stress tested it, so that might be more fitting for their discord. I have looked a bit into their documentation and it seems like it should be a pretty performant setup. I imagine it more performant than Unitys new (NetCode) for sure, but more than mirror or FishNet i can't say.
      But also as a networking solution, with the whole server setup, i'd see this as more of a competitor to Photon, and I would prefer this over Photon PUN by far. Photon fusion seems really good, but also troublesome to work with.
      And Alteruna also has really damn good pricing compared to Photon in my opinion. So that also matters i think 🙂
      I hope that answer atleast gave some kind of value!

  • @jubinjajoria2870
    @jubinjajoria2870 2 года назад +4

    I think you should keep it separate from the fishnet playlist.

    • @BobsiTutorial
      @BobsiTutorial  2 года назад +1

      The playlist is just meant for general multiplayer, but if I do end up making a whole series of Alteruna, i'll split them up 🙂 Thank you for the feedback!

    • @jubinjajoria2870
      @jubinjajoria2870 2 года назад +1

      @@BobsiTutorial Wait... Then why did you name it Ep. 1? LOL, I thought you have some plans for it.

    • @BobsiTutorial
      @BobsiTutorial  2 года назад +1

      @@jubinjajoria2870 Hopefully we'll release more videos, but that would require Alteruna to be happy with the performance of this one ^^
      Also, the youtube algorithm pushes episode 1 of videos more than any other 😂
      Look at my devlog videos. First one is ep. 1, rest does not mention episodes.

  • @obzornavse8095
    @obzornavse8095 4 месяца назад

    I have a mistake
    MissingReferenceException: An object of type 'Transform' has been destroyed, but you are still trying to access it.
    Your script should either check if it has a null value, or you should not destroy the object.

    • @BobsiTutorial
      @BobsiTutorial  4 месяца назад

      Luckily missing references and null reference exceptions are the easiest to debug 🙂 A null check should be fine

  • @henry9020
    @henry9020 11 месяцев назад +1

    Great video! Do you know where i can get more information about Alteruna?

    • @BobsiTutorial
      @BobsiTutorial  11 месяцев назад +1

      I have multiple videos on Alteruna, but you can also visit their website where they have documentation and their Discord! :-)

  • @Maxsitori-p2i
    @Maxsitori-p2i 7 месяцев назад +1

    Thanks bro ❤❤❤

  • @dipper_Cg
    @dipper_Cg 2 месяца назад

    There are 2 audio listeners in the scene. Please ensure there is always exactly one audio listener in the scene.
    this thing shows up and Alteruna rooms stuck in (connecting...)

    • @BobsiTutorial
      @BobsiTutorial  2 месяца назад

      Just remove one of the audio listeners. There might be 2 cameras for example?

    • @dipper_Cg
      @dipper_Cg 2 месяца назад

      @BobsiTutorial ty it works and can you make tutorial about how to make tag game mod with Alteruna like the crab game?

    • @dipper_Cg
      @dipper_Cg 2 месяца назад

      @BobsiTutorial and if you can't make it just tell me where I find the tutorial

  • @antclaDev
    @antclaDev Год назад +1

    good it works thx you!

  • @Resifan123
    @Resifan123 Год назад +1

    thank you so much.

  • @SadBoyXD
    @SadBoyXD Год назад

    Hi sir, I'm having trouble adding this code to the Player controller, if(!_avatar.IsMe) return; My character can't move and gets a Warning warning

    • @BobsiTutorial
      @BobsiTutorial  Год назад

      Have you ensured that you have the Alteruna namespace added?

  • @FelinaFaerlaingal
    @FelinaFaerlaingal 5 месяцев назад +1

    Got a problem: when I move one player the other move too? they're mimicking each other
    edit: nvm I missed the bit about the ownership in the script!

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

    what is the thing that you use to build the scenery?

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

      Pro builder. It's a Unity tool you can get in the package manager

  • @LoganR711
    @LoganR711 11 месяцев назад +1

    hey I followed the tutorial it works if I build it with the default platform if I change platforms to UWP, universal windows Platform, it cannot connect

    • @BobsiTutorial
      @BobsiTutorial  11 месяцев назад

      You'd probably have to ask in the Alteruna Discord. I am not familiar with the issue.

  • @jirkas299
    @jirkas299 5 месяцев назад +1

    it says License Query failed for unknown reasons.
    idk what to do

    • @BobsiTutorial
      @BobsiTutorial  5 месяцев назад

      The Alteruna discord is probably the best bet for this. They are super helpful in there.

  • @theskeletonappearsinthisco5896
    @theskeletonappearsinthisco5896 Год назад +1

    can you use fish networking in commercial projects?

    • @BobsiTutorial
      @BobsiTutorial  Год назад

      Oh absolutely. Already work with multiple companies which do 🙂It is probably one (if not #1) most scalable systems out there.

    • @theskeletonappearsinthisco5896
      @theskeletonappearsinthisco5896 Год назад

      and its free to use commercially?@@BobsiTutorial

  • @Kylez333
    @Kylez333 6 месяцев назад +1

    I'm getting "Object reference not set to an instance of an object" on line 37 of the PlayerController script, im assuming it has something to do with the camera because i dont have one, but im not sure what to do.

    • @Kylez333
      @Kylez333 6 месяцев назад

      The full error is "NullReferenceException: Object reference not set to an instance of an object
      PlayerController.Start () (at Assets/Scripts/PlayerController.cs:37)"

    • @BobsiTutorial
      @BobsiTutorial  6 месяцев назад

      if it mentionds the camera or Camera.main or something on that line, it's because you need a camera in the scene tagged with main camera.

    • @Kylez333
      @Kylez333 6 месяцев назад +1

      @@BobsiTutorial Okay thank you i will try tomorrow, great tutorial and explanations too, I will subscribe :)

  • @MrPr3stige
    @MrPr3stige 11 месяцев назад

    Hey mate, once i had fully set it up, there was no option for joining a room, only start so the second player could not join the room. Any ideas why?

    • @BobsiTutorial
      @BobsiTutorial  11 месяцев назад

      Hmm, no clue. They update it on the fly, probably a better question for the Alteruna Discord.

  • @imspikey
    @imspikey 3 месяца назад +1

    WTH That is almost impossible to believe ??!! what magic is done behind the scene

  • @potatomilki
    @potatomilki 9 месяцев назад

    where is the IsMe in visual scripting, i dont really know anything about the usual c# scripting people use, i only know the node scripting so this is pretty hard for me, i have a fully working movement script in visual scripting and i dont want to change it

    • @BobsiTutorial
      @BobsiTutorial  9 месяцев назад

      Unfortunately I am not familiar with visual scripting what so ever

    • @potatomilki
      @potatomilki 9 месяцев назад

      its ok man, but i tried using your script and there isnt a camera, do i add one myself? if i do, when i walk around it doesnt follow the camera's rotation for some reason.@@BobsiTutorial

  • @angelaplumley2282
    @angelaplumley2282 6 месяцев назад

    can you make a video on how to alter any script to work with alteruna. I cant figure it out. this a great tutorial.

    • @BobsiTutorial
      @BobsiTutorial  6 месяцев назад

      That's an extremely big concept to tackle. I would greatly recommend to start by just getting familiar with the network development concepts. Then it will make sense

  • @redwoodsteve
    @redwoodsteve 11 месяцев назад

    i cant put the prefab into the avatar slot in the network thingie

    • @BobsiTutorial
      @BobsiTutorial  11 месяцев назад

      Is the avatar component on the prefab?

  • @playfuljoker8039
    @playfuljoker8039 Год назад +1

    Hello sir.
    Do you have a simple sitting on chair tutorial in unity?Like there will be an arrow on top chair and when you click it you will sit on chair.
    Thank you sir.

    • @BobsiTutorial
      @BobsiTutorial  Год назад +1

      Unfortunately, this is not something i have a tutorial on 🙂

    • @playfuljoker8039
      @playfuljoker8039 Год назад +1

      I hope you can make a simple tutorial for it sir

  • @stifenjames2522
    @stifenjames2522 Год назад

    thanks for tutorial
    💖💖💖💖

  • @RapidRealityRJC
    @RapidRealityRJC 7 месяцев назад

    i tried applying this to my own game and whenever somebody joins you can control them as well as yourself im gonna keep working on it but i was just wondering if its a common problem.

    • @BobsiTutorial
      @BobsiTutorial  7 месяцев назад

      Something would be wrong with the ownership/auth check

  • @jjvs7102
    @jjvs7102 Год назад +1

    What ive noticed is that its highly laggy. Dont know if its just me.

    • @BobsiTutorial
      @BobsiTutorial  Год назад

      Where in the world are you located? Right now their servers are in EU, but they are focusing on expanding very soon.

    • @jjvs7102
      @jjvs7102 Год назад +1

      @@BobsiTutorial that explains the lag then thanks

  • @dancingpiggames8317
    @dancingpiggames8317 Год назад +1

    hello i wonna say thank you and also when i sent my friend the game file we were able to play but after 1 or 2 minutes are game would crash

    • @BobsiTutorial
      @BobsiTutorial  Год назад +1

      Have a chat with the Alteruna guys. I am sure they'll be able to help you out!

    • @dancingpiggames8317
      @dancingpiggames8317 Год назад +1

      @@BobsiTutorial OK I will try

  • @anjuchoudhary6227
    @anjuchoudhary6227 3 месяца назад

    I Have a basic game set up, but one thing is collisions, how can i set up collisions, like if player a touches player b then something happens for both the players like take tag for example, how to share the den between two players or even any variable

    • @BobsiTutorial
      @BobsiTutorial  3 месяца назад

      "share then den"?
      I'm not really sure what you mean. Either way, it's up to you how you want to handle that. You can have them do it locally when the collision occurs, if you are the owner, then you do some logic. Or you could have some single player (possibly ID 0) handle the logic or what not.

    • @anjuchoudhary6227
      @anjuchoudhary6227 3 месяца назад

      @@BobsiTutorial Actually, I am new in alteruna stuff, I have build a game of TAG 3D in which there are 2 players one of the player is marked with "main player" So that handels all the logic even though both players have same script, how to change like a player Id variable in the script according to the index of player joined the alteruna room.

  • @YazanAlmansouri
    @YazanAlmansouri 3 месяца назад

    can you make a tutotial of shooting with alteruna??

    • @BobsiTutorial
      @BobsiTutorial  3 месяца назад

      It's not in the near future at least 🙂

  • @thimenlabeeuw6576
    @thimenlabeeuw6576 Год назад +1

    alteruna is one of the best multiplayer plugins i have seen but there is 1 problem there is an option to spawn the players in manualy i want to do that but how?

    • @BobsiTutorial
      @BobsiTutorial  Год назад

      Yeah, og the network manager, you can choose to do that 😁

    • @thimenlabeeuw6576
      @thimenlabeeuw6576 Год назад

      @@BobsiTutorial im sorry but is still dont understand how i need to do it?

  • @hypersomnia4
    @hypersomnia4 10 месяцев назад

    Hey, nice tutorial. I have a question, Is It possible to import our custom server, like VDS?

    • @BobsiTutorial
      @BobsiTutorial  10 месяцев назад

      I don't believe Alteruna allows for other transports, as their product is the hosting which they provide.

    • @hypersomnia4
      @hypersomnia4 10 месяцев назад

      @@BobsiTutorial I get a lot of lag while playing with my friend thats why I am asking, how can I fix it?

    • @BobsiTutorial
      @BobsiTutorial  10 месяцев назад

      @@hypersomnia4 What server are you playing on?

  • @PhoenixSS
    @PhoenixSS Год назад

    camera doesn't move to player, your does how i put camera in player

    • @BobsiTutorial
      @BobsiTutorial  Год назад

      Try and start by duplicating my setup 1-to-1

    • @PhoenixSS
      @PhoenixSS Год назад

      @@BobsiTutorial ?

  • @eppl1184
    @eppl1184 Год назад +1

    Thank you!

    • @BobsiTutorial
      @BobsiTutorial  Год назад

      Happy to help out ^^

    • @eppl1184
      @eppl1184 Год назад +1

      By the way. Could you do a tutorial on how to optimize it? I mean it's very laggy and if someone who's not connected to the same network as me will have a lot of "ping". Idk if you can fix this but I would really appreciate. Thank you

    • @BobsiTutorial
      @BobsiTutorial  Год назад

      @@eppl1184 This is probably more of a task for the support in the Alteruna Discord. If it is something they want me to make a video about, they can let me know ^^
      I would imagine a fix for this could be to lerp stuff manually. So sync the positions and lerp between current position and the synced position. This should smooth things out.

    • @BobsiTutorial
      @BobsiTutorial  Год назад +1

      @@eppl1184 Where are you located? Right now their servers are in EU north, but they are looking into setting up new ones ^^

    • @eppl1184
      @eppl1184 Год назад +1

      Ohhh, so I can’t do anything to fix that for now. I’m in EU east, i believe that’s the problem. Thanks again!

  • @Hirumaya
    @Hirumaya 8 месяцев назад

    I am able to move both players separately which is great! However I am doing this from a top-down camera perspective (so I didn't use your player controller script), and the cinemachine camera follow is only working on the first player that was spawned. For the second player in the build run the camera is still following wherever the other '1st' player moves. Any suggestions on having a new camera also spawn that follows the second player?

    • @BobsiTutorial
      @BobsiTutorial  7 месяцев назад +1

      You would simply need to check ownership of the player and only assign the cinemachine camera to follow the one which the connection owns :-)

  • @ClownVR
    @ClownVR 10 месяцев назад

    Im having some problems with the Network everything else work its just that the player doesn´t show
    btw tutorial Great would recommend

    • @BobsiTutorial
      @BobsiTutorial  10 месяцев назад

      ty ty. Try and take it step by step again and see where you missed something ^^

    • @ClownVR
      @ClownVR 10 месяцев назад +1

      For some reason it didn't have a mesh filter and renderer but i fixed it now🎉​@@BobsiTutorial

  • @fsi211
    @fsi211 8 месяцев назад

    Great Tutorial, but could you link the project to github or some staff, cause it would be a backup for me. Thanks for that great Tutorial!

    • @BobsiTutorial
      @BobsiTutorial  7 месяцев назад

      Unfortunately I don't have the project anymore :(

  • @bramwolters1393
    @bramwolters1393 4 месяца назад

    This is great!. but i have a few problem. the rotation of the players camera doesnt show up.

    • @BobsiTutorial
      @BobsiTutorial  4 месяца назад

      what do you mean that it doesn't show up?

    • @bramwolters1393
      @bramwolters1393 4 месяца назад

      @@BobsiTutorial i have a visor that rotates with the camera. but the other players in the server cant see the rotation of the visor

    • @BobsiTutorial
      @BobsiTutorial  4 месяца назад

      @@bramwolters1393 does the visor have a transform sync on it?

    • @bramwolters1393
      @bramwolters1393 4 месяца назад

      Bruh... it doesnt. Thank you so much!!!!

    • @bramwolters1393
      @bramwolters1393 4 месяца назад +1

      It works!!!! THXXXXXXXXXXXX

  • @Pjorus
    @Pjorus 2 месяца назад

    First of all, nice video!!
    I do have a weird issue tho, in unity everything works like normal, but when i build the project and try to join a room, i suddenly fall through the ground...

    • @BobsiTutorial
      @BobsiTutorial  2 месяца назад

      Does the ground have a collider? Does the player have a character controller or collider? Is the spawnpoint ensured above the ground?
      Something is causing you to not collider with the ground it would seem 🙂

    • @Pjorus
      @Pjorus 2 месяца назад

      @BobsiTutorial
      figured it out.
      i was using composite colider not mesh
      thx anyway

  • @mer19077
    @mer19077 10 месяцев назад

    Good tutorial! I had an issue when i go multiplayer and open two windows or more, in the second window appears two players with the same movement, also cant see the other players in their current location, do you know how to fix it?

    • @BobsiTutorial
      @BobsiTutorial  10 месяцев назад

      Sounds like parenting or ownership issues

  • @techweasel
    @techweasel 5 месяцев назад

    I know a lot of the system has changed since you made this tutorial, but I am having quite a few issues, mainly my "IsMe" does not seem to be working, I cannot control my own character or any of them. Is there anywhere else I could read the small changes to the Altaruna SDK, I am trying to incorporate into an existing project, but thank you your video is wonderful!

    • @techweasel
      @techweasel 5 месяцев назад

      I did find some API documentation on their website!

    • @techweasel
      @techweasel 5 месяцев назад

      I think my issue was just a simple parenting error, keep up the good work!

    • @BobsiTutorial
      @BobsiTutorial  5 месяцев назад

      @@techweasel glad you got it solved 🙂

    • @techweasel
      @techweasel 5 месяцев назад +1

      @@BobsiTutorial Thank you, I release one game each month (as a personal challenge) so anything that speeds up multiplayer is great!

    • @BobsiTutorial
      @BobsiTutorial  5 месяцев назад

      @@techweasel Great challenge! Where do you release them? 🙂

  • @BoredPotatoIsCool
    @BoredPotatoIsCool 6 месяцев назад

    Hmm, For some reason I can’t join rooms, fix?

    • @BobsiTutorial
      @BobsiTutorial  6 месяцев назад

      Strange. Should be straight forward. Try and add your license again

  • @NeonWixard
    @NeonWixard 3 месяца назад

    For some reason when i connect to a server the cursor disappears and i can't close the Room Gui

    • @BobsiTutorial
      @BobsiTutorial  3 месяца назад

      You have cursor.visible set somewhere, just need to find it. Probably on the player script from my description.

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

    I need help, i can't put the player in the avatar variable. I would really need some help on that.

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

      Your player is not an avatar then. Try and watch the setup again 😀

  • @macknittle1121
    @macknittle1121 11 месяцев назад

    Hey man, great video. I'm having a small issue. The enemy AI script that I am using to control my enemy characters does not execute on the multiplayer server. The enemies just sit there motionless. I don't know if you have any information on that but anything would help, thanks.

    • @BobsiTutorial
      @BobsiTutorial  11 месяцев назад +1

      Alteruna is mostly funcitoning like a server with no sense of logic (hence why you don't upload your game to the server). So nothing will run on the server, at most it is used to store simple values and synchronize informaiton between players. So a player (often player 0) should run the logic.

  • @Tarakan_Games
    @Tarakan_Games 7 месяцев назад

    Sadly didnt work for me i used danis tut on how to walk and get a grappling gun the problem is with it the camera is in player so if i delete player i wouldnt have a camera anymore... tried mixing it with your code but it didnt work... if u have a solution for that i would be happy!

    • @BobsiTutorial
      @BobsiTutorial  7 месяцев назад

      I would always keep the camera in the scene and then grab the camera for the player on ownership in the script 🙂

  • @oconop2310
    @oconop2310 Год назад

    Hello Bobsi, I made it up to where you added the room menu and when I tried to test it like you It just kept connecting and eventually said License query failed. Not sure how to proceed from here

  • @Someone-ip9vq
    @Someone-ip9vq Год назад +1

    I just follow your video. But when an other player join the server the player #1 control the player #2 ... vice versa. Could you help pls?

    • @BobsiTutorial
      @BobsiTutorial  Год назад +1

      This definately sounds like a script issue. I have the playercontroller script in the description. Try with this 🙂

    • @justiiiii
      @justiiiii Год назад

      did you solve the problem? if yes then how, i have the same issue

    • @Someone-ip9vq
      @Someone-ip9vq Год назад

      ​@@justiiiii Unfortunately no...

  • @TheRealE-Dog
    @TheRealE-Dog 8 месяцев назад

    Hello, I cannot click any UI elements because the Player controller captures the mouse before it detects a click. Can you help?

    • @BobsiTutorial
      @BobsiTutorial  8 месяцев назад

      do you have an event system in the scene?

    • @TheRealE-Dog
      @TheRealE-Dog 8 месяцев назад

      @@BobsiTutorial Yes.

  • @KareemboMcFlo
    @KareemboMcFlo 10 месяцев назад

    I made the multiplayer wokr and the player to spawn with it, but the player model is in the sky when I spawn in. whats happening?

    • @BobsiTutorial
      @BobsiTutorial  10 месяцев назад

      Maybe you just offset the body/graphics on the prefab?

  • @snejok-mycat9209
    @snejok-mycat9209 10 месяцев назад

    Hi, great tutorial! I have tried this on my mac and everything works, however when i run it on my android device nothing works. The screen stays at Connecting... state and nothing happens. The error I got is: Error Unity Alteruna:Error:Exception accrued while tying to send or handle license query.
    Error Unity Exception: HttpClient task failed to query.
    Error Unity An error occurred while sending the request. I want to make multiplayer mobile game for android. Does Alteruna multiplayer support mobile device?

    • @BobsiTutorial
      @BobsiTutorial  10 месяцев назад

      I believe so, but you'd have to as them in their discord or check their website. But the error just simply looks like a license activation error.

  • @switchketch
    @switchketch 6 месяцев назад

    hello i have a problem with the room menu, i just cant press on start, it says connecting, then connects,i try clicking start it dosent work.
    can you help?

    • @BobsiTutorial
      @BobsiTutorial  6 месяцев назад

      Hmm, sounds strange. You're saying it then connects? So what's the problem?

    • @AlexMartire
      @AlexMartire 5 месяцев назад

      You need to add EventSystem in your scene

  • @star84eva7
    @star84eva7 Год назад +1

    wow thank you
    i will make johny sims game

    • @BobsiTutorial
      @BobsiTutorial  Год назад +1

      Hol up... What game now?

    • @star84eva7
      @star84eva7 Год назад +1

      @@BobsiTutorial ohh that was a joke(johny sins was a pornstar) but your video was really helpful and I'm really thankful that I did watched it. But I have a question please enlighten me.. is Alteruna really functionable even in publishing and uploading a game in marketplaces, and I'm confused which thing should i follow; Alteruna, fishnet. or Photon I heard a lot about multiplayer engines.

    • @BobsiTutorial
      @BobsiTutorial  Год назад +1

      ​ @star84eva I got the joke ;-) Also why i said "hol up" ^^
      For your question about choosing an engine, it is really about what suits you. Out of your options here FishNet is the Odd one out. Alteruna and Photon both have the selling point of running on their own server. FishNet needs another transport to function online (steam, dedicated server, epic services, etc.)
      To get that one out the way. FishNet seems like a crazy scalable system, but out of the options, also the hardest one to get to release because of the transport setup.
      Alteruna and Photon are pretty much direct competitors in the space now. Photon has more proven time on the market, and most likely has the bigger structure and more well rounded system. They do however also have a more strict form of price model. They limit you on the CCU (Concurrently Connected Users), which i am not a fan of.
      Alteruna does not limit you on CCU or Rooms, only bandwidth, which is great for us small indie/hobby developers! But they are a newer system, which has its pros and cons.
      Pros of this being: support from developers, growing community, cheap, prone to change for the better.
      Some cons however being: Not servers worldwide (yet) and no proven games on the market (yet).
      So to answer your question very shortly:
      Do you want the most control and scalability at the cost of convenience, then FishNet is your guy.
      Do you want the convenience and a proven well rounded system, then Photon is your guy.
      Do you want the convenience, cheapest and a small/niche community, then Alteruna is the option.
      Keep in mind that all of this are my personal observations, and are not by any means cut in stone :-)
      I hope this helps you! If you got more questions, you can also join my discord.

    • @star84eva7
      @star84eva7 Год назад +1

      @@BobsiTutorial Wow thanks! well said captain.. what really my motive is to make a 3d mobile multiplayer game could be low poly theme but I'm stuck on which network engine i supposed to use and I want to try publishing it on playstore but of course I'm looking for a standard quality game so detail by detail I want the game server will function well but u said still there were no proven game on the market. By the way i joined your discord just by now I''ll observe and learn from what yo guys shared out there.

    • @BobsiTutorial
      @BobsiTutorial  Год назад +1

      @@star84eva7 Sounds like you have a plan. Maybe also join the Alteruna community. The devs are pretty active in there, so maybe ask them about the mobile capabilities for your game 🙂
      I don't have too much experience with Alteruna for now. But i do not it is extremely simple to get started with and the pricing is cheap, so if they do have the mobile capabilities you need, i think it is a solid choice.
      If you are familiar with server hosting yourself, maybe FishNet is a safe bet. I don't dislike Photon, but I don't like/support the limited CCU business model.

  • @bastelbudi
    @bastelbudi Год назад

    i am getting some strange behaviours. i did everything like in the video and copyed the playercontroller 1:1. when i now start 2 instances of the game and try to move with player 1, i move player two and vista versa

    • @BobsiTutorial
      @BobsiTutorial  Год назад

      That sounds strange. Probably something wrong with the Avatar.IsMe call. If you copied/downloaded it directly, maybe the setup of the character is not correct and it can't grab the avatar?

    • @bastelbudi
      @bastelbudi Год назад

      @@BobsiTutorial i found the problem. you need to make sure that the character controller of all other clients getting disabled if !_avatar.IsMe

    • @ItsOmeyYT
      @ItsOmeyYT Год назад

      @@bastelbudi uhh what? btw i have the same issue

  • @teodagreat
    @teodagreat 4 месяца назад

    I'm trying to have a singular object exist between both player's games (a soccer ball). I tried using some of the object spawning code from that tutorial video, but that always spawns two balls and they aren't synced and just a lot of problems.
    How could I have a non-player object exist and have the ability to be manipulated by both players?

    • @BobsiTutorial
      @BobsiTutorial  3 месяца назад +1

      Woah. This comment slipped through the cracks, apologies about that!
      You're likely spawning the ball from something that exists either twice or individually on each client. Try and have a single manager in the scene to handle the spawning for you.

    • @teodagreat
      @teodagreat 3 месяца назад

      @@BobsiTutorial oh wow I didn't expect to actually get a response, thank you so much, I will try that!

  • @totallyoffgrid3008
    @totallyoffgrid3008 11 дней назад

    I am curious about something and maybe someone can help… I am trying to create a capture the flag world game. I want to make it work that the world is always active and if you are not online, your base can be taken by someone that is online at the time on a particular server. When I log back on, if no one has taken my base, it still belongs to me…. Is this possible? Does the server work like that? Any advice is appreciated.

    • @BobsiTutorial
      @BobsiTutorial  11 дней назад +1

      I'm not sure, you might have to ask in the Alteruna Discord. I don't think the Alteruna servers allow for permanent up-time like that, I think they run on room/lobby logic, meaning when everyone leaves, the instance/room shuts down.

    • @totallyoffgrid3008
      @totallyoffgrid3008 11 дней назад

      @ my other thought was to do a main game, then do a tower defence game on a server, but I would want your items and accomplishments you get in game to carry over to the tower defence.

  • @YazanAlmansouri
    @YazanAlmansouri 2 месяца назад

    is there a way to sync movment because when i move in 1 tab it doesnt register for the other tab

    • @BobsiTutorial
      @BobsiTutorial  2 месяца назад

      The transform sync component should handle that

  • @firstname9928
    @firstname9928 11 месяцев назад +1

    I love you

  • @RealMunkey
    @RealMunkey 13 дней назад

    any tips on getting the players to sync right when going high speed?

    • @BobsiTutorial
      @BobsiTutorial  13 дней назад

      what do you mean with "sync right"?

    • @RealMunkey
      @RealMunkey 13 дней назад

      @@BobsiTutorial choppy movement/not syncing across the players network when moving too fast

    • @BobsiTutorial
      @BobsiTutorial  12 дней назад

      @@RealMunkey hmm, sounds strange. I don't work much with Alteruna, so maybe try and ask in their Discord 🙂

  • @JarsotakethatL
    @JarsotakethatL Год назад +1

    Can you do a tutorial on webgl 3rd person multiplayer

    • @BobsiTutorial
      @BobsiTutorial  Год назад

      This is very specific, but something i could look into for the future ^^
      Generally, thirds person and first person when it comes to the setup is very similar, and you should be easily able to do that part for yourself.
      And having highly interactive games such as first or third person games, isn't exactly great for the browser, just so you know ^^

    • @JarsotakethatL
      @JarsotakethatL Год назад

      @@BobsiTutorial yes i have been doing some research but still can’t find a tutorial when people join in a game in webgl and we can see the other person’s character joining the game as well. It’s possible and i hv seen project does this but yeah it’s not open source. Would be great if you can make this tutorial man. Pretty sure a lot of people wanted this as well 👍🏻

    • @BobsiTutorial
      @BobsiTutorial  Год назад

      @@JarsotakethatL Well Alteruna is not WebGL ready for now. but it is something they are working on 🙂

  • @JarsotakethatL
    @JarsotakethatL Год назад +1

    can we use this for webgl 3rd person?

    • @BobsiTutorial
      @BobsiTutorial  Год назад

      As far as I am aware, Alteruna does not support WebGl yet, but it is in the scope.

  • @oconop2310
    @oconop2310 10 месяцев назад

    how can i synchronize animations and maybe you could make a video on it?

    • @BobsiTutorial
      @BobsiTutorial  10 месяцев назад

      I don't think they have an automatic way to do it, so the best way would be to use synchronized values and constantly set those in the animator.

  • @LeviWaters-v6d
    @LeviWaters-v6d 9 месяцев назад

    is there anyway you can just provide a package where all of this is already set up, for some reason it is not working on mine? thanks!

    • @BobsiTutorial
      @BobsiTutorial  9 месяцев назад

      I don't have these files anymore, so unfortunately not. If things aren't working, might be a good idea to join the Alteruna discord. They are very helpful in there.

  • @Truck1st
    @Truck1st Год назад

    Hi bobsi, sorry for coming (again) but I am experiencing an issue, so I made a script where the player looks up and down but when I go to multiplayer it doesn't do the same?

    • @BobsiTutorial
      @BobsiTutorial  Год назад

      Not really enough information to go off of here...

    • @Truck1st
      @Truck1st Год назад

      @@BobsiTutorial I found the issue, sorry for disturbing.

  • @galaxy-gtmods
    @galaxy-gtmods 2 месяца назад

    nice video but can you by any chance make it 3rd person

    • @BobsiTutorial
      @BobsiTutorial  2 месяца назад

      You can just make it third person. The multiplayer setup doesn't really change ^^

  • @MicahDaRhuler
    @MicahDaRhuler 3 месяца назад

    Good tutorial. Unfourtunatly, Alteruna screwed me over, their webssite is broken and like two weeks into coding their service stooped working right too.

    • @BobsiTutorial
      @BobsiTutorial  3 месяца назад

      oh wow, didn't know about this. Sorry to hear. They're not responding on their discord and such?

    • @MicahDaRhuler
      @MicahDaRhuler 3 месяца назад

      @@BobsiTutorialthe guy just gave me a crappy vague answer like my data is mismanaged or whatever. But that doesnt make sense because I also tested an old version of my game which worked prior and that’s not working either.

    • @BobsiTutorial
      @BobsiTutorial  3 месяца назад

      @@MicahDaRhuler I'm confused. It sounds to me like their website and service is online as normal, but something isn't working for you?

    • @MicahDaRhuler
      @MicahDaRhuler 3 месяца назад

      @@BobsiTutorial​​⁠the website works again my my game still doesn’t. What happens is I create a lobby and have another window join in. It doesn’t join until like a minute later and a bunch of stuff is broken like animations.

    • @BobsiTutorial
      @BobsiTutorial  3 месяца назад

      @@MicahDaRhuler So it sounds like an issue on your side and not that their service is down like your original message. Now this is still clearly frustrating, but it's hard to do something about it, if we don't know the issue.
      The classic approach here would be to start a new project, and start introducing stuff one by one, until you find the/a culprit.

  • @minecraftredstonecraft1539
    @minecraftredstonecraft1539 8 месяцев назад

    Can i also play with a diffrent computer on the multiplayer?

  • @3VOX3
    @3VOX3 Год назад

    Good tutorial, theres a problem tho
    It never shows the option automatically spawn player and when i was in a multiplayer game, i was able to control the other player for some reason
    Do you know how i can fix these problems.

    • @BobsiTutorial
      @BobsiTutorial  Год назад +1

      Most likely didn't do the disabling correctly in the script.

    • @3VOX3
      @3VOX3 Год назад

      @@BobsiTutorial so the game kinda works, but whenever a player joins the game freezes and whenever the other instance of the game is closed then the game starts working.
      what should i do
      heres a explanation
      basically whenever another player joins the game, it freezes for both player but i can kinda move where basically i can press a button and if i go to another instance of the game it would have moved but then i cant move or do anything
      then once the other instance of the game is closed or the player leaves, then the player is able to move but when some one joins then it freezes again

    • @BobsiTutorial
      @BobsiTutorial  Год назад

      @@3VOX3 sounds like maybe some of the disabling logic is wrong. Try and re-watch that part again perhaps.

    • @3VOX3
      @3VOX3 Год назад +1

      Thanks, the game is now working!
      I will definitely watch and try some of your other altertuna videos

  • @LavaBiteYT
    @LavaBiteYT 6 месяцев назад

    When i drag the RoomMenu into it my icon turns into a X and won't let me put it in

    • @BobsiTutorial
      @BobsiTutorial  6 месяцев назад

      Might be a good idea to ask in the Alteruna discord. That way you can also send an image or video of the issue 🙂

  • @FultmanVR
    @FultmanVR Год назад

    my problem is like i make a player and i make the visor and it like it shows the whole body and it doesnt point where the visor is it like shows the whole body

  • @kbslaurentians867
    @kbslaurentians867 9 месяцев назад

    Is there a way to make this multiplayer function work through a webGL build?

    • @BobsiTutorial
      @BobsiTutorial  9 месяцев назад

      I'm unsure if Alteruna has WebGL support. You should be able to see on their website or ask in their Discord.

  • @yuxinchai9841
    @yuxinchai9841 10 месяцев назад

    Heyy where can you open the testing window? Thanks!

    • @TotallyFe
      @TotallyFe 10 месяцев назад

      create a build of the game and make a server in editor and join it on the build version

    • @BobsiTutorial
      @BobsiTutorial  10 месяцев назад

      You can build or use parrelsync

  • @auxiefox
    @auxiefox 6 месяцев назад

    how do i disable the mouse lock so i can click back in the menu?

    • @BobsiTutorial
      @BobsiTutorial  6 месяцев назад +1

      Cursor.lockState = CursorLockmode.None I believe