SocketManager NetIdentity SteamId is always 0
See original GitHub issueHello, I’ve created a class derived from SocketManager, then created a normal socket via
SteamNetworkingSockets.CreateNormalSocket<Server>(address);
then I did that
public override void OnConnected(Connection connection, ConnectionInfo info)
{
Console.WriteLine(info.Identity.SteamId.Value);
}
and the output was just 0. Why? How can I get user’s steamId? i’ve also tried doing the same thing in OnConnecting, OnMessage methods, the result was same.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6
Top Results From Across the Web
STEAM_0:0:0 why dont i have a steam id? :: Help and Tips
When I search it up on the sites that claim to be able to find out, its always 0:0:0. When I Type status...
Read more >Steamworks.SteamNetworking.SendP2PPacket - Wiki
Sends a P2P packet to the specified user. This is a session-less API which automatically establishes NAT-traversing or Steam relay server connections.
Read more >Steamworks.Data.Connection - Wiki - facepunch
Returns detailed connection stats in text format. Useful for dumping to a log, etc. Result Flush(). Flush any messages waiting on the Nagle...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
There’s an issue in
ConnectionInfo
line:I think this is a typo and should be:
@garrynewman ^
the data is there I have checked with the debugger.
Is there any update on this? @garrynewman For now, wrapping connections with token-based authorization seems like the only option to authorize clients, which is really stupid even for a bandaid.