MixedRealityToolkit
MixedRealityToolkit copied to clipboard
Sharing: session-list connection VS session connection
I would expect SharingManager.GetServerConnection().IsConnected() to be true if I'm connected to the session-list server. It does not. It is true if you are connected to a session.
I would also expect SharingManager.GetSessionManager().IsServerConnected() to be true if I'm connected to a session. It is not. It is true if I'm connected to the session-list server.
This is wildly confusing, and cost me several hours of debugging why the SharingManager's logging said it was connected to session list server, but SharingManager.GetServerConnection().IsConnected() returning false.
I'm leaving this here in case someone else get confused and looks it up. I'm also hoping someone with C++ experience feels like fixing it.
Agreed, I also found this a bit confusing at first as well.