Forum Discussion
Pippopluto
10 years agoHonored Guest
Exception when calling Ovr_destroy()
HI all, when i call this destructor COculus::~COculus() { ovr_Destroy(hmd); ovr_Shutdown(); } I have an exception that say OVR Error: Code: -3010 -- ovrError_LeakingReso...
Pippopluto
10 years agoHonored Guest
I have tried to use correct function and also to remove it, but exception doesn't disappear.
The exception is throw in OVR_CAPIShim.c
OVR_PUBLIC_FUNCTION(void) ovr_Destroy(ovrHmd hmd)
{
if (!ovr_DestroyPtr)
return;
ovr_DestroyPtr(hmd); Here
}
In visual studio I can see that hmd=0x04bf3e80 and ovr_DestroyPtr=libOVRRT32_0_7.dll
EDIT SOLVED: i solved the error calling another method befor destructor. New method call ovrDestroy, the destructor only shutdown
The exception is throw in OVR_CAPIShim.c
OVR_PUBLIC_FUNCTION(void) ovr_Destroy(ovrHmd hmd)
{
if (!ovr_DestroyPtr)
return;
ovr_DestroyPtr(hmd); Here
}
In visual studio I can see that hmd=0x04bf3e80 and ovr_DestroyPtr=libOVRRT32_0_7.dll
EDIT SOLVED: i solved the error calling another method befor destructor. New method call ovrDestroy, the destructor only shutdown
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 years ago
- 8 years agoAnonymous