multiplayer-community-contributions icon indicating copy to clipboard operation
multiplayer-community-contributions copied to clipboard

How do you get the steamId of the user connecting to you?

Open final-turn opened this issue 2 years ago • 2 comments

When a steam user connects to my host, the facepunch transport logs just output "0"

final-turn avatar Apr 05 '23 19:04 final-turn

It's because of the Facepunch.Steamworks Release being broken, see https://github.com/Unity-Technologies/multiplayer-community-contributions/issues/217

WaGi-Coding avatar Apr 25 '23 06:04 WaGi-Coding

When a steam user connects to my host, the facepunch transport logs just output "0"

THE FIX:

  1. Download the Zip file below
  2. Go to com.community.netcode.transport.facepunch\Runtime\Facepunch (where the package is installed in your Unity project)
  3. replace both files with the downloaded ones.
  4. YOURE GOOD TO GO!

what I did: I downloaded the facepunch.steamworks source code, fixed it and compiled it. you're welcome. Credits to Matze.

Fix SteamID = 0.zip

davidverified avatar Mar 05 '24 19:03 davidverified