cancel
Showing results for 
Search instead for 
Did you mean: 

Latest update breaks HMD mount detection in developer mode

judax
Honored Guest
Hello,

Since the latest update of the Gear VR service the native 360 videos example is unable to detect when the HMD is mounted while in Gear VR developer mode. The following code that paused the video, does not work anymore:


const bool mountingOn = !HmdMounted && ( vrFrame.DeviceStatus.DeviceIsDocked && vrFrame.DeviceStatus.HeadsetIsMounted );
if ( mountingOn )
{
HmdMounted = true;
}
else
{
const bool mountingOff = HmdMounted && !vrFrame.DeviceStatus.HeadsetIsMounted;
if ( mountingOff )
{
HmdMounted = false;
if ( IsVideoPlaying() )
{
SetMenuState( MENU_VIDEO_PAUSE );
}
}
}


Any clue what's going on? It worked previously.

I have tested both with SDK vesion 1.0.0.0 and 1.0.0.1.

Regards,
Iker.
0 REPLIES 0