Showing results for 
Search instead for 
Did you mean: 

Strange application quit behavior and VRC TestAppShouldQuit fail

Level 3

I’m currently
finalizing the Oculus version of my application for release, but have
a few issues that I would like to resolve first.

When running the VRC
validator tests, the TestAppShouldQuit test fails, but when I follow
the steps for the manual tests
everything works as expected.

More worryingly,
when I quit my application from outside of Oculus home (ex: by
closing the application window directly from the desktop), my
application will some times still be marked as “Now Playing”
inside the Oculus app, and can’t be launched again.

Also when launching the application for the first time from the Oculus app, my application crashes on start-up with the following error:

LibOVRPlatform64_1.DLL caused an Access Violation (0xc0000005) in module LibOVRPlatform64_1.DLL at 0033:fa5b6b44.

Read from location 00000018 caused an access violation.
RDI:    0x0221d8b0  RSI: 0x00000000  RAX:   0x00000000
RBX:    0x7f6bfa28  RCX: 0x7f6bfa28  RDX:   0x0221b640
RIP:    0xfa5b6b44  RBP: 0xbecff110  SegCs: 0x00000033
EFlags: 0x00010202  RSP: 0xbecfef48  SegSs: 0x0000002b
R8:    0xbecfefd8  R9: 0x00000000  R10:   0x0221b640
R11:    0x0221b730  R12: 0x00000000  R13:   0x73850b30
R14:    0xbecff2d8  R15: 0x022d4830
Bytes at CS:EIP:
48 8b 48 18 48 8b 01 48 ff 60 10 cc 48 89 51 30
Restarting the Oculus application and launching again seems to "fix" the issue.


Level 3
BTW, I'm using Unity v2017.4.1f1, Oculus Utilities v1.25.2, OVRPlugin v1.25.0, SDK v1.26.0.