multiplayer-community-contributions
multiplayer-community-contributions copied to clipboard
How do you get the steamId of the user connecting to you?
When a steam user connects to my host, the facepunch transport logs just output "0"
It's because of the Facepunch.Steamworks Release being broken, see https://github.com/Unity-Technologies/multiplayer-community-contributions/issues/217
When a steam user connects to my host, the facepunch transport logs just output "0"
THE FIX:
- Download the Zip file below
- Go to com.community.netcode.transport.facepunch\Runtime\Facepunch (where the package is installed in your Unity project)
- replace both files with the downloaded ones.
- 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.