Unity + dk2 compilation problem

Hi everyone!

I’m having some problems when I try to build settings (I’m developing with Unity Pro and its Integration with Oculus DK2). I put the UnityIntegrationPackage in my project and all the assets. After build settings, I click on my .exe (DirectToRift)for execute it and it doesn`t work. A window is opened with the following message:

The game crashed.
The crash report folder named “…” next to game executable.
It would be great if you’d send it to the developer of the game!

How can I solve this problem?

Thanks in advance!

Had a similar problem on a new machine build. Check the error.log file in the crash file. It will give you an idea of the offender. My instance was dxgi.dll. If I compiled the Unity project with Use Direct3D 11* turned off in player settings, it would run fine in direct mode on the DK2. I ended up reinstalling the video card drivers and updated a Win patch for DirectX11. Not sure which fixed the problem, but I can now compile with Direct3D 11* selected and runs fine on DK2.