Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

[Solved] Deploy Oculus project to Standalone & Gear VR?

Discussion in 'AR/VR (XR) Discussion' started by Tronno, May 14, 2015.

  1. Tronno

    Tronno

    Joined:
    Apr 23, 2015
    Posts:
    11
    Hey guys! I'm building a Unity project that will be deployed to two platforms: standalone Windows with Oculus DK2, and Galaxy Note 4 with Gear VR.

    The plugins for each platform are both made by Oculus, and seem to conflict with each other. Short of having separate projects, how can I set up my workflow so each plugin is only enabled when building for its respective platform?

    All 3D assets will be the same. It's just the HMD cameras that differ.
     
  2. Tronno

    Tronno

    Joined:
    Apr 23, 2015
    Posts:
    11
    Welp, after a week of digging around, I decided to just have two separate projects. Assets will be shared with packages. Luckily the project is small enough that it won't drive me nuts...