This is a community maintained repo forked from RayStorm.
Mirror docs and the official community Discord.
FizzySteamworks brings together Steam and Mirror utilising Async of a Steam P2P network transport layer for Mirror.
If you want an easy import, skip the steps below & download the latest unitypackage, it has SteamWorks.Net already included.
Note: If you already have SteamWorks.Net in your project, you might need to delete either your import or the one included in the FizzySteamworks unitypackage.
Both of these projects need to be installed and working before you can use this transport.
- SteamWorks.NET FizzySteamworks relies on Steamworks.NET to communicate with the Steamworks API. Requires .Net 4.x
- Mirror FizzySteamworks is also obviously dependant on Mirror which is a streamline, bug fixed, maintained version of UNET for Unity.
- Install Mirror (Requires Mirror 8.0+) from the Unity asset store Download Mirror.
- Install FizzySteamworks unitypackage from the release section.
- In your "NetworkManager" object replace "Telepathy" script with "FizzySteamworks" script.
- Enter your Steam App ID in the "FizzySteamworks" script.
Note: The default 480(Spacewar) appid is a very grey area, technically, it's not allowed but they don't really do anything about it. When you have your own appid from steam then replace the 480 with your own game appid. If you know a better way around this please make a Issue ticket.
To be able to have your game working you need to make sure you have Steam running in the background. SteamManager will print a Debug Message if it initializes correctly.
Before sending your game to your buddy make sure you have your steamID64 ready. To find your steamID64 the transport prints the hosts steamID64 in the console when the server has started.
- Send the game to your buddy. The transport shows your Steam User ID after you have started a server.
- Your buddy needs your steamID64 to be able to connect.
- Place the steamID64 into "localhost" then click "Client"
- Then they will be connected to you.
You cant connect to yourself locally while using FizzySteamworks since it's using steams P2P. If you want to test your game locally you'll have to use "Telepathy Transport" instead of "FizzySteamworks".