Head mounting detection in Gear VR

how can i detect if a player put on the gear VR, there supposed to be a sensor to detect this is there a way to know inside unity

I believe OnApplicationPause is fired.

As far as I’m able to tell OnApplicationPause isn’t fired (any more). Do you have any other ideas how to detect this event of the Gear VR being put on and/or off.

1 Like

This looks like it is the same for me - is this a bug?

We detect this by just storing the current system time in an Update function and compare it next frame. If the difference between these timestamps is too big e.g. > 2 seconds then you can assume that the GearVR was removed. This would help you only if you getting back to the GearVR, but not before. You can also check the OnApplicationFocus event:

1 Like