Forum Discussion
HeyBishop
8 years agoProtege
Virtual Reality SDKs' must include 'Daydream' or 'Cardboard'
I'm new to developing for Oculus. I've got a game in Unity that I previously started while developing for Google Daydream.
For my simple scene I have: deleted my player and GVR event managers, dropped in the OVRPlayerController, in Player Settings > XR Settings I removed the Daydream SDK and added the Oculus SDK.
I go choose Build & Run, but I get the following four error messages:
Any ideas?
For my simple scene I have: deleted my player and GVR event managers, dropped in the OVRPlayerController, in Player Settings > XR Settings I removed the Daydream SDK and added the Oculus SDK.
I go choose Build & Run, but I get the following four error messages:
- On Android 'Player Settings > Virtual Reality SDKs' must include 'Daydream' or 'Cardboard'.
Please fix this setting and rebuild your app.
UnityEngine.Debug:LogError(Object)
GvrBuildProcessor:OnPreprocessBuild(BuildTarget, String) (at Assets/GoogleVR/Editor/GvrBuildProcessor.cs:54)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) - Error building Player: On Android 'Player Settings > Virtual Reality SDKs' must include 'Daydream' or 'Cardboard'.
Please fix this setting and rebuild your app. - Build completed with a result of 'Failed'
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) - UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x0021f] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:182
at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x00065] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:89
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Any ideas?
3 Replies
Replies have been turned off for this discussion
- HeyBishopProtegeMy solution was to start a fresh project, without importing any GVR stuff.
Here I am a year later, dusting off another project that was originally created for the Daydream - which I've now updated to work for OVR.
I've disabled every single element in my scene that uses a Google/Daydream script and I still get this error.
Why am I still getting the above error messages, despite the fact that I've got nothing running for GVR? - rloganExplorerSame here...what a pain....
- alisadraHonored Guesti have similar problem....
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 4 years ago
- 2 years ago
- 2 years ago