Description, details and error message(s)
I wanted to try the Steam sample for a little project I’m working on.
Downloaded it, used it in editor no problem. Made a build to use on my second computer, join the editor hosted lobby also no problem.
And then I tried the other way around but I can’t launch the replication server with the build version.
I verified the settings to bundle the replication server et verified the dll in the build all seems fine.
I made no code modification, the only change is the Steam App Id
Error logs :
SteamManager: CoherenceBridge connection error Exception=Coherence.Connection.ConnectionException: No connection could be established because the target computer expressly refused it.
SteamManager: Replication server exited with code -100.
After some digging I found the enum NLError in the InteropAPI
public enum NlError
{
InvalidVal = -100,
TimedOut = -101,
Pipe = -102,
WouldBlock = -103,
}
Don’t know if it’s this error exactly.
Thanks for the help !
Expected behaviour
It should be possible to host a game in a fresh downloaded steam sample with a build without errors.
Screenshots
How to reproduce
Rate: Every time
Steps:
- Download Steam Sample
- Import in Unity Hub
- Convert to Unity 6
- Open Project
- Change Steam App to a working one (480 for testing)
- Bake coherence
- Make a build
- Try to host a game with the build sample
Environment
SDK: 1.4.2
Unity: 6000.0.37f1
OS/Platform: Windows 11 x64