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