No video

How To Make A Steam Multiplayer Game in Unity - Hosting & Joining Lobbies

  Рет қаралды 92,326

Zyger

Zyger

Күн бұрын

Пікірлер: 337
@Zihenroy
@Zihenroy 2 жыл бұрын
Took me 3 hours to implement this into my project and voila its coop now. I really appreciate how fast you are writing/explaining.
@AlexFigar
@AlexFigar 2 жыл бұрын
Mirror is need of more recent tutorials like this. It's a really good networking solution but I think it scares off a lot of beginners.
@Shahmuradov
@Shahmuradov 2 жыл бұрын
In 1:43 when you removed Kcp Transport and added Fizzy Steamworks, you forgot to mention that we also NEED to select Fizzy Steamworks as Transport in our Custom Network Manager, under Network Info. Spent two hours trying to figure out why am I doing the exact same thing as you, but I get errors. This was the problem :) Quick and nice video though, thank you!
@ZygerGFX
@ZygerGFX 2 жыл бұрын
completely forgot to mention. for me it automatically got assigned which is why I didn't mention it but ill make sure not to miss anythign like this next time! thank you !
@Shahmuradov
@Shahmuradov 2 жыл бұрын
@@ZygerGFX No worries! Keep up the good work, looking forward to next videos :)
@Shahmuradov
@Shahmuradov 2 жыл бұрын
@Adenashi Comix lmao, no problem. Glad it helped!
@surelymymainacc
@surelymymainacc 2 жыл бұрын
thank you thank you thank you thank you :)
@EnchikO
@EnchikO 2 жыл бұрын
Thank you, Sir.
@ThatGamePerson
@ThatGamePerson 2 жыл бұрын
Underrated, I've actually been dreading doing a multiplayer game beyond just messing around with friends because I assumed Steam would make it effing impossible. You've shown me it's actually doable so I might actually give it a go.
@trix_dev6088
@trix_dev6088 2 жыл бұрын
!! INPORTANT !! If you are getting errors saying "There was no active transport when calling NetworkServer..." Or "Must set the Network Address field in the manager" Go to your networkManager and under the custom Network manager script set "transport" under "Network info" to the networkManager game object. This should fix it.
@BigMintyMitch
@BigMintyMitch 2 жыл бұрын
Thank you!!!! Saved me hours of debugging.
@trix_dev6088
@trix_dev6088 2 жыл бұрын
@@BigMintyMitch no problem
@t0xangames207
@t0xangames207 2 жыл бұрын
THANK YOU VERY MUCH, HOLY MAN! I wonder why people like you haven't been recorded in the Bible yet. I tried to create a lobby in different ways (according to tutorials), it didn't work out correctly anywhere, then the lobby panel itself is not instantiated, then something else. There are 3 errors that came out (2 that you described, and another one caused by the fact that the manager's address is let), I was already desperate, I thought that's it, and I will leave my projects at the levels of creating multiplayer. And here you are... you saved my nerves, thank you!
@KeYatoKT
@KeYatoKT 2 жыл бұрын
long life to my savior
@Steedie
@Steedie Жыл бұрын
Thanks!!
@gnarlykill6373
@gnarlykill6373 2 жыл бұрын
scrolled through about 50 tutorials on this, yours is the only one that i could really understand, looking forward to the next part!
@GameJarne
@GameJarne 2 жыл бұрын
Thank you for this! I made a game using only mirror and this makes it way easier for my friends to join.
@neenaw
@neenaw 2 жыл бұрын
I just did something similar in Unreal, surprised how straight forward it was. Of course I will give this a go too! Just what I was looking for really!
@ZygerGFX
@ZygerGFX 2 жыл бұрын
ey that's awesome. I still to this point don't understand how multiplayer works in unreal. So ill need to read up on that just out of interest. also thank you !
@HYPERMUSH64
@HYPERMUSH64 2 жыл бұрын
Phenomenal tutorial, great introduction into steam multiplayer!
@Njoyy-wo9ti
@Njoyy-wo9ti Жыл бұрын
Hey i cant add fizztsteamworks cause i just get an error "There is no argument given corresponds to the required formal parameter"
@johndoubleub
@johndoubleub Жыл бұрын
Wonderful, short and concise, exactly the information you need to get a game working through steam, thanks a bunch!
@luisbauu
@luisbauu 2 жыл бұрын
been scouring youtube looking for p2p multplayer unity tutorials, really appreciate it!!
@isntityoshi5657
@isntityoshi5657 2 жыл бұрын
tsym for making these because I followed Dapper Dinos mirror tutorials and implemented steam into the lobby system myself using some of his steam tutorials which took ages and i already forgot how i did it.
@DiegoGrajales12
@DiegoGrajales12 2 жыл бұрын
What an awesome video over here! Very simple to follow up and easy to understand with your explanations!!! Keep it up!
@arpatronik
@arpatronik 2 ай бұрын
Best tutorial. I have tryed 3 more, but this is the easy one (at least to get steam integration and connection) Now... time to make gameobjects and other stufs, but Steam implementation was so nice. Thanks a lot!
@XboxPlayerPL
@XboxPlayerPL Жыл бұрын
There is no Steam App ID in FizzySteamworks version 5.0.1. Where should I set it?
@Pogal
@Pogal Ай бұрын
There is a .txt file. You change it in that I think.
@techweasel
@techweasel 5 ай бұрын
Is anyone else having an issue where once they put their game in steam the host game button does not work? I already went through the entire tutorial series but this issue happened once I sent the game to a friend.
@thepancakeexpert
@thepancakeexpert 4 ай бұрын
Your friend shouldn't be hitting the button. Only the host does. If it works for you but not them, maybe they just don't have steam open
@techweasel
@techweasel 4 ай бұрын
@@thepancakeexpert Sorry this was an issue forever ago, while your solution doesn't make very much sense to me as yes they did have steam open, I can confidently say this is just a unity 2022 issue that can be fixed with one line of code
@matteolotti2139
@matteolotti2139 2 ай бұрын
@@techweasel sorry i have the same problem, can i ask what is the line of code?
@techweasel
@techweasel 2 ай бұрын
@@matteolotti2139 Absolutely! Add the following script to all your UI, if you need an explanation I can give one, but trust that it works. using UnityEngine; public class ButtonBugFix : MonoBehaviour { void OnGUI() { } }
@monsterofbjorn
@monsterofbjorn Ай бұрын
When I click ‘Host,’ in editor my name appears in the lobby. However, when I build the project and open it with Steam, my name doesn’t show up in the lobby. anyone can help? How you fixed this?
@nyakopharr2347
@nyakopharr2347 Жыл бұрын
Why am ii getting Steam errors when installing Fizzy?
@MemesChannel7531
@MemesChannel7531 22 күн бұрын
Open the 2 errors and change the Invoke to DynamicInvoke
@MidnightHourr
@MidnightHourr 2 жыл бұрын
Glad I found your tutorial, you make it so simple and clear, and helped me alot!
@ZygerGFX
@ZygerGFX 2 жыл бұрын
Glad it helped!
@tiyashamondol2790
@tiyashamondol2790 2 жыл бұрын
Can't wait for your next video for Steam multiplayer!
@Pixko20
@Pixko20 Жыл бұрын
Hello, If anyone is getting invoke errors change invoke to DynamicInvoke
@217tman3
@217tman3 Жыл бұрын
My hero
@kiefergaming1828
@kiefergaming1828 9 ай бұрын
Hero
@youtuber9991
@youtuber9991 2 жыл бұрын
Very nice, thanks! Looking forward to the follow up videos!
@Nuckydie
@Nuckydie 2 жыл бұрын
If you encounter Steam not showing the overlay / not able to host when starting your game throught steam, try starting steam as administrator.
@RALLO2x
@RALLO2x Ай бұрын
for some reason at 1:49 when I add the fizzy steamworkds script it doesn't have the steam app id and the steam user ID it only shows Timeout Allow steam relay and use next gent.. i used the latest release of fizzy and also installed steam sdk, if i install the same version of fizzy you use I get a lot of errors cause it can't find "getsteamapps" even with steamsdk installed im stuck :(
@RALLO2x
@RALLO2x Ай бұрын
only way it works is if I use the same version of mirror and fizzy from the video
@wizardly
@wizardly 2 жыл бұрын
"Persist Network Manager to Other Scenes" is not appearing in the inspector. Its just not there, I did everything exactly though?
@DannyArchive
@DannyArchive 2 жыл бұрын
DId you find a fix?
@xyoxus
@xyoxus 2 жыл бұрын
She used FizzySteamworks 4.4.1, I think they removed it in 5.x
@bubby1595
@bubby1595 2 жыл бұрын
@@xyoxus No it's tied to mirror, and yes they did remove it, its automatic now to sync through the other scenes.
@msbrdmr
@msbrdmr Жыл бұрын
as soon as I import fizzy steamworks, an error (There is no argument given that corresponds to the required formal parameter 'arg3' of 'Action.Invoke(int, TransportError, strin) pops up. Any idea how to fix this issue?
@msbrdmr
@msbrdmr Жыл бұрын
Changed Invoke method to DynamicInvoke and seems to be working.
@motobike5Dev
@motobike5Dev Ай бұрын
Thank you for this! i was about to give up untill i saw this comment
@meeyatttA
@meeyatttA Жыл бұрын
Thank you so much! Very informative
@smashboiiiminecraft
@smashboiiiminecraft Жыл бұрын
Assets\Mirror\Runtime\Transport\FizzySteamworks\LegacyServer.cs(27,71): error CS7036: There is no argument given that corresponds to the required formal parameter 'arg3' of 'Action.Invoke(int, TransportError, string)' i am getting this error when i add fizzysteamworks and also i am not getting kcp transport automatically and nor persist functon
@skygge1136
@skygge1136 Жыл бұрын
i am also getting the same error
@raspuxdleppaniemi1938
@raspuxdleppaniemi1938 Жыл бұрын
you can change the invoke into a dynamicinvoke that worked for me (for now)
@hedgehogfriend6363
@hedgehogfriend6363 18 күн бұрын
I know how to fix it and I'm probably going to make a quick video about it, also with the scripts on GitHub
@TorSkywalker
@TorSkywalker Жыл бұрын
Fantastic tutorial, thank you so much!
@VyvyanTheGreat
@VyvyanTheGreat Жыл бұрын
Super helpful! Thank you!
@chrismations9191
@chrismations9191 2 жыл бұрын
Nice vid! Ima check this out on unity for my game!
@anthonylittell3986
@anthonylittell3986 Жыл бұрын
I'm getting an error when i try to download fizzysteamworks 4.4.1. When I import it I get errors saying "Assets\Mirror\Runtime\Transport\FizzySteamworks\NextServer.cs(42,71): error CS7036: There is no argument given that corresponds to the required formal parameter 'arg3' of 'Action.Invoke(int, TransportError, string)'" does anyone know how to fix this? I am using Unity 2021.3.11f1 and downloaded Mirror 2022.9.15. Mirror is the only thing I have in my project currently.
@cloudie9450
@cloudie9450 Жыл бұрын
I get the same error :( Im searching everywhere please tell me if you find a solution.
@Benjoy110
@Benjoy110 Жыл бұрын
I have the same error do you know how to fix it Then please tell it me.
@ImmortalTimothyM
@ImmortalTimothyM Жыл бұрын
Hello, unsure if it is a permanent or temporary fix, but the way I fixed it was by replacing s.OnReceivedError += (id, exception) => transport.OnServerError.Invoke(id, exception); with s.OnReceivedError += (id, error, reason) => transport.OnServerError.Invoke(id, error, reason); Then going through each instance of OnReceivedError.Invoke and making it OnReceivedError.Invoke(connectionId, TransportError.Unexpected, "ERROR Unknown Connection");
@larsmaas07
@larsmaas07 Жыл бұрын
@@ImmortalTimothyM can you tell a bit more.... does it still work?
@ImmortalTimothyM
@ImmortalTimothyM Жыл бұрын
@@larsmaas07 I am sorry, but I ran into other problems down the line so I eventually just switched to a different multiplayer solution.
@t0xangames207
@t0xangames207 2 жыл бұрын
Thank you for this wonderful tutorial && your beautiful voice)
@hallocsky6743
@hallocsky6743 8 ай бұрын
Can you please do an updated Version of this, I was following your tutorial and found out a lot of options were changed, I also dont think there are other tutorials showing the newer versions
@TrevorTheHyena
@TrevorTheHyena Жыл бұрын
This tutorial is wonderful but I've been having some slight issues, I've installed Unity 2021.1.5f1 and followed the instructions exactly but when I import the FizzySteamworks package I get 2 errors pertaining to the 'Invoke' commands in 2 scripts, changing them to 'DynamicInvoke' fixed those errors but then when I create my Custom Network Manager the settings I get in the Unity Explorer are a bit different and I don't get the Kcp Transport automatically added. From here when I try to create the SteamLobby script - for some reason - none of the variables I try to add seem to work or even end up being color coded such as the Callbacks; I've been trying to wrap my brain around what I'm doing wrong for days now. @w@
@jacobmello2933
@jacobmello2933 Жыл бұрын
I just commented it out after a few hours of fruitless debugging. My project works (so far)
@TrevorTheHyena
@TrevorTheHyena Жыл бұрын
@@jacobmello2933 Yeah, I didn't realize I hadn't selected the proper script assemblies but a friend was able to point me in the right direction
@MrIapk
@MrIapk Жыл бұрын
@@TrevorTheHyena what did you do to fix the errors
@azazel7502
@azazel7502 Жыл бұрын
@@MrIapk changing the "Invoke" to "DynamicInvoke" seems like working
@nihateraslan184
@nihateraslan184 Жыл бұрын
I have many errors after import FizzySteamWorks
@matteolotti2139
@matteolotti2139 2 ай бұрын
I have a question, why is the lobby created on Unity but not on Steam?
@ZygerGFX
@ZygerGFX 2 ай бұрын
What do you mean by that ? Like the lobby is created on steams network system but we’re just using mirror and unity to be able to essentially access it and do stuff in it. The mirror lobby is created mainly because it lets us monitor and do other stuff with mirror.
@louisbosqui3417
@louisbosqui3417 Жыл бұрын
Any idea as to why I'm not getting "Server started listening" in my debug log? Everything else shows up. Could it be because I took the latest version of FizzySteamworks instead of the one shown in your video?
@sebeman3
@sebeman3 2 жыл бұрын
Goddamn, this was a fantastic tutorial!
@minecraftmaniacawesome3857
@minecraftmaniacawesome3857 Жыл бұрын
I've been following your tutorials and they are absolutely awesome, very clear and simple. However I've been running into an issue where when I try and join the lobby of my other steam account, but it asks to install spacewar and then goes into that application instead of my game. I've added the game to steam the way that you did in the video. I've seen one other comment on this where they just added the game to steam and got their own steam app ID but I was hoping there would be a better solution than that.
@vvixell4580
@vvixell4580 Жыл бұрын
same thing happens to me can anyone help?
@minecraftmaniacawesome3857
@minecraftmaniacawesome3857 Жыл бұрын
@@vvixell4580 I got something to work. I just made the "host button" a play button. It asks steammatchmaking for a list of lobbies and then tries to join all the ones that have a network identity on them. So I can now join and create lobbies but this still isn't fixed. If you want to find all the SteamMatchmaking functions just go to the steamworks API documentation
@danieldhenshaw
@danieldhenshaw 2 жыл бұрын
Hey, I'm having an issue with hosting a lobby. When I click the button I get a error callback called 'k_EResultAccessDenied' does anyone know the cause of this?
@OzzysDen
@OzzysDen 2 жыл бұрын
In the newer versions, there is no SteamManager class, so can't call SteamManager .Initialized. Do you know what should I call instead?
@xyoxus
@xyoxus 2 жыл бұрын
Well you need Steamworks, Mirror and FizzySteamworks in your Unity project and you might need to add a using Steamworks at the top of your file (some IDEs do this automaticdally, others don't) in which you want to use SteamManger.Initialized
@r.e.d5593
@r.e.d5593 2 жыл бұрын
Hey, I ran into the same problem did you find a solution for it?
@rabiehaddad1925
@rabiehaddad1925 2 жыл бұрын
Just dont know why the host button works inside the editor but not working on my steam game thank you
@xxtremestudio
@xxtremestudio Жыл бұрын
Did you figure out the fix?
@Rhys510
@Rhys510 Жыл бұрын
Any update on why?
@rabiehaddad1925
@rabiehaddad1925 Жыл бұрын
@@Rhys510 i fix it thank you
@Rhys510
@Rhys510 Жыл бұрын
@@rabiehaddad1925 How did you fix it? I am getting the same problem 😬
@matteolotti2139
@matteolotti2139 2 ай бұрын
me too
@Pogal
@Pogal Ай бұрын
Any idea why this would work in the editor but not the build?
@sanchez7814
@sanchez7814 Жыл бұрын
the steam works version doesn’t work anymore with the latest version of mirror, what’s ur suggestion?
@zacattack8123
@zacattack8123 2 жыл бұрын
Great video :D
@ZygerGFX
@ZygerGFX 2 жыл бұрын
Thank you 😁
@dutchonlinetrading9366
@dutchonlinetrading9366 2 жыл бұрын
When you try to start you game (at time: 12:35) and you get an error like: "steamapi_init() failed". Just restart STEAM.
@ZygerGFX
@ZygerGFX 2 жыл бұрын
Yeah that usually fixes it. For me I think steam was closed
@Steedie
@Steedie Жыл бұрын
Thanks!
@fazin85
@fazin85 Жыл бұрын
Great tutorial!
@piyush5764
@piyush5764 2 жыл бұрын
Nice Tutorial
@RealUtku
@RealUtku 2 жыл бұрын
It didn't show my lobby name
@lyricsms5448
@lyricsms5448 Жыл бұрын
So do you NEED to pay the 100€ before you can start development for a game using steamworks? Or are you able to just go ahead and start using the steamworks for testing and then later you can pay when you are ready with an actual game that works?
@lyricsms5448
@lyricsms5448 Жыл бұрын
@Limeify ah awesome! Thank you for clarifying that 🙂
@klausbdl
@klausbdl Ай бұрын
@@lyricsms5448 what did they say? the comment is gone
@lyricsms5448
@lyricsms5448 Ай бұрын
@@klausbdl you can start development without paying by using a testing steam game ID for it.
@roxigo5764
@roxigo5764 2 жыл бұрын
How, or where, did you learn all this?
@The-Archduck
@The-Archduck 3 ай бұрын
the wpm is insane
@damienmacnamara2110
@damienmacnamara2110 2 жыл бұрын
Great video! For some reason my network manager is getting destroyed and when i try and starthost it gives me a null exception
@damienmacnamara2110
@damienmacnamara2110 2 жыл бұрын
Solved, had two instances of SteamManager. Also Mirror multiplexer can be used to listen out for lan and online requests
@Shadowkiwi
@Shadowkiwi 2 жыл бұрын
Fixed TLDRL: If the "Server Started Listening" message does not appear for you, the debug line is likely commented out (mine was) The line is in Mirror > Runtime > NetworkServer.cs line 120. When creating a build to test with steam, you need to copy the "steam_appid.txt" from the project folder in the same folder as the games exe file for it to use the SteamAPI. That file was not created in the build for me. Original comment: For some reason the server never starts for me. I even downloaded the source code and used that in case I missed something. The source project works but when using it in mine it just does not do it. The only thing I know is different is I am using the new input system and that Network manager option "Persist Network Manager to other scenes" does not exist for me. I downloaded the 4.4.1 version of Fizzysteamworks
@Shadowkiwi
@Shadowkiwi 2 жыл бұрын
Thought maybe its just a version thing that it does not say the server is listening anymore so with a fresh new build, lobby name changes when in unity. Created a build and clicking the host game button does not work even if opened through steam. I am just at a brick all now :(
@Shadowkiwi
@Shadowkiwi 2 жыл бұрын
Worked out it is listening, its just that that debug log is commented out in newer mirror versions it seems. The line is in Mirror > Runtime > NetworkServer.cs line 120 if anyone comes across this in the future. The builds still done seem to work when running them through steam though so cant properly test
@Shadowkiwi
@Shadowkiwi 2 жыл бұрын
I worked it out! Created a dev debug build and saw the error was something like "unity [Steamworks.NET] SteamAPI_Init() failed". Had to copy the "steam_appid.txt" file from the project into the build folder and that then worked
@anointingtamunowunari-task7332
@anointingtamunowunari-task7332 2 жыл бұрын
thank you for this video
@aonalt
@aonalt 2 жыл бұрын
At the end of this tutorial series can you make something releated to cosmetics from steam market place, that would be awesome!
@ZygerGFX
@ZygerGFX 2 жыл бұрын
i will see what i can do. i myself haven't tried that stuff out yet but will try to do so.
@aonalt
@aonalt 2 жыл бұрын
@@ZygerGFX Ok cool!
@sotofpv
@sotofpv 2 жыл бұрын
No too sure if it will cause issues later, but I am not getting the last debug log message that you have where it says "Server Started Listening", I only get to "Starting Server [SteamSockets]" and then nothing
@steyvie8119
@steyvie8119 Жыл бұрын
same
@user-th9dp9sf1v
@user-th9dp9sf1v Жыл бұрын
did you find any solution to this?
@alexj5925
@alexj5925 2 жыл бұрын
I get this error: error CS0246: The type or namespace name 'Text' could not be found (are you missing a using directive or an assembly reference?) can you help me pls?
@sandwich7424
@sandwich7424 2 жыл бұрын
make sure at the top of the script you have "using UnityEngine.UI;"
@slefix
@slefix 6 ай бұрын
Now I am confused how to make your inventory be shown in the steam inventory, searched everywhere didn't found. Can someone help me with this please
@matthewwong2212
@matthewwong2212 9 ай бұрын
while in the unity debug log,there isnt any errors, but i am unable to join on any computer, everything work from the icon, name and lobby name it sends the request to join but doesnt join anything
@skullsameh8899
@skullsameh8899 2 жыл бұрын
what a lovely work👏👏 I have just one question, should I invite my friends to join the lobby , can't make them search for a match and find it without sending invite?
@ZygerGFX
@ZygerGFX 2 жыл бұрын
You can either invite them or they can join you by right clicking and pressing join via steam. But if you checkout my channel I recently made a new tutorial on how to browse online lobbies and join through a join button within the game.
@skullsameh8899
@skullsameh8899 2 жыл бұрын
@@ZygerGFX That's what I want, really thank you
@Exkiv
@Exkiv Жыл бұрын
I press the hostlobby button but there is no interaction HELP
@matteolotti2139
@matteolotti2139 2 ай бұрын
me too
@moshojr
@moshojr 8 ай бұрын
Hey, Gabi! Are there any costs for making a peer-to-peer game with Steamworks multiplayer?
@Arcann_bhp
@Arcann_bhp 7 ай бұрын
Just to clarify this is online right not just local lobby
@LordParcyval
@LordParcyval 2 жыл бұрын
can i do this without uploading the game on steam?
@ZygerGFX
@ZygerGFX 2 жыл бұрын
yes, you will have to add your game to your steam library though, like I show in the video !
@the_broz
@the_broz 8 ай бұрын
Hey! Thanks for making this tutorial, its really been helping but I've been getting this error only in my built game. No reader found for Mirror.SceneMessage. Use a type supported by Mirror or define a custom reader This isn't present in the Editor and I can't seem to find a fix. Im using Mirror Version: 40.0.9 and FizzySteamworks: 4.4.1 I know these are outdated but I wanted to follow the tutorial as closely as possible in order to prevent errors.
@testamen8642
@testamen8642 Жыл бұрын
Assets\Mirror\Runtime\Transport\FizzySteamworks\LegacyServer.cs(27,77): error CS7036: There is no argument given that corresponds to the required formal parameter 'arg3' of 'Action.Invoke(int, TransportError, string)' Can u help me
@ZygerGFX
@ZygerGFX Жыл бұрын
Sorry but this is not something that I show in the tutorial. I can see you used some sort of invoke here. Best case is too google it. sorry that I cant help.
@dhruvakikkeri6217
@dhruvakikkeri6217 Жыл бұрын
I’m having the same problem
@ImmortalTimothyM
@ImmortalTimothyM Жыл бұрын
Hello, unsure if it is a permanent or temporary fix, but the way I fixed it was by replacing s.OnReceivedError += (id, exception) => transport.OnServerError.Invoke(id, exception); with s.OnReceivedError += (id, error, reason) => transport.OnServerError.Invoke(id, error, reason); Then going through each instance of OnReceivedError.Invoke and making it OnReceivedError.Invoke(connectionId, TransportError.Unexpected, "ERROR Unknown Connection");
@Chrizzonator
@Chrizzonator Жыл бұрын
This is because Mirror changed there something in the Listeners. There is no Exception anymore instead there is a TransportError -> enum and a string -> reason message
@Septogeddon
@Septogeddon 5 ай бұрын
Hello, I know this is like 2 years late, but do I really need 2nd steam account just to test the multiplayer system? Or is there workaround? Thank you for your tutorial, it helped me alot!
@ZygerGFX
@ZygerGFX 5 ай бұрын
hey yeah unfortunately you need 2 steam accounts because its using steam as the server host. You can get around it a little bit by getting a virtual machine and running it on your main setup, or alternatively use like a laptop
@brianjirvin
@brianjirvin Жыл бұрын
hmmm I wonder if my issue is with not using steam transport. was trying to use steam lobbies with unity relay service.....I have the call backs implemented, so I guess I will try that. Wanted to say thanks for making the tutorial.
@brianjirvin
@brianjirvin Жыл бұрын
Have you implemented GetLaunchCommandline to allow players to join the lobby prior to launching the game. Still running into the same issue.
@coolorphans
@coolorphans Жыл бұрын
Need steam_appid.txt in build folder when testing the game through steam. It doesn't go there by default.
@johndaboi8874
@johndaboi8874 4 ай бұрын
Holy crap dude! You have no idea how much you just helped me out.
@skygge1136
@skygge1136 Жыл бұрын
my host button is not working after i leave the lobby, how can i solve it
@productionsg2140
@productionsg2140 2 жыл бұрын
Hi, first of all thank you for this tutorial series, it's helping me a lot on my game project right now and it's really well explained! I'm having an issue though, I wanted to test it out with my girlfriend today and she couldn't reach the lobby. After testing with a debug console we got this error on her side: "Must set the Network Address field in the manager". The build version has "localhost" in the inspector field for this, but I don't know what I am supposed to change it too so it can work on Steam when we try to play it. I tried rewatching the videos anew but I don't see what I missed, and everything else works correctly (at least when I tested it by myself with one account....). Thanks in advance for your help!
@Sam-by3jq
@Sam-by3jq 2 жыл бұрын
Hi, I had the same issue which I managed to fix. If you followed the tutorial exactly as I did then this will be the path: In NetworkManager (GameObject) > CustomNetworkManager (Script) - Network Info - Transport, set this from "None" to "NetworkManager (Fizzy Steamworks)". Hopefully this will fix the issue.
@productionsg2140
@productionsg2140 2 жыл бұрын
@@Sam-by3jq Thanks for your answer, however I already put the Network manager(Fizzy Steamworks) in there since I had read the comments after watching the tutorial... The issue is still present..
@roxigo5764
@roxigo5764 2 жыл бұрын
Did you ever find the fix? I've noticed that as soon as I press the 'Host Game' button, it wipes clear the 'Network Address' field in the Custom Network Manager. I do not know why though.
@productionsg2140
@productionsg2140 2 жыл бұрын
@@roxigo5764 Unfortunately I did not find any fix for it yet...
@hamishmonkey6554
@hamishmonkey6554 2 жыл бұрын
@@Sam-by3jq Thanks man I was trying to fix this for an 1 hour, I can finally go to bed
@kavehakbarieh2849
@kavehakbarieh2849 2 жыл бұрын
Thank you so much
@DannyArchive
@DannyArchive 2 жыл бұрын
I can't find the build of my game it just dosent show up in its folder please help
@Dara-gq6jl
@Dara-gq6jl 2 жыл бұрын
can you please do a tutorial on generating server ids and sending them to people so they join through a ui that says Input Lobby ID: Kinda like Among us, were you can send a lobby id. I would greatly appreciate that!
@jakepatel3698
@jakepatel3698 2 жыл бұрын
Quick question, is there any way that other steam users (not on the friends list) can join these lobbies as well or no because in order to add friends on steam, you need to have at least purchased $5 USD in the store so I'm pondering if this is the best online solution for a game like Push Me? Also would joining through a room code be possible or no?
@ZygerGFX
@ZygerGFX 2 жыл бұрын
Hi. yes you can most definitely join lobbies without being friends with the host. this can be done in lots of way. one could be just having a list of open lobbies and allow players to join that way. as for a room code you could also do that. For this you'd have to name the lobby the room code, code and then join the lobby through its name. not sure if that makes sense but in a future video I could demonstrate it.
@jakepatel3698
@jakepatel3698 2 жыл бұрын
@@ZygerGFX Ahh I see. if you have any resources about joining through room code and if you can post the link I think that should be fine but I mean its ur choice if you want to include it in a future vid but I do think joining through a room code is traditional for online multiplayer games.
@ZygerGFX
@ZygerGFX 2 жыл бұрын
@@jakepatel3698 i think the best way to do it is to name your room the room code. then join the lobby under that name. i probably will try to make something and show it in a future video as I agree its a thing most people like to have in a game.
@EMPERENIKA
@EMPERENIKA Жыл бұрын
hello Zyger I am having compatibly issues with current mirror with 4.41
@helenoilee1348
@helenoilee1348 2 жыл бұрын
Hi, I have a question i hope you can be able to answer me😊 2th client movement freeze issue , and is it global or should be in same WLAN ? Thank you in advance 😽
@raspuxdleppaniemi1938
@raspuxdleppaniemi1938 Жыл бұрын
hey that text didint show up on my test alone or with an alt
@menti9980
@menti9980 2 жыл бұрын
Do you know how well this works with FishNet instead of Mirror?
@ZygerGFX
@ZygerGFX 2 жыл бұрын
well I didn't really want to use fishNet since quite a few features are behind a paywall. Which I don't mind paying myself but others probably wont wont too. Whereas with mirror a lot of those features can be added or made without paying. But still yeah fishnet is great and can be used for this too, I guess its just preference. :))
@menti9980
@menti9980 2 жыл бұрын
@@ZygerGFX oh I didn’t even know some features were behind a paywall, thank you! I’ll have to switch now
@menti9980
@menti9980 2 жыл бұрын
@@ZygerGFX oh I didn’t even know some features were behind a paywall, thank you! I’ll have to switch now
@ZygerGFX
@ZygerGFX 2 жыл бұрын
@@menti9980 you can go it not its docs and take a look, but things like lag compensation, parent synchronization, network transform ect
@sushiman_
@sushiman_ 2 жыл бұрын
hi, i have an error that says "no player prefabs" but i did exacly like you...
@ditotron9560
@ditotron9560 2 жыл бұрын
Does anyone know how to add my project into steam? I'm very confused.
@matteolotti2139
@matteolotti2139 2 ай бұрын
File - build - add your scen on top - build button and add the .exe on steam
@HuntShootRepeat
@HuntShootRepeat 8 ай бұрын
question. I have a multiplayer game that I'll be releasing on steam. I can't find a clear answer anywhere. Does steam provide us with the use of their servers? Or do I have to pay for 3rd party servers and implement it to be used in steam?
@AlcadraSoykan
@AlcadraSoykan 7 ай бұрын
@Zyger please answer this.
@hobo2066
@hobo2066 2 жыл бұрын
Complete noob question, Im trying to make a game where each lobby has like 6 players, would I be able to use this approach to have one of the users host the server for their friends or random people so that I can get out of paying for servers or is paying for servers unavoidable?
@ZygerGFX
@ZygerGFX 2 жыл бұрын
When using steam they host for you. So as along as someone opens a host its running of of steamworks but also of the user that hosted. So it's not exactly the same like some other games have it. With this approach things like host migration are impossible among other aspects. So if you want the full server experience you will need to purchase servers. Although this method is better in my opinion since its free, and also I'd only consider buying servers if my game is already doing well and getting big. So a quick answer is yes you can.
@quackncheese
@quackncheese Жыл бұрын
Is this still possible with later versions of Mirror and FizzySteamworks? And if so which releases? Thank you and great video!
@ZygerGFX
@ZygerGFX Жыл бұрын
yep still possible a few things to note: You will now need to individually install steamworks, fizzy steamworks and mirror. Before steamworks was included but now you have to do it individually. The app id can no longer be entered in the inspector. Instead in your build folder you need to create a txt file ( one will usually be made automatically) called "steam_appid" where you want to type "480" and save it. Everything else should be the same,.
@quackncheese
@quackncheese Жыл бұрын
@@ZygerGFX Should I use raw steamworks or steamworks foundation?
@ZygerGFX
@ZygerGFX Жыл бұрын
@@quackncheese just normal steamworks: github.com/rlabrecque/Steamworks.NET/releases
@chernos
@chernos Жыл бұрын
@@ZygerGFX Thank you, that note was very helpful
@huntershillingburg8078
@huntershillingburg8078 13 күн бұрын
@@ZygerGFX I was having an issue where I couldn't create lobbies after building with the newer version of fizzy steamworks, and I couldn't find anything on the FizzySteamworks docs but this fixed it. Thanks!
@totalcraftgames
@totalcraftgames Жыл бұрын
How to make this with Lidgren network?
@Taki7o7
@Taki7o7 Жыл бұрын
why not using FizzyFacepunch? :D Think it's more beginner friendly. Also, they use the steam relay, so people do not leak their IP adress?
@CodeConnor
@CodeConnor 2 жыл бұрын
man you type fast as hell. Not a bad thing though love the video
@JamisonOwenShow
@JamisonOwenShow 2 жыл бұрын
Do you know how we could leave a lobby we have entered to go back to the list of all lobbies?
@xyoxus
@xyoxus 2 жыл бұрын
To leave the Steam lobby you can use SteamMatchmaking.LeaveLobby() partner.steamgames.com/doc/api/ISteamMatchmaking#LeaveLobby
@marrsky
@marrsky Жыл бұрын
This was published a year ago and I'm wanting to implement this, is this still relatively the same or should I look for a more updated video?
@MaceoKeefe
@MaceoKeefe 3 ай бұрын
wondering the same now
@casperhuik484
@casperhuik484 Жыл бұрын
it seems like my friends are unable to join the server How come?
@bigjackson420
@bigjackson420 9 ай бұрын
Whenever I use the NetworkManager on my button's On Click () the HostLobby() doesn't show up
@bigjackson420
@bigjackson420 9 ай бұрын
I tried restarting Unity, and now I just get Can't add script component because the script class cannot be found.
@bigjackson420
@bigjackson420 9 ай бұрын
Ok, nevermind I fixed it, It was a simple typo I didn't see. (lol)
@stopmotionman9137
@stopmotionman9137 4 ай бұрын
I get no errors but when i go to click host game nothing happens. Any idea of why this is?
@ZygerGFX
@ZygerGFX 4 ай бұрын
make sure that your game folder has a text file called "steam_appid" and make the first line of the text file the app id so either 480 or your custom one.
@williamdev25
@williamdev25 3 ай бұрын
Hey so I have a question, whenever I import fizzworks (im using the most recent mirror version and im using fizzysteamworks 6.0) theres a bunch of errors. importing mirror is fine but whenever i import fizzysteamworks i get errors mainly relating to steamworks thingsl like "the expression steamworks does not exist in this context" and whatnot. these tutorials seem great but if i could just fix this one issue it would mean the world :)
@ZygerGFX
@ZygerGFX 3 ай бұрын
Hey I think I’ve seen this error online before so id reccomend giving it a search. But try and import the steamworks sdk too. So in total you’ll have mirror, fizzysteamworks and steamworks sdk.
@williamdev25
@williamdev25 3 ай бұрын
@@ZygerGFX ahh that makes sense. thank you!
@siriuslemaitre4833
@siriuslemaitre4833 Жыл бұрын
hello is there a way to see all the hosted lobbies in a sort of browse lobbies menu ? or this is a feature that cant be implemented wiht self hosted lobbies
@siriuslemaitre4833
@siriuslemaitre4833 Жыл бұрын
oh my bad just saw that you made a tutorial on this topic ! thanks for the quality content !
@zephthegamer8635
@zephthegamer8635 2 жыл бұрын
When i click the host button it just doesnt do ANYTHING. idk why
@zephthegamer8635
@zephthegamer8635 2 жыл бұрын
oh i just re-launched the game, it worked
@WolfServant
@WolfServant Жыл бұрын
Anyone know how to disconnect from the lobby without breaking the game?
@danbe9835
@danbe9835 2 жыл бұрын
nice, when second part?
@MrLonelyDK
@MrLonelyDK Жыл бұрын
Does this also work with fishnet?? since mirror and fishnet are very simular
@ZygerGFX
@ZygerGFX Жыл бұрын
Probably not since this uses the fizzy steamworks which is specifically an implementation for steam and mirror
P2P or Dedicated Servers? What's the best for your unity game?
7:35
Фейковый воришка 😂
00:51
КАРЕНА МАКАРЕНА
Рет қаралды 5 МЛН
Glow Stick Secret Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 18 МЛН
I Made a Graphics Engine in Scratch
8:27
Zyger
Рет қаралды 94 М.
Why Making Multiplayer Games SUCKS
6:46
Tom Weiland
Рет қаралды 421 М.
Гайд по Mirror мультиплееру в Unity 2д
18:29
How I Became a Sea of Thieves Developer
8:05
Zyger
Рет қаралды 229 М.
How To Connect Using Steam - Unity Multiplayer Tutorial
21:44
Dapper Dino
Рет қаралды 92 М.
Learning C# In A Week... Otherwise I Fail University
9:04
I Made the Same Game in 8 Engines
12:34
Emeral
Рет қаралды 4 МЛН
I Tried Creating a Game Using Real-World Geographic Data
31:37
Sebastian Lague
Рет қаралды 6 МЛН
Фейковый воришка 😂
00:51
КАРЕНА МАКАРЕНА
Рет қаралды 5 МЛН