Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
ousa17's avatar
ousa17
Honored Guest
11 years ago

Bad built Unity to Oculus DK2 but Nice Emulation !!!

I am starting to develop an application in Unity 5.1.2f and integrate Oculus Utilities for Unity V0.1.0-beta.
In Player Setting->Others Settings : I have checked "Virtual Reality Supported".
When I click on "Run Button" in Unity the application start in my Oculus DK2 and it looks great :D but when I built the app for "PC , Mac & Linux Standalone " it also works on the Oculus but the two view interfer and do not show a clear image :o . the left side is too far from the right side.

so how can I configure the building to get a nice view like the one I see when emulating directly in Unity ?

Thanks for help!

3 Replies

Replies have been turned off for this discussion
  • ousa17's avatar
    ousa17
    Honored Guest
    here is a screenshot : https://drive.google.com/file/d/0B_CV6tJyFlgablJZNmtzR1JEVjg/view?usp=sharing

    it should be a simple blue plane and a red cube, As I said when I simply run the app, It render perfectly and works great but after I build it interfere.

    Below is the logs :

    {
    "Time": "2015-08-06_00:14:37",
    "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": 13,
    "Minutes": 5,
    "Seconds": 31
    },
    "System Specifications": {
    "Operating System": "Microsoft Windows 8.1 Enterprise",
    "Processor": "Intel(R) Core(TM) i5-3337U CPU @ 1.80GHz",
    "Graphics Adapters": [{
    "Name": "Intel(R) HD Graphics 4000",
    "Video Controller RAM (MB)": 2112,
    "Driver Version": "10.18.10.3958",
    "Video Mode": "1366 x 768 x 4294967296 colors"
    }, {
    "Name": "AMD Radeon HD 8730M",
    "Video Controller RAM (MB)": 2048,
    "Driver Version": "13.151.0.0",
    "Video Mode": "1366 x 768 x 4294967296 colors"
    }],
    "Total RAM (GB)": 8,
    "USB Tree": [{
    "name": "Intel(R) 7 Series/C216 Chipset Family USB Enhanced Host Controller - 1E26",
    "deviceid": "PCI\\VEN_8086&DEV_1E26&SUBSYS_05B81028&REV_04\\3&11583659&0&E8",
    "caption": "Intel(R) 7 Series/C216 Chipset Family USB Enhanced Host Controller - 1E26",
    "manufacturer": "Intel",
    "Devices": [{
    "manufacturer": "(Standard USB Host Controller)",
    "name": "USB Root Hub"
    }, {
    "manufacturer": "(Generic USB Hub)",
    "name": "Generic USB Hub"
    }, {
    "manufacturer": "(Standard system devices)",
    "name": "USB Input Device"
    }, {
    "manufacturer": "Microsoft",
    "name": "HID-compliant mouse"
    }]
    }, {
    "name": "Intel(R) 7 Series/C216 Chipset Family USB Enhanced Host Controller - 1E2D",
    "deviceid": "PCI\\VEN_8086&DEV_1E2D&SUBSYS_05B81028&REV_04\\3&11583659&0&D0",
    "caption": "Intel(R) 7 Series/C216 Chipset Family USB Enhanced Host Controller - 1E2D",
    "manufacturer": "Intel",
    "Devices": [{
    "manufacturer": "(Standard USB Host Controller)",
    "name": "USB Root Hub"
    }, {
    "manufacturer": "(Generic USB Hub)",
    "name": "Generic USB Hub"
    }, {
    "manufacturer": "GenericAdapter",
    "name": "Generic Bluetooth Adapter"
    }, {
    "manufacturer": "Microsoft",
    "name": "Bluetooth Device (RFCOMM Protocol TDI)"
    }, {
    "manufacturer": "Microsoft",
    "name": "Microsoft Bluetooth Enumerator"
    }, {
    "manufacturer": "Microsoft",
    "name": "Bluetooth Device (Personal Area Network)"
    }, {
    "manufacturer": "",
    "name": "USB2.0-CRW"
    }, {
    "manufacturer": "(Standard USB Host Controller)",
    "name": "USB Composite Device"
    }, {
    "manufacturer": "Microsoft",
    "name": "Integrated Webcam"
    }]
    }, {
    "name": "Intel(R) USB 3.0 eXtensible Host Controller - 0100 (Microsoft)",
    "deviceid": "PCI\\VEN_8086&DEV_1E31&SUBSYS_05B81028&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 USB Host Controller)",
    "name": "USB Composite Device"
    }, {
    "manufacturer": "Oculus VR",
    "name": "Oculus DK2 Tracker"
    }, {
    "manufacturer": "(Standard USB HUBs)",
    "name": "Generic USB Hub"
    }, {
    "manufacturer": "Oculus",
    "name": "Rift DK2 Sensor USB"
    }, {
    "manufacturer": "(Standard system devices)",
    "name": "HID-compliant device"
    }]
    }]
    },
    "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 4000",
    "VRAM (MB)": 2063,
    "Monitors": [{
    "Name": "\\\\.\\DISPLAY1",
    "Width": 1366,
    "Height": 768,
    "Refresh Rate": 60
    }, {
    "Name": "\\\\.\\DISPLAY2",
    "Width": 1920,
    "Height": 1080,
    "Refresh Rate": 75
    }]
    }, {
    "Name": "Microsoft Basic Render Driver",
    "VRAM (MB)": 0,
    "Monitors": []
    }],
    "Devices": [{
    "Product ID": 33,
    "Product Name": "Oculus Rift DK2",
    "Manufacturer": "Oculus VR",
    "Serial Number": "208P6703FHMG",
    "Vendor ID": 10291,
    "EDID Serial": "H1DE4346KHC83",
    "Firmware": {
    "Major": 2,
    "Minor": 12
    },
    "Frustum": {
    "Far Z Metres": 2.500000,
    "H Fov Radians": 1.291544,
    "Near Z Metres": 0.400000,
    "V Fov Radians": 0.942478
    },
    "Positional Tracker": {
    "Calibration Value": "3f800000 00000000 43f00000 443c0000 442bc8c5 43c289c6 4362680a 42aca78d 42883768 befdfd30 3e9e6726 bdf4d2a9 3b1f9d28 b9b9191b",
    "Serial": "218P6703FHMG",
    "UUID": "H1DE4346KHC83R00J100",
    "Firmware Version": {
    "Major": 0,
    "Minor": 0,
    "Build": 1,
    "Revision": 0
    }
    }
    }],
    "Profile": {
    "Player Name": "zizoujab",
    "IPD": 0.064000,
    "Eye height": 1.675000,
    "Eye Cup": "A",
    "Eye Relief": 3,
    "Gender": "Male",
    "Eye To Neck": 0.075000,
    "Player Height": 1.778000
    }
    }
  • Can you see if you can disable the Intel GPU and only use the AMD one?

    Also, you should be aware that laptops are very problematic and usually don't work right.