Forum Discussion
angularsen
7 years agoExplorer
LibOVRPlatform64_1.DLL caused an Access Violation (0xc0000005)
My little Unity game crashes almost every time when running as Windows standalone build and I don't even know where to begin to look. Apparently some internals of the OVR platform goes haywire upon s...
angularsen
7 years agoExplorer
Copying message here as well except the link:
Unity v2018.1.6f1, Oculus Utilities v1.27.0, OVRPlugin v1.27.0, SDK v1.28.0.
The best way I can repro this is to:
1. Run the demo .exe, it should work fine the first time and run a small VR scene
2. Alt+F4 to end the demo
3. Run the .exe once more immediately after
This is probably unrelated, but I usually have Unity3D open with VR scenes loaded and actively using them with Oculus Rift. Editor is in stopped state when trying to run the Windows build though.
When I tried it just now, I had to launch the app 3 times in total for it to crash and then it crashes every time after that. It seems to get in a state where I need to close the Oculus app to recover, or possibly just wait a long time. However, when I initially reported this bug I got a different stacktrace in the error report and I recall that it did NOT help to restart the Oculus app at that time. I speculated that alt+f4 was closing the app too aggressively and started using a hotkey to trigger `Application.Quit()` from Unity script instead, but no idea if there is actually anything to that.
Hope this helps.
Unity v2018.1.6f1, Oculus Utilities v1.27.0, OVRPlugin v1.27.0, SDK v1.28.0.
Version: Direct3D 11.0 [level 11.1]
Renderer: NVIDIA GeForce GTX 1070 (ID=0x1b81)
Vendor:
VRAM: 8088 MB
Driver: 24.21.13.9836
You asked about build settings, which settings and can I easily export them to you?
The best way I can repro this is to:
1. Run the demo .exe, it should work fine the first time and run a small VR scene
2. Alt+F4 to end the demo
3. Run the .exe once more immediately after
This is probably unrelated, but I usually have Unity3D open with VR scenes loaded and actively using them with Oculus Rift. Editor is in stopped state when trying to run the Windows build though.
When I tried it just now, I had to launch the app 3 times in total for it to crash and then it crashes every time after that. It seems to get in a state where I need to close the Oculus app to recover, or possibly just wait a long time. However, when I initially reported this bug I got a different stacktrace in the error report and I recall that it did NOT help to restart the Oculus app at that time. I speculated that alt+f4 was closing the app too aggressively and started using a hotkey to trigger `Application.Quit()` from Unity script instead, but no idea if there is actually anything to that.
Hope this helps.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device