Forum Discussion
Mecrof
11 years agoExplorer
[RESOLVED] OVR_ASSERT fail in ovrHmd_ConfigureRendering()
Hi everyone I got a problem with the Oculus during my project development. Before, my program ran well on the Oculus. But since I don't know what, it does not work anymore. I got an assertion fail (o...
jherico
11 years agoAdventurer
You are passing osettings_.eyeFov into ovrHmd_ConfigureRendering without populating it. The FOV is an input parameter, not an output parameter, so you must initialize it. You can initialize it from either the DefaultEyeFov or the MaxEyeFov inside ovrHmd or you can manually set it up yourself (the smaller the FOV the less pixels you render, but you can't really change it dynamically at runtime).
Since you're note initializing it it probably has random memory in it, which means that the distortion function is trying to create a mesh for some absurd random value (or possibly 0) interpreted as an angle. The ASSERT is there to tell you the angle is absurd.
Since you're note initializing it it probably has random memory in it, which means that the distortion function is trying to create a mesh for some absurd random value (or possibly 0) interpreted as an angle. The ASSERT is there to tell you the angle is absurd.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device