When having an Oculus GO attached to my pc and running an application with the gvr sdk, it installs the Instant Preview application on the go and runs it. I have no problem with that, but after that its impossible to close the application other than to reboot the device.
You can disable Instant Preview by either disabling or removing the GvrInstantPreviewMain game object from your scene.
We will look into not installing it on non-Daydream devices.
It doesn't work and I honestly don't expect it to work (although would be a nice alternative for people without a daydream device). My main issue is that if I accidentally do have the instant preview enabled that I need to reboot the device if I want to use it again.
As a temporary workaround, you can add this snippet of code to InstantPreview.cs at line 178 of version 1.150 of the SDK:
C#
// Gets the vr feature capability of the device.
RunCommand(InstantPreviewHelper.AdbPath,
"shell pm list features | grep feature:oculus.hardware.standalone_vr",
out output, out errors);
// If matches the features grep, then not compatible.
if (!string.IsNullOrEmpty(output)) {
Debug.Log("Instant Preview: device is not compatible.");
return;
}
This will prevent IP from installing on Oculus GO.
Thanks, will try!
We'll look into including a permanent fix in the SDK that makes the Installation of Instant Preview conditional on the device having (Daydream) Google VR support.
This is now fixed in the latest release.