Skip to main content
Up and Coming
November 12, 2014

OVR_ASSERT on ovrHmd_GetLastError

I'm having trouble calling ovrHmd_GetLastError in debug mode; it triggers an OVR_ASSERT from LibOVR\Src\Service\Service_NetClient.cpp line 614:

if (!bsOut.Read(Hmd_GetLastError_Str))


I don't get the assertion if I pass in 0 for the ovrHmd parameter (which according to the docs should return global errors). If I pass in the pointer returned from ovrHmd_Create I get the assert.

    2 replies

    Inspiring
    November 13, 2014
    Thanks for bringing this up. It was a bug, and we fixed it for a future release.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    Up and Coming
    December 21, 2014
    Works fine in 0.4.4, thanks for fixing that!