How To Connect Using Steam - Unity Multiplayer Tutorial

preview_player
Показать описание
-----------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------
Just Here To Plug My Social Media Stuff:
-----------------------------------------------------------------------------------------------------------
If you liked the video then please respond with a like and a subscribe to show your support for the channel and I'll repay you by creating more tutorials for you to enjoy :D

0:00 - Intro
0:46 - Project Setup
4:36 - Coding
18:43 - Testing
20:38 - Outro
Рекомендации по теме
Комментарии
Автор

This is an absolute god send, the timing of this video could not have been any better. I had been going through the hoops of trying to do networking in unity and was slowly starting to think the only option for anyone playing would be port forwarding. That would have been really disappointing. However finding out steam could handle that and finding this fantastic tutorial has been such a lift. Thank you so much for doing this. You have helped me tremendously and I'm sure you'll have helped many others too.

SuperLEGOMADNESS
Автор

whoa - someone finally made this tutorial

RugbugRedfern
Автор

Thank you for timestamping the video! So many people don't even test their games at the end when I just wanna see the results if I'm ever gonna begin coding :D

taahace
Автор

Thanks for the quick turn around from my request for this video! You're the best

writingreality
Автор

Don't forget the "using Steamworks;" as well as "using Mirror;" at the start of your scripts

ODZZplays
Автор

I'm honestly so happy to see more Steam based videos for Unity as we don't get many good ones. Very well done!

Sonicboomcolt
Автор

A few years later this video is still useful and very easy to follow and understand!

tigersonalex
Автор

Dapper the ammount of times ive used this has been an eminence resource thank you.

kyqkyeg
Автор

For some of the newer lads, if you get a problem like this " error CS0117: 'Channels' does not contain a definition for 'Unreliable'" Dive into the script and change 'Unreliable' to 'DefualtUnreliable'.

silverkey
Автор

Just came back for some quick tips, and browsed your videos.. Looking at the viewcount, anything that has "steam" and "multiplayer Unity" in it, is really beeing viewed, and reviewed ALOT.
Surely something must be missing from either the assetstore or unity since there is such attention to getting even simple P2P Unity games to work via Steam.

VaupellGaming
Автор

Also a suggestion. Idk if that would be very hard to do, but it would be very cool to make a list server.

povilasca
Автор

Thank you for all the hard work and effort you put in, just to help out thousands of people

TheOczkis
Автор

I can't express how useful this is! Thanks, thanks, thanks!

It would be awesome if you continued this series, showing how to match with friends with PlayFab matchmaking and Steam lobbies.

Well done sir, awesome turorials! :)

mikaelfinsrud
Автор

is there a way that i can test two clients with one steam account? or one in unity and one on steam?

elgentidwell
Автор

Thank you so much for this! By far the best tutorial I've seen in a long time. This really made my day!

dinomite_games
Автор

Figured this out few months ago, but great video for reference and to help others!
Think this is the only tutorial relating to this now on youtube.

We're gonna see a lot of people playing SpaceWar now, hahas.

AlarmedPizza
Автор

So the newer versons does not include Steamworks

navy
Автор

If anyone else comes across this issue, where the steam overlay says your offline even though you're not, what fixed it for me was calling SteamAPI.Init() in Start before anything else. That's what the docs said to do so I'm not sure if it's entirely correct, but either way it works.

MicahGoodhue
Автор

Great video, a lot of good info here. One concern, If you add something new to the game and would like to see if it interacts properly with multiplayer, do you need to build the game each time it needs testing or can you accomplish this in the editor.

systematic_god
Автор

Awesome, one question:
The latency between the server and the client will be based on the server host location, or does steam interfer with that? Steam only is used as a "bridge" to connect the players or it makes more than that?

Thanks man!

MicroblastGames
welcome to shbcf.ru