Samsung Gear VR

Samsung Gear VR

Samsung Gear VR, Oculus VR Plugin for Unity

 

Samsung Gear VR

VR Dev School

Creating a Gear VR app in Unity Free

Install Gear VR software to Samsung device

Activate USB Debugging

About Device > Tapping Build Number 7 times

Developer Options > USB debugging > On

Download Android File Transfer

Connect Samsung device via USB

Accept

 

Samsung VR Workflow

Download Android Studio (SDK)

Download Java SE Development Kit 7

New

Select a JDK = jdk1.7.0_79.jdk/Home

Android SDK Manager

SDK Platforms > API Level √20 to √23

SDK Tools > √Google Play SDK Expansion Library

Download Oculus Runtime from Oculus Developer Center

Download Oculus Mobile SDK from Oculus Developer Center

Oculus Utilities for Unity 5, Unity Manual, Oculus

Unity > Preferences > External Tools >

Android Studio > SDK Manager – Copy URL

SDK > Browse Paste URL

/Users/jcraigfreeman/Library/Android/sdk

JDK /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home

 

  • Unity > Assets > Import Package > Custom Package = OculusUtilities.unitypackage

 

  • Import GVRPlayerMovement.cs

 

  • Register Android Device

Install assets/oculussig_c8fdb364 (John Craig Freeman’s Samsung) in

Unity_Project/Assets/Plugins/Android/

 

Unity > Preferences > External Tools >

Android Studio > SDK Manager – Copy URL

SDK > Browse Paste URL

JDK /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home

 

  • Delete Main Camera
  • Drag Project > OVR/Prefabs/OVRPlayerControler to Hierarchy

Position Y=1.5

  • Add GVRPlayerMovement.cs to OVRPlayerControler

Max Velocity = 1

Acceleration = 0.1

 

UnitySetup-Android-Support-for-Editor-5.3.5f1

 

  • File > Build Settings > Android
  • Switch Platform
  • Texture Compression = ETC2 (GLES 3.0)

 

  • Edit > Project Settings > Quality

Standalone = Fantastic

Antialiasing = 4x Multi Sampling

  • Edit > Project Settings > Player

 

Company Name = Your Name

Product Name = Project Title

Default Icon = Icon_1024.png

Icon > Enable Android Banner = Android_Banner.png

 

Splash Image > Slash_Image.png

 

Other Settings

Bundle Identifier = com.YourName.ProjectTitle

Minimum API Level = Android 5.0 ‘Lollipop’ (API Level 21)

 

File > Build and Run

 

Device ID

Install SideloadVR DeviceID on Samsung device and run

Enter Device ID at Oculus Signature File (osig) Generator and download file

  • Place > oculussig_b21de2c3 in Unity_Project/Assets/Plugins/Android/(make folder)assets

• Unity > File > Build and Run

Advertisements