Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
HeyBishop's avatar
HeyBishop
Protege
8 years ago

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:

  • 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)
Using Unity 2018.1.0f2, OVRPlugin 1.28.0

Any ideas?

3 Replies

Replies have been turned off for this discussion
  • My 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?