SkillAgentSearch skills...

UnityNetcodeSteamP2PRelayTransport

This is a sample implementation of the com.unity.netcode.gameobjects Transport interface for Steam's Steamworks peer to peer relay service.

Install / Use

/learn @sagering/UnityNetcodeSteamP2PRelayTransport
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

UnityNetcodeSteamP2PRelayTransport

This is a sample implementation of the com.unity.netcode.gameobjects Transport interface for Steam's Steamworks peer to peer relay service.

How to use this?

The implementation is based on the Facepunch library, a C# wrapper for Steamworks. Install Facepunch 2.3.2.

  1. Add the SteamClient.cs and SteamP2PRelayTransport.cs to your Unity project.
  2. Add the the SteamClient and SteamP2PRelayTransport Component to your Netcode for GameObjects NetworkManager.
  3. Set the NetworkManager's Transport to SteamP2PRelayTransport Component you just added.
  4. Enter a Steam app id (or use the default 480 for testing) on the SteamClient Component.
  5. Enter a Steam id of the hosting side.

For testing, you will need two Steam clients running and logged in on two different Steam accounts and machines.

Related Skills

View on GitHub
GitHub Stars71
CategoryDevelopment
Updated24d ago
Forks5

Languages

C#

Security Score

95/100

Audited on Mar 4, 2026

No findings