Hey,
So I was debugging the code and apparently if you try to invite someone and they accept, while using spacewar id, the invite will make the client open the game SpaceWar itself.
From the looks of it, executing the game as a non-steam game is not enough and if we don't have SteamClient.Init(hostId); setup before accepting the invite, invites won't work.
For now, I'm just ignoring the error that says that we are trying to initialize again the system, but this comes from the netcode itself with the "StartHost" and I don't know a better solution for this.
Maybe you could look into it or just provide this "hack" to make it work.
Best Regards
Hey,
So I was debugging the code and apparently if you try to invite someone and they accept, while using spacewar id, the invite will make the client open the game SpaceWar itself.
From the looks of it, executing the game as a non-steam game is not enough and if we don't have
SteamClient.Init(hostId);setup before accepting the invite, invites won't work.For now, I'm just ignoring the error that says that we are trying to initialize again the system, but this comes from the netcode itself with the "StartHost" and I don't know a better solution for this.
Maybe you could look into it or just provide this "hack" to make it work.
Best Regards