Closed JordanMajd closed 7 years ago
This issue probably belongs in the main HoloToolkit
I can reproduce this issue without having a direct sharing component added to my scene. I just need the sharing stage with client role set to something other than Primary (Seconday/Unspecified). Happens in 5.6.2p2 on VS2015.3
Closing duplicate
I am having trouble using Direct Pairing. Depending on how I configure it, a crash results or the devices fail to connect.
When direct pairing two devices, the device with
DirectParing
'sPairing Role
set toConnector
crashes if itsSharingStage
'sClient Role
is set toSecondary
orUnspecified
and the device with aPairing Role
set toReceiver
has it'sSharingStage
Client Role
set toPrimary
.If ran in Unity Editor an error box pops up, then Unity crashes and closes:
If ran on Hololens, Visual Studio debug prints:
I am using
HoloToolkit-Unity-v1.5.7.0.unitypackage
andUnity 5.6.2f1
.Player settings have the following capabilities enabled:
Receiver device is configured as follows:
Connector device is configured the same, except
Pairing Role
is set toConnector
orUnspecified
andClient Role
is set asSecondary
:If both devices'
Client Roles
are set toPrimary
then the application does not crash, but still fails to connect. The Receiver device prints the following message:It seems no matter how I configure DirectPairing it either crashes or fails to connect because of authority levels.
EDIT:
After further testing it seems that setting
DirectPairing
Pairing Role
toReceiver
andSharing Stage
Client Role
toSecondary
orUnspecified
results in theReceiver
client crashing immediately on launch (no need to configure aConnector
device).