Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
1.12.0
2.0.0-preview.5
3.0.1
Issue ID
OXPB-57
Regression
Yes
[XR] Disabling Oculus then building for android fails to launch application with a Gear VR error
After building a project for Oculus then disabling the Oculus plugin in the player settings and building for another android device (on a Samsung phone, not sure if that makes a difference but it might) the app won't launch and the logcat shows errors that Gear VR can't be initialized.
Resetting the editor and rebuilding fixes the issue.
From Peter Kuhn: my guess is the oculus plugin is adding the entry to the android manifest that tells it to launch in VR mode - it’s the same one that controlled the old GearVR launch to vr mode too.
It used to be that every time we made a build, the manifest would get regenerated from scratch - but I think in more recent builds of unity it is cached and reused. so if you enable oculus, then disable it, the manifest entry will still be there. (I just observed this recently in a different context)
This seems to be exactly what is happening.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Sprite Importer Checkbox Label Truncated in UI (2D Template)
- Light theme icon is missing for Volume Component in the Inspector window
- Volume Profile effects are still showing and active in Game View when the Volume Profile is reset
- Shader Graph Tab Lacks Right Margin for Long Titles
- 2DLight component only renders when ShadowCaster2D components are within range in WebGL builds
Resolution Note:
We have not been able to reproduce this issue recently