Skip to main content
Up and Coming
August 17, 2015

How to export an executable from Unity 5 for the Oculus Rift

"Oculus recommends using Unity 5.1.1p3 and the Utilities package."

Unity 5: http://unity3d.com/get-unity

Utilities Package:https://developer.oculus.com/downloads/game-engines/0.1.0-beta/Oculus_Utilities_for_Unity_5/


After importing the Utilities Package and exporting with VR support checked or unchecked I get this 'non vr' menu.
What is the deal? Am I supposed to see the Oculus Rift in the 'select monitor' list? My old direct to rift apps from Unity 4 are still working but I can't get anything that I export from Unity 5 to work.
    This topic has been closed for replies.

    14 replies

    New Participant
    August 19, 2015
    @cyberReality even i am facing the same problem as kevingulling . i am not getting VR effect when i export it from unity 5.1.2f1 . i even tried with 5.1.2p3 the result is same , no VR effect.

    when i run with unity 4.6 its working fine. can you give me any suggestions to make work with unity 5.1.2f1 ??

    when i run the unity 5.1.2f1 exported app in direct mode, the rift stays in orange colour
    Inspiring
    August 19, 2015
    Can you guys provide these log files? viewtopic.php?f=34&t=23521
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    New Participant
    August 20, 2015
    @cyberReality ,

    here are the logs:

    config log:

      config log

      {
      "Time": "2015-08-20_11:33:42",
      "SDK Version": "0.6.0.1",
      "Service Protocol": {
      "Major": 1,
      "Minor": 6,
      "Patch": 0
      },
      "RemoteProtocolVersion": {
      "Major": 1,
      "Minor": 6,
      "Patch": 0
      },
      "Service Running Time": {
      "Hours": 0,
      "Minutes": 4,
      "Seconds": 4
      },
      "System Specifications": {
      "Operating System": "Microsoft Windows 8.1",
      "Processor": "Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz",
      "Graphics Adapters": [{
      "Name": "Intel(R) HD Graphics Family",
      "Video Controller RAM (MB)": 2080,
      "Driver Version": "10.18.10.3304",
      "Video Mode": "1920 x 1080 x 4294967296 colors"
      }, {
      "Name": "NVIDIA GeForce GT 750M ",
      "Video Controller RAM (MB)": 2048,
      "Driver Version": "9.18.13.2649",
      "Video Mode": ""
      }],
      "Total RAM (GB)": 16,
      "USB Tree": [{
      "name": "Intel(R) 8 Series USB Enhanced Host Controller #1 - 9C26",
      "deviceid": "PCI\\VEN_8086&DEV_9C26&SUBSYS_05FB1028&REV_04\\3&11583659&0&E8",
      "caption": "Intel(R) 8 Series USB Enhanced Host Controller #1 - 9C26",
      "manufacturer": "Intel",
      "Devices": [{
      "manufacturer": "(Standard USB Host Controller)",
      "name": "USB Root Hub"
      }, {
      "manufacturer": "(Generic USB Hub)",
      "name": "Generic USB Hub"
      }, {
      "manufacturer": "Intel Corporation",
      "name": "Intel(R) Wireless Bluetooth(R) 4.0 + HS Adapter"
      }, {
      "manufacturer": "Microsoft",
      "name": "Microsoft Bluetooth LE Enumerator"
      }, {
      "manufacturer": "Microsoft",
      "name": "Bluetooth Device (RFCOMM Protocol TDI)"
      }, {
      "manufacturer": "Microsoft",
      "name": "Microsoft Bluetooth Enumerator"
      }, {
      "manufacturer": "Intel Corporation",
      "name": "Bluetooth Server"
      }, {
      "manufacturer": "Microsoft",
      "name": "Bluetooth Device (Personal Area Network)"
      }]
      }, {
      "name": "Intel(R) USB 3.0 eXtensible Host Controller - 0100 (Microsoft)",
      "deviceid": "PCI\\VEN_8086&DEV_9C31&SUBSYS_05FB1028&REV_04\\3&11583659&0&A0",
      "caption": "Intel(R) USB 3.0 eXtensible Host Controller - 0100 (Microsoft)",
      "manufacturer": "Generic USB xHCI Host Controller",
      "Devices": [{
      "manufacturer": "(Standard USB HUBs)",
      "name": "USB Root Hub (xHCI)"
      }, {
      "manufacturer": "(Standard system devices)",
      "name": "USB Input Device"
      }, {
      "manufacturer": "(Standard system devices)",
      "name": "HID-compliant touch screen"
      }, {
      "manufacturer": "(Standard system devices)",
      "name": "HID-compliant device"
      }, {
      "manufacturer": "(Standard system devices)",
      "name": "HID-compliant vendor-defined device"
      }, {
      "manufacturer": "(Standard system devices)",
      "name": "HID-compliant vendor-defined device"
      }, {
      "manufacturer": "Microsoft",
      "name": "Microsoft Hardware USB Mouse"
      }, {
      "manufacturer": "Microsoft",
      "name": "HID-compliant mouse"
      }, {
      "manufacturer": "(Standard USB Host Controller)",
      "name": "USB Composite Device"
      }, {
      "manufacturer": "Microsoft",
      "name": "Integrated Webcam"
      }, {
      "manufacturer": "(Standard USB HUBs)",
      "name": "Generic USB Hub"
      }, {
      "manufacturer": "Oculus",
      "name": "Rift DK2 Sensor USB"
      }, {
      "manufacturer": "(Standard system devices)",
      "name": "HID-compliant device"
      }, {
      "manufacturer": "(Standard USB Host Controller)",
      "name": "USB Composite Device"
      }, {
      "manufacturer": "Oculus VR",
      "name": "Oculus DK2 Tracker"
      }]
      }]
      },
      "Drivers": [{
      "Path": "\\system32\\OVRDisplay64.dll",
      "Version": "1.2.6.0"
      }, {
      "Path": "\\system32\\OVRDisplayRT64.dll",
      "Version": "1.2.6.0"
      }, {
      "Path": "\\syswow64\\OVRDisplay32.dll",
      "Version": "1.2.6.0"
      }, {
      "Path": "\\syswow64\\OVRDisplayRT32.dll",
      "Version": "1.2.6.0"
      }, {
      "Path": "\\system32\\drivers\\RiftEnabler.sys",
      "Version": "1.2.6.0"
      }, {
      "Path": "\\system32\\OVRDisplay32.dll",
      "Version": "1.2.6.0"
      }, {
      "Path": "\\system32\\OVRDisplayRT32.dll",
      "Version": "1.2.6.0"
      }, {
      "Path": "\\system32\\drivers\\OCUSBVID.sys",
      "Version": "1.0.10.0"
      }],
      "Video Device Tree": [{
      "Name": "Intel(R) HD Graphics Family",
      "VRAM (MB)": 0,
      "Monitors": [{
      "Name": "\\\\.\\DISPLAY1",
      "Width": 1920,
      "Height": 1080,
      "Refresh Rate": 60
      }]
      }, {
      "Name": "NVIDIA GeForce GT 750M ",
      "VRAM (MB)": 1988,
      "Monitors": []
      }, {
      "Name": "Microsoft Basic Render Driver",
      "VRAM (MB)": 0,
      "Monitors": []
      }],
      "Devices": [],
      "Profile": {
      "Player Name": "kiran",
      "IPD": 0.064000,
      "Eye height": 1.677212,
      "Eye Cup": "A",
      "Eye Relief": 3,
      "Gender": "Male",
      "Eye To Neck": 0.075000,
      "Player Height": 1.780540
      }
      }



    OVR SERVER LOGS:

    http://s000.tinyupload.com/index.php?fi ... 7344491022
    Inspiring
    August 20, 2015
    I don't see a clear error in the logs, but I do see you're on an Optimus laptop. Unfortunately, laptops (especially with Optimus) are unsupported and may not function. Sorry.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV