How to Make a Multiplayer Game - The Lobby

Поділитися
Вставка
  • Опубліковано 5 лис 2024

КОМЕНТАРІ • 290

  • @PixelbugStudio
    @PixelbugStudio 3 роки тому +57

    It's Noa's brother speaking, who is interested in coding part of game dev. Really looking forward to watch intermediate or advanced level of Coding tutorials man✌️

    • @SaadTheGlad
      @SaadTheGlad 3 роки тому +2

      Wdym "I think" is that a typo?

    • @rp9355
      @rp9355 3 роки тому +2

      I really want code work content 🙂

  • @gaborszpisjak1874
    @gaborszpisjak1874 3 роки тому +29

    That was the best and most straightforward tutorial about the topic, I have ever seen. And just when I needed it. You made it so easy to understand. Great work! A million thanks and keep it up!

  • @landonchandler9714
    @landonchandler9714 2 роки тому +7

    After countless hours of searching I have finally found the perfect tutorial that actually explains everything and is very simplistic and straightforward. Thank you for making this video. One small issue I had was the cropped screen at some times, and the prefab object probably wouldn't be that clear to beginners initially. Aside from that this is one of the most helpful photon tutorials out there.

    • @SarveSilva
      @SarveSilva 5 місяців тому

      Could you help me with the prefab items? I'm a total beginner and it doesn't work, I'll give you my discord if I can

  • @Necronlord2011
    @Necronlord2011 2 роки тому +51

    As feedback, please don't have screen cropped when you drag GameObjects into their place in the script, as a beginner it gets confusing to follow where you got them from even with their name displayed.

    • @2gr8te4u5
      @2gr8te4u5 2 роки тому +1

      True, but if you're a beginner, why are you trying to do online networking?

    • @AnimalLovers92927
      @AnimalLovers92927 2 роки тому +7

      @@2gr8te4u5 im beginer, but not beginer in unity, just beginer in online networking, thats what he means

    • @leadattic
      @leadattic Рік тому +5

      @@2gr8te4u5 cuz why not

    • @dh5888
      @dh5888 Рік тому

      @@AnimalLovers92927 If you are just a beginner in Networking and not Unity, you must have developed basic sense of what game objects are being linked between UI and scripts

    • @AnimalLovers92927
      @AnimalLovers92927 Рік тому

      @@dh5888 yes i did, now my multiplayer game has been finished, and already on playstore

  • @darkwingdanger3661
    @darkwingdanger3661 3 роки тому +15

    You literally released this as I finished the other one. You guys are the greatest.

  • @GoodSmile3
    @GoodSmile3 3 роки тому +8

    Finally something warm this cold morning.

  • @pauls.7663
    @pauls.7663 3 роки тому +5

    Well you helped me at the right moment! I started to experiment with Photon yesterday after seeing you old tutorial. This updated video goes even further👍

  • @tryme6413
    @tryme6413 3 роки тому +7

    omg im so looking forward to this tutorial and future tutorials about multiplayer because i was just searching on how to make a multiplayer game tysm for making this

  • @recodegamesstudio
    @recodegamesstudio 9 місяців тому +1

    Note that this is a great tutorial but slightly a bit outdated as Pun has changed since and your lobby may show rooms that have no players or are ended. I fixed it by doing a check before creating the "roomItemPrefab". Check if "room.IsOpen" and "room.playercount > 0". The room is open shows if it can be joined (still active) and playercount greater than 0 prevents room that end still appearing with 0 players (non-existent). This for me works and now the lobby only shows active, alive rooms that the player can join. Hope it helps anyone

  • @giant6706
    @giant6706 3 роки тому +5

    I was watching the other multi-player tutorial of yours and suddenly got a ping from discord that you uploaded a new video about Photon 😎

  • @mikael808
    @mikael808 3 роки тому +6

    I'm super excited for this series! Thank you so much! :)

  • @bunggo9914
    @bunggo9914 3 роки тому +2

    this is the best unity networking tutorial I've ever see.

  • @abhay5355
    @abhay5355 2 роки тому +1

    Thanksss a lotttt Sir, I was working on a 3d multiplayer game from past many days but was unable to implement photon, i followed this tutorial, watched it many times and today just a moment ago i did it. The level of satisfaction i am having right now i just can't explain, no more words to say. Thanksss a lotttt sirrrr❤❤

  • @NOTONtechsx
    @NOTONtechsx 3 роки тому +27

    I was having an issue where if a room is being created and then after leaving it, it would still show up in the rooms list. Ran a Debug statement and noticed the error was because for some reason Photon was returning that room even after all players have left the room. But if I disconnect and reconnect back to the Lobby, it doesn't return the empty room anymore. If anyone is having this issue, then inside the foreach statement where we instantiate a new room item, add this code before the Instantiate statement:
    if (room.RemovedFromList)
    {
    return;
    }
    This will make sure that if there are any empty rooms, it will not be shown in the rooms list.

    • @spyschannel8000
      @spyschannel8000 2 роки тому +3

      i dont know who takes the time out of their day to put a fix in youtube comments but thank you my man, your stuff should be way up there

    • @tristanlapointe9087
      @tristanlapointe9087 2 роки тому

      Thank you so much!!

    • @felipeliberado
      @felipeliberado 2 роки тому +1

      But the "return" is gonna stop the other listing of rooms, right? this solution is not working for me

    • @minitruffle
      @minitruffle 2 роки тому

      thank you kind sir

    • @philliperasmus8426
      @philliperasmus8426 2 роки тому

      @@felipeliberado Hi, did you ever find a solution for this? I have the exact same issue?

  • @anishsrivatsan2332
    @anishsrivatsan2332 3 роки тому +2

    I was missing Blackthornprod's new uploads... So happy now!

    • @liamcalice7580
      @liamcalice7580 3 роки тому

      Yes, we are back! Thanks for the support :)

  • @senate_66
    @senate_66 3 роки тому +5

    Great tutorial, a tutorial on how to join a random lobby that starts automaticly would be great

  • @isthatcaydo
    @isthatcaydo 3 роки тому

    This is the only channel that I've turned on the notifications for. Thank you for this 😄

  • @CharlesBalisalisa
    @CharlesBalisalisa Рік тому +5

    if anyone is having trouble at 18:30 where he dragged the text to the room name in the inspector. Just open the prefab, then in the button game object, there will be a text there. Use that to drag and drop the text object to the script

    • @kamilopupilo
      @kamilopupilo Рік тому

      I'm having the same issue but I don't understand how that works because you can't add anything outside the prefab if you are in the prefab?

    • @kamilopupilo
      @kamilopupilo Рік тому

      nvm I sorted it now

    • @johntrinh2711
      @johntrinh2711 Рік тому

      its doesnt work for me

    • @nachaphont
      @nachaphont 8 місяців тому

      IT DOESNT WORK FOR ME T-T I CANT FIX IT

    • @coverscollection8775
      @coverscollection8775 7 місяців тому

      @@kamilopupilo sir how did you fixed it?

  • @norvinshaqlintag9214
    @norvinshaqlintag9214 3 роки тому +2

    THANK YOU BTP! You saved my life. This is what I am looking for. When is the part 2?

  • @HelperWesley
    @HelperWesley 3 роки тому +6

    I don't use Unity to make my games, but this tutorials does make it look really simple. Nicely explained. 👍

  • @liadovdat
    @liadovdat 2 роки тому +8

    Great tutorial !
    I do have one issue, if player 1 create room and left it, the room will be deleted and wont show on his list but player 2 will still see the room in the list and won't update. Of course if player 2 will try to join the empty room he won't succed and just stay in the lobby panel.
    for some reason the OnRoomListUpdate is not updating the list when the list is updated.

    • @youngag2710
      @youngag2710 Рік тому

      Same lol, have you found a solution ?

  • @Shorkiedokey
    @Shorkiedokey 3 роки тому +1

    Awesome networking tutorials, please keep them up!!!

  • @denn501
    @denn501 2 роки тому

    Im creating a virtual table to play some cards games online with my friends
    This tutorials are helping me alot!!

  • @emnd4540
    @emnd4540 3 роки тому +1

    Superb tutorial. Waiting for the next one. Thank you.

  • @greenergamer57
    @greenergamer57 7 місяців тому +1

    Hey any one know how to fix error, Object reference not set to an instance of an object. It happens when someone try's to join a room. plz help.

  • @BinaryVectorJr
    @BinaryVectorJr 2 роки тому +3

    If anyone is getting the "Operation JoinLobby (229) not called because client is not connected or not ready yet, client state: JoiningLobby" error, just comment out the "public overrride void OnConnectedToMaster()...." code block. Apparently this method causes the JoinLobby() to be called once correctly and then again during client lobby connection process, which causes it to fail. It seems that in newer versions of Photon, doing the UpdateList stuff is enough. [Working as of 9 July 2022]

  • @kyleennis4560
    @kyleennis4560 2 роки тому

    thanks for this! made making our lobby a breeze! As I've only had the briefest experience with Photon, this really made the concepts quick and easy to understand.

  • @simonvutov7575
    @simonvutov7575 2 роки тому

    THANK YOU SO MUCH, IVE BEEN LOOKING FOR THIS!

  • @CodeConnor
    @CodeConnor 3 роки тому +4

    Okay im making this comment cause I spent a couple days figuring it out. If you couldn’t drag the room name text into the room item prefab make the room name a prefab and make sure your script for room item is attached to the room item with a normal text field. I was using a raw image for where my script was attached and underneath I had the text. I did this to give a background image but it didn’t work. Try changing the location of your script on the prefab and see if that solves the problem for anyone having this issue

    • @SeeMoreKelly
      @SeeMoreKelly 2 роки тому

      If you double click on your prefab, then within the hierarchy of the prefab itself there should already be a text field. Click on RoomItem in the hierarchy(NOT the prefab in resources, then drag the child text(directly below RoomItem in hierarchy) into the script slot.

    • @CodeConnor
      @CodeConnor 2 роки тому +1

      @@SeeMoreKelly I fixed this a while ago it was a unity. Bug

  • @ekanshtardeja
    @ekanshtardeja 3 роки тому +2

    I LEARNED EVERYTHING FROM U MY MASTER

  • @legends389
    @legends389 3 роки тому +1

    Awesome Man! Can't Wait For The Next Tutorial When Will It Be Out :D

  • @5thBabbitt
    @5thBabbitt 3 роки тому

    Seriously appreciate this tutorial

  • @da1memer192
    @da1memer192 2 роки тому

    Amazing Tutorial!
    Keep Doing This!

  • @kingjawdev8102
    @kingjawdev8102 3 роки тому

    Let’s gooo blackthornprods back

  • @baifan8704
    @baifan8704 3 роки тому +8

    Download the project here: drive.google.com/drive/folders/1zTMfk8_tu9nP3EHc26KEfii5l3hIyoOg?usp=sharing

    • @CarlosMartinez-ir6mu
      @CarlosMartinez-ir6mu 2 роки тому

      You don't happen to have the scripts for the second part of this video?

  • @rblxl3g3nd66
    @rblxl3g3nd66 Рік тому +1

    Whenever I build the game, my antivirus blocks the game and says that it's a virus.

  • @Benjabenjaaaa
    @Benjabenjaaaa 3 роки тому +5

    Amazing tutorial eazy to follow and a good result as always✔

  • @lucaschagas8588
    @lucaschagas8588 3 роки тому

    I love it bro! Thank you very much, amazing tutorial!!!

  • @vihaansachan7805
    @vihaansachan7805 3 роки тому +2

    Nice video helped me alot

  • @noobcraft5712
    @noobcraft5712 3 роки тому +2

    Your vidios are the best.

  • @flashbackmovie8792
    @flashbackmovie8792 2 роки тому +1

    please, help! Why can't I create a prefab on button click, watched the video 100 times, didn't notice anything...

  • @tunahancoskun3375
    @tunahancoskun3375 Рік тому

    normally there was no problem, but it doesn't list the rooms anymore, problem is canvasta?

  • @jiaen4632
    @jiaen4632 2 роки тому

    this tutorial saving me from my assignment

  • @argiam.ahyaelmushofa6592
    @argiam.ahyaelmushofa6592 3 роки тому

    Finnaly i'am waiting for this

  • @thefire8960
    @thefire8960 Рік тому

    Great video , I start with Pun2 and you helpful me thanks

  • @royvictorgagarin55
    @royvictorgagarin55 3 роки тому

    Awesome, another great tutorial 👍

  • @ralphietheduckkkkk
    @ralphietheduckkkkk Рік тому +1

    i love your videos man. your helping me a lot but this one just seemed rushed. i hope you take this constructively... i ALWAYS prefer a quicker video with good explanations like yours but this video was just meant to be a bit longer with more in depth details.
    with that being said i figured out the things i needed to. much love!! love your game designs as well. what do you use? i use procreate for all visual assets ive created. also, second video link or title?

  • @W1nt3r_.
    @W1nt3r_. 2 роки тому +2

    Here is a working fix for rooms duplicating just add this to the for loop where we instantiate a new room item. Basically what I have done here is I delete the room's GameObject. Soon enough I noticed that if u were to create a room with the same name, it wouldn't be created because it is still in the list. Since we only delete the gameobject, we never got rid of it from the list, so you simply just have to remove it from the list aswell :
    if (room.PlayerCount == 0)
    {
    PhotonNetwork.Destroy(newRoom.gameObject);
    roomItemsList.Remove(newRoom);
    }
    If you have any question about it just reply to this comment and I'll try my best to answer.

    • @timmy_he1469
      @timmy_he1469 2 роки тому

      I have a question.What if one player created a room when another player hasn't login yet,so when the other player logs in and gets in the lobby,he can't see the created room,because you're only showing the room list after onRoomListUpdate() function.

  • @souporwormgaming
    @souporwormgaming 3 роки тому +1

    Epic he back

  • @Rise2034
    @Rise2034 3 роки тому

    he's back!!!! yay!

  • @nv7287
    @nv7287 2 роки тому

    This is such a great tutorial
    - I wonder how this would be integrated with a location based game - how to place Players in a room but have their locations?

  • @infiniverse835
    @infiniverse835 3 роки тому +1

    Amazing BTP!

  • @nehasharma8896
    @nehasharma8896 3 роки тому +1

    After a long time I miss you much a great game dev is missing and a great news do you know Mark brown announced he will start making games

  • @baifan8704
    @baifan8704 3 роки тому +2

    best tutorial out there however i found a liitle bug. If the other client creates and leaves the room the room is still shown at the other client. If the client waiting in the lobby tries to join the lobby nothing happens. I couldn`t figure out how to call the roomupdate method constantly so that clients waiting in the lobby have an real picture of avaible rooms. Would be pretty neat if someone could share a solution.

    • @Sakura-zt8td
      @Sakura-zt8td 3 роки тому

      yeah

    • @Sakura-zt8td
      @Sakura-zt8td 3 роки тому

      you must seen the last part

    • @baifan8704
      @baifan8704 3 роки тому

      @@Sakura-zt8td I followed the last part, the bug didnt go away

    • @baifan8704
      @baifan8704 3 роки тому

      @@igna3385 Sadly not

    • @xuantienpham5777
      @xuantienpham5777 2 роки тому

      @@Sakura-zt8td The last part is for the room still showing on the host itself, doesn't solve the problem baifan mentioned

  • @Goose9953
    @Goose9953 4 місяці тому

    for anyone who cant drag their input fields into the script reference, you are using TMP, in your script define the variable as public TMP_InputField usernameInput;
    and the same for your text
    EDIT: IMPORTANT: make sure you say at the top using TMPPro; or this wont work!

  • @JP-vi9mw
    @JP-vi9mw 3 роки тому

    it would be cool a chat system for the servers

  • @duztine
    @duztine 2 роки тому

    Very helpful! Thanks

  • @NicoDKYT
    @NicoDKYT 2 роки тому

    What a THICC Tutorial

  • @saulrojas2679
    @saulrojas2679 2 роки тому +2

    Great tutorial, I was having an issue on second 18:34, Unity does not let me attach roomName text to my roomItem prefab, I was wondering why but not received satisfactory answer on internet, can anyone tell me what are the correct steps to do in that case?

    • @purpleskrim6935
      @purpleskrim6935 2 роки тому

      same it wont work

    • @littlemage3432
      @littlemage3432 2 роки тому

      same problem here

    • @jamesfan7768
      @jamesfan7768 Рік тому

      7 months later, same problem

    • @emlgaming1234
      @emlgaming1234 Рік тому

      do u use teytMeshPro?
      because if you use it you have to write
      using TMPro;
      and then write instead of "public Text", "public TMP_Text"

    • @coverscollection8775
      @coverscollection8775 7 місяців тому

      @@emlgaming1234 still wont work

  • @zentz1408
    @zentz1408 3 роки тому

    Ur back!!

  • @mahimnaimofficial136
    @mahimnaimofficial136 3 роки тому +1

    Thanks Man

  • @thespecialnoob
    @thespecialnoob 2 роки тому +1

    How would you make it so that all created room would lead to a different scene?

  • @ShahbazGames
    @ShahbazGames 3 роки тому

    You guys are awesome

  • @christopherdeguzmaniii7810
    @christopherdeguzmaniii7810 7 місяців тому

    Previously the room items show after creating a room. but after a few tries of playing the room items is not showing anymore.Please help.

  • @ctenga1
    @ctenga1 3 роки тому +1

    OMG it's crazy ! I am creating a new project live just to try it on my own with the documentation.
    You're a wizard !!!
    But I'm sad that a part of your Udemy class is free here ...

  • @avinash.v4896
    @avinash.v4896 3 роки тому

    I am a noob in unity but I like the animation and graphic in your game.Can you plzz do a detailed tutorial of how to make it

    • @semiraf
      @semiraf 3 роки тому

      He has a bunch of detailed tutorials on creating 2D game art for beginners, but it's best to find your own art style. If you do prefer to take inspiration from his art style, I've listed a bunch of his tutorials here:
      Pixel Art Playlist: ua-cam.com/play/PLBIb_auVtBwDCYz94DLRsXQ5nuqL7DiAh.html
      2D Game Character: ua-cam.com/video/9oiz1pectr8/v-deo.html
      2D Game Animations: ua-cam.com/video/2o5HerzDohU/v-deo.html
      Complex 2D Animations, Easily: ua-cam.com/video/5KroAMRdZpM/v-deo.html
      Step-by-Step Painting in Photoshop: ua-cam.com/video/1kc2HGj8ef0/v-deo.html
      2D Game Art Playlist: ua-cam.com/play/PLBIb_auVtBwBzY820L_LFnlK8v_V3Avxc.html

  • @ivanplouganou3244
    @ivanplouganou3244 2 роки тому +1

    I really don't understand how you can add the RoomName (Text) to the RoomItem Prefab in min 18:32... For me it don't allow to add the text on the Prefab, only if the buttom is created in the Scene...

    • @treeadam5298
      @treeadam5298 Рік тому

      Same did you find a way to fix this?

    • @Charlie13O2
      @Charlie13O2 Рік тому

      @@treeadam5298 you drag in the text inside the prefab instead of the whole prefab

  • @brunofan8104
    @brunofan8104 3 роки тому

    BRO I HAVE 6 MONTHS UNITY GAME DEVELOPING EXPERIENCE BUT I HAVE SO MANY PROBLEMS TO DO PROGRAMING ❣️❣️❣️

  • @estherogwuche1708
    @estherogwuche1708 2 роки тому

    Great content

  • @xiba04
    @xiba04 8 місяців тому

    I can't get the name of the rooms to appear in the list. The buttons are being added to the list but it does not put the names of the rooms on the buttons in the list. In the RoomItem it is not clear to me in the Room Name field that I have to drag. The Room Name of the PanelRoom?

  • @psimurilo
    @psimurilo 2 роки тому +1

    can you share the UI assets you used in this project?

  • @jasperdavis8234
    @jasperdavis8234 3 роки тому

    your back?!

  • @kamilopupilo
    @kamilopupilo Рік тому

    This is a good tutorial but I have a problem where the game only shows me the room in the project and not when I build the game and then comes up with a very long error

    • @kamilopupilo
      @kamilopupilo Рік тому

      nvm, I just forgot to build the game again

  • @SeemaSingh-xf6ts
    @SeemaSingh-xf6ts 3 роки тому

    Hey I have purchased your multiplayer course and I want to ask that why didn't you update that course with this content

  • @shikup6877
    @shikup6877 3 роки тому +3

    Does anyone know how he added the scene object "Roomname" to the prefab "Roomitem" at timestamp 18:28 ?

    • @CodeConnor
      @CodeConnor 3 роки тому

      No clue you ever figure it out?

    • @xuantienpham5777
      @xuantienpham5777 2 роки тому

      Check 18:54, RoomName is the text object that was changed to called 'test'. It's the one that displays the text for RoomItem

    • @Saykey20111
      @Saykey20111 2 роки тому

      it is made this way to buy his class in udemy, This guys wasted a lot of our time for half baked tutorial.

    • @celledge48
      @celledge48 2 роки тому +3

      Since no one has answered this anywhere, I will answer it here. Sorry if I am late to the party. So the prefab is a button, so if you open the prefab, you can go to the text component in the button dropdown and then you drag and drop its own text component into the script. The text component isn't from any other object, it is coming from itself.

    • @Charlie13O2
      @Charlie13O2 Рік тому

      @@Saykey20111 No. you have to drag in the text inside the prefab, not the prefab

  • @theAAGfilms
    @theAAGfilms Рік тому +1

    This was a great tutorial, I really appreciate it!
    I did have an issue, though. Let's say I run a build instance of the game and then an in-editor instance of the game. Then, in the build instance, I go ahead and create a room. After doing this, I connect to the Lobby with the in-editor instance.
    HOWEVER, in the editor instance, the room doesn't show up in the list. This does not happen if both instances are in the lobby at the same time. Only if the one instance is in a room, and afterwards another instance goes to lobby.
    Does anyone know a solve? I tried to create a button that would refresh the list by calling OnRoomListUpdate again, but it doesn't seem to find any new rooms.

  • @mikejack8004
    @mikejack8004 2 роки тому +1

    Is 20 CCU the max player of a lobby or for the whole game

    • @gomango99
      @gomango99 2 роки тому

      Whole game, but if you self-host the server, you can get up to 100 CCU for free

  • @acrow4969
    @acrow4969 7 місяців тому

    im not sure what i did but the server wont show up to a second party(both builds ran on my computer)

  • @yaredhernandez4171
    @yaredhernandez4171 2 роки тому

    I have a problem, I followed what you did step by step and it worked perfectly for me until the next day when I asked a friend to try if my room appeared.
    I created the room and everything was fine, but it told me that nothing appeared, I tried how you do it by compiling and from Unity and the rooms were no longer updated, it did not move anything at all.
    The room is created fine and everything works perfectly but it no longer shows me the list of rooms when a day before if the rooms appeared.
    Do you know what could be due?

  • @FoxDenWorld
    @FoxDenWorld Рік тому

    7:06 when I try to drag and drop it won't let me. Just has the little circle error sign. Any suggestions?

  • @pacusz
    @pacusz 3 роки тому

    Wow, usefull stuff, thx ;)

  • @mauriciocortespersonal
    @mauriciocortespersonal 3 роки тому

    Thanks!

  • @onkarwakchaure3586
    @onkarwakchaure3586 5 місяців тому

    18:28 here im unable to drag text element into room name slot 😞 I tried TMP_text too but still its not working. PLEASE HELP ME WITH THAT ‼️‼️

  • @thediodoin1000
    @thediodoin1000 2 роки тому

    hello im following this tutorial but im having a problem bc you crop the screen its hard for me to see and i got lost so when i try to multiplay theres a defult server there and then when i make a server then the default servers name changes to the name i named the server too but the problem is that i dont want that default server to be there unless i make a server

  • @grzegorzwierzbicki8150
    @grzegorzwierzbicki8150 2 роки тому

    I do everything as I see on the video, but doesnt work. At the beginning all scenes are visible, then I connect to server, got connection, in the lobby scene I cannot write a room name. No errors on a console.

    • @estherogwuche1708
      @estherogwuche1708 2 роки тому

      Try adding an event system from the UI options

    • @grzegorzwierzbicki8150
      @grzegorzwierzbicki8150 2 роки тому

      Thank you, I'll try your tip.

    • @grzegorzwierzbicki8150
      @grzegorzwierzbicki8150 2 роки тому

      @@estherogwuche1708 Could you be so kind and tell me how to add event system to the project properly?

    • @grzegorzwierzbicki8150
      @grzegorzwierzbicki8150 2 роки тому

      CreateRoom failed. Client is on MasterServer (must be Master Server for matchmaking)but not ready for operations (State: PeerCreated). Wait for callback: OnJoinedLobby or OnConnectedToMaster.
      UnityEngine.Debug:LogError (object)
      Photon.Pun.PhotonNetwork:CreateRoom (string,Photon.Realtime.RoomOptions,Photon.Realtime.TypedLobby,string[]) (at Assets/Photon/PhotonUnityNetworking/Code/PhotonNetwork.cs:1782)
      LobbyManager:OnClickCreate () (at Assets/Scripts/LobbyManager.cs:24)
      UnityEngine.EventSystems.EventSystem:Update () (at Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/EventSystem.cs:517)

    • @grzegorzwierzbicki8150
      @grzegorzwierzbicki8150 2 роки тому

      Ok, I have moved Event System from Connect scene to Lobby scene and it worked.

  • @leagueetv876
    @leagueetv876 3 роки тому

    Did someone have a problem where a friend stays in your room, you leave the room and then he leaves the room, but the room stays visible in the room list for you but not for him.

    • @timmy_he1469
      @timmy_he1469 2 роки тому

      i've got this issue too, have you solve it? and can you tell me how?

  • @SarveSilva
    @SarveSilva 5 місяців тому

    My list doesn't update, nothing appears when I create the room

  • @ColdChocco
    @ColdChocco 2 роки тому +4

    6:58 it wont let me drag them into the slots

    • @ColdChocco
      @ColdChocco 2 роки тому +2

      nvm I had to reference the fact that it was TMP

    • @coolaydunno
      @coolaydunno 2 роки тому +2

      @@ColdChocco Hello. I'm currently having the same issue. Could you please explain how you solved it?

    • @ColdChocco
      @ColdChocco 2 роки тому +3

      ​Ok, so it wasn't working bc his tutorial is using normal text, while i'm guessing you would be using text mesh pro, bc of the recent update making it the only text option that shows up in the create > ui menu.
      So, i found that you have to reference the namespace "using TMPro;" at the top o the script. Also, you have to replace the variables set at 4:11 from "InputField" and "Text" to "TMP_InputField" and "TextMeshProUGUI".
      Hope this helps :)

    • @littlemage3432
      @littlemage3432 2 роки тому +1

      @@ColdChocco Why dont use TMP_Text ?

  • @dclxviclan
    @dclxviclan 7 місяців тому

    And second series with player selection

  • @killstreakz
    @killstreakz 2 роки тому

    I have got error while tryna Display room: The Object you want to instantiate is null

  • @jaysol191
    @jaysol191 3 роки тому

    Awesome

  • @itzrahul303
    @itzrahul303 3 роки тому

    Will u be uploading the next parts of this tutorial??

  • @457Deniz457
    @457Deniz457 3 роки тому

    Nice thanks ! :)

  • @WhoAmI-_-hmmm
    @WhoAmI-_-hmmm 8 місяців тому

    Where is the ready button

  • @DarinBills
    @DarinBills 3 роки тому +1

    Can you put a link to the scripts plz cause im new to proton so can you please link a github for this video

  • @vinnik4274
    @vinnik4274 2 роки тому

    Hey hey,
    i Tryed your tutorial and i really like it! Greate Work!
    BUT: When i leave a room the "new roomname" and also the "create room" button are disabled or maybe the programm itself freezes. could anyone help here?

  • @andruhevich4641
    @andruhevich4641 2 роки тому

    Hi
    I am new at Unity, so I have a question regarding this Photon server.
    Should I hos this server, so other can play with me, or how it works?
    Thank you

  • @wesamkabha6794
    @wesamkabha6794 Рік тому

    OnRoomListUpdate is not really invoked after creating room, did this problem happen to some1 ?

  • @TimokaajeWinkelman
    @TimokaajeWinkelman Рік тому

    how do you get all those suggested codes into your visual studio?

  • @Ciavanni
    @Ciavanni 2 роки тому

    Hey Thanks for this tutorial! :-) I was just wondering .... What if I " PhotonNetwork.CurrentRoom.IsOpen = false;" ? Room will be still visible even if closed! How can I "Leave a Room" and make the list update? Player A creates a Room and Player B sees it in the Room List. Player A then push an "Exit" Button ... How to close that room and refresh Player B list with "No rooms" ? Thanks