Sushisushi-sandesu / sushi

:sushi:
0 stars 0 forks source link

Instructions on Setting Up Development Environment #4

Closed natezzz closed 8 years ago

natezzz commented 8 years ago

Instructions on Setting Up Development Environment

  1. Download and install Unity 5.1.2 for Mac at Unity Downloads.
  2. Go to Oculus Developer Downloads. Download and install
    1. For Runtime, download Oculus Runtime for OS X V0.5.0.1-beta here;
    2. For SDK, download Oculus SDK for OS X 0.5.0.1-beta here;
    3. Now we don't need to download "Engine Integration" since Leep Motion SDK comes with one.
  3. Download and install Leap Motion SDK for OSX
  4. Install Unity, Oculus SDK and Runtime.
  5. Open Unity, go to Asset Store. Search and install "Leap Motion Core Assets". When asked to update the APIs, click "I made a backup. Go ahead".
  6. IMPORTANT: On step 5, make sure you clicked "I made a backup. Go ahead" or the code won't compile.
  7. Now the installation of development environment is completed.

Side notes:

  1. According to the Leap Motion site. One of the requirements for using the Core Assets on OSX is that the Integrated VR Support must be turned off. To turn off the integrated VR support:
    1. Open Unity.
    2. Go to Edit -> Project Settings -> Player.
    3. Make sure the Virtual Reality supported checkbox is unchecked.
  2. Now because of the integrated VR support must be turned off. It is not possible to build and preview the VR app inside Unity. Therefore, building a standalone executable is necessary every time we want to try out the app.
    To build a standalone executable:
    1. Open Unity, go to the project we are building.
    2. Go to File -> Build Settings.
    3. Add the scenes to be built. (Usually "Add current" would suffice"
    4. Choose the "Target Platform" as "OSX". Choose the "Architecture" according to your computer's spec.
    5. Click "Player settings" and make sure the "Virtual Reality supported" is Unchecked. Otherwise the app will appear to be a total blank.
    6. Click "Build" and choose the path you want to place the executable.