steam-multiplayer-peer icon indicating copy to clipboard operation
steam-multiplayer-peer copied to clipboard

SteamMultiplayerPeer.create_client connects indefinitely

Open pckv opened this issue 7 months ago • 5 comments

The lobbies are created and joined successfully, and it seems like SteamMultiplayerPeer.create_host is working. But when connecting to someone else's game, the multiplayer peer is just stuck at ConnectionStatus.CONNECTION_CONNECTING after running and assigning SteamMultiplayerPeer.create_client.

This problem occurs both in the demo here and in my own implementation, using the GodotSteam extension and SteamMultiplayerPeer. GodotSteam's own SteamMultiplayerPeer works when using the pre-compiled GodotSteam with MultiplayerPeer.

I can't find any errors when debugging. Does the demo work for anyone else?

pckv avatar Jun 30 '25 13:06 pckv

I've noticed this happens if the id I supply create_client is the lobby id instead of the owner ID

RegularTetragon avatar Jul 10 '25 04:07 RegularTetragon

why my SteamMultiplayerPeer.create_host is not working? did you use godotsteam4.4.1+steam-multiplayer-peer?

q531620267 avatar Sep 18 '25 08:09 q531620267

I saw that you solved your problem @q531620267 , I'm going to hide the message from the topic

scriptsengineer avatar Sep 19 '25 11:09 scriptsengineer

Having the same issue on Godot 4.5 stable, happens using the normal extension or the C# wrapper version. Client remains stuck on "Connecting" forever. ENetPeer works fine.

canb227 avatar Sep 21 '25 18:09 canb227

Same thing. I assumed because server and client on same machine. How do i connect to server if server is running on same PC?

RonYanDaik avatar Oct 22 '25 21:10 RonYanDaik