Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

SteamNetGodot

> 编程语言
Open source

Networking solution for the wonderful Godot engine.

380 stars0 likes1 views
WebsiteGitHub

About

Networking solution for the wonderful Godot engine.

SteamNetGodot

Is this for me?

In it's core SteamNetGodot is the combination of Facepunch.Steamworks and LiteNetLib. A performant, easy to use C# Steam Networking library for the wonderful Godot engine.

It will be regularly updated since it's currently in use on our game Taverna.

Goodies

  • Compressed Steam VoIP (3-5 KB/s)
  • Smart matchmaking through Steam Lobbies / internal logic
  • RPC system
  • Very simple C# code
  • Bunch of cool networking code as example (replication, resource management, audio, kick, mute, ban...)
  • Open Source
  • Godot 4.3
  • MIT license

Do Stuff!

Your packets

…

Subscribe RPC

csharp
NetworkManager.Instance.Client_SubscribeRPC(Client_OnVoicePacketReceived, () => this.IsValid() == false);
NetworkManager.Instance.Server_SubscribeRPC(Server_OnVoicePacketReceived, () => this.IsValid() == false);

Create and send

csharp
VoicePacket voicePacket = new VoicePacket();
voicePacket.compressedVoiceData = compressedVoiceData;
voicePacket.size = compressedVoiceData.Count;
voicePacket.internalVoiceTick = internalVoiceTick;
voicePacket.networkId = pawn.networkId;

NetworkManager.Instance.Client.Send(voicePacket, SendType.Reliable);

Instantiate networked objects

csharp
ObjectState player = gameState.Server_CreateObjectStateAndPawn((uint)steamId, ResourceId.PawnPlayer, "", steamId, true);

Friend playerSteam = new Friend(steamId);
await playerSteam.RequestInfoAsync();
player.GetPawn().SetName(playerSteam.Name);

UINotifications.Instance.PushNotification($"Instantiated Pawn for player {playerSteam.Name}");

I don't like this networking architecture

Great! And I don't like you. Jokes aside, the base code is divided from the gameplay solution. For sake of easier maintainability it was all put inside one project.

Get BaseClient, BaseServer, Processor and you are good to move to your solution.

You still need to import Facepunch.Steamworks and LiteNetLib as they are in the backbone of the library.

Performance info

Aimed to get zero garbage on receive / read . If you find some bad stuff let us know.

VOIP bandwidth is between 3-5KB/s.

Transform replication has little optimization. When moving between 15-20 KB/s 60h tick rate. I would recommend to strip it down to make it usable. I will remove this little paragr as soon as I commit the improvements.

Contact

[email protected]

Discord

Q&A

Steam doesn't connect in build?

Make sure to add steam_api64.dll to your exported build

Does it support Rigidbodies?

Yes but not no prediction. It will be added in the future.

Prediction?

No prediction.

What is a ResourceID?

A string that represent a resource. It's a convenient way to do local instantiation and replication.
We added a little addon to easily handle them in the inspector

csharp
#if TOOLS
        [ResourceIdDropdown]
#endif
        [Export]
        public string resourceId;

You still need to add them manually in ResourceId.cs

What is Rich Presence?

https://partner.steamgames.com/doc/features/enhancedrichpresence

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C#

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言