Linar rendering not work with Oculus

Hi!

My problem is, when I’m change “gamma” rendering to “linear” in player mode, the Oculus build is not work! Is it OK in the editor, but when I build in linear rendering, it’s not recognize the Oculus. I Use 5.2.2 and 0.8 runtime, with DK2, and Titan X.

Thanks!

Hi!

In 5.3.0 sometimes work the linear rendering mode in built, but the _x64 is not. Anyone has an idea?

This is the crash report:

Unity Player [version: Unity 5.2.2f1_3757309da7e7]

OVRPlugin.dll caused an Access Violation (0xc0000005)
in module OVRPlugin.dll at 0033:9a0917b0.

Error occurred at 2015-11-23_133436.
I:\build\most64.exe, run by virtual_server.
24% memory in use.
32703 MB physical memory [24557 MB free].
37567 MB paging file [24484 MB free].
134217728 MB user address space [134215401 MB free].
Read from location 0000005c caused an access violation.

Context:
RDI: 0x00000000 RSI: 0x00000000 RAX: 0x00000000
RBX: 0x17e56360 RCX: 0x00000000 RDX: 0x00f5ed38
RIP: 0x9a0917b0 RBP: 0x00f5edd0 SegCs: 0x00000033
EFlags: 0x00010206 RSP: 0x00f5ecf8 SegSs: 0x0000002b
R8: 0x00000000 R9: 0x00000000 R10: 0x17dc3520
R11: 0x9a0923f0 R12: 0x00f5f490 R13: 0x02ff4d48
R14: 0x00f5f550 R15: 0x00000000

Bytes at CS:EIP:
49 8b 44 08 5c 48 89 02 48 8b c2 c3 48 8b 41 5c

@nincs Could you file a bug report and post the case number here?

I’m having the same issue in 5.3, but switching to Gamma doesn’t fix it. What does get VR working again is, interestingly, enabling the Unity splash screen. :stuck_out_tongue:

Just create a small project, enable the VR setting, and compile+run. If there’s a Unity splash screen the VR works, if not you get just the main-monitor display. This is with Oculus 0.8 runtime.

Hi!

kideternal: Try to switch to x86 in build settings, it’s works for me! (but it has been slower)
Ed unity: Ok, i try it, but the build crash, not the editor, so I do not know how I could send…

Thanks everyone!

You submit a bug report using Help->Report a bug from Within the Editor’s Menu bar. In the bug report describe that it crashes in the build only. Please report the bug with the project that you found the bug in. It would be best to have the project itself and let our QA go through the build process rather than just getting the built executable.