MixedRealityToolkit icon indicating copy to clipboard operation
MixedRealityToolkit copied to clipboard

Sharing: session-list connection VS session connection

Open yacuzo opened this issue 7 years ago • 1 comments

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.

yacuzo avatar Aug 10 '17 13:08 yacuzo

Agreed, I also found this a bit confusing at first as well.

StephenHodgson avatar Aug 10 '17 17:08 StephenHodgson