Forum Discussion

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

All unity directotorift apps crash on exit

I have a reproducible crash on exit of all DK2 apps built using Unity (including my own, those on Oculus Share and the Tuscany demo) when run in DirectToRift mode. The crash appears to be related to unloading of mono.dll - screenshot here:

http://codenature.info/pub/img/rift-crash.png

This only started happening after I replaced the motherboard in this computer (and did a fresh install of Windows 7x64, with all Windows updates). Other than the motherboard, it's the same hardware (same CPU, same graphics card). I tried various different graphics card drivers, very old and of course the latest, problem happens regardless. Extended mode works fine (no crash on exit). I created a hello-world demo in Unity without oculus integration, and that runs runs, then I imported the oculus unity integration package, added a OVR camera rig, built and it crashes on exit. I created a simple hello world console app in MonoDevelop and that runs fine. I can't see any more detail in the event logs - Can anyone suggest anything I can do to narrow down or resolve this crash? It's really annoying to close a crash dialog after running every app.