normal Exception being thrown in chai3D starter code

01 Jun 2016 10:12 #1

Hi we have been modifying the example codes in OCULUS modules without any issues until recently. After a modification, attempting to modify the background of a world, we encountered a break with the exception:
"Unhandled exception at 0x0040377A in 01-cube.exe: 0xC0000005: Access violation reading location 0x00000004."

The address of the break differs with each program, however all oculus programs no longer work because the code breaks at the line for (int j = 0; j < m_swapTextureSet->TextureCount; ++j).

To try to fix the issue, we have re-downloaded the code, installed an extension that suppresses all breaks in exceptions, and redownloaded VS2012, Oculus drivers, and the chai3D 3.1.1 folder. We think that m_swapTextureSet is giving a null, but don't understand why this is happening as the code is no longer modified from the default. We are also occasionally capable of launching an oculus program, but after a second build it will always crash with the same exception.

Does anyone have the same issue or suggestions that we could take?

Please Log in or Create an account to join the conversation.

02 Jun 2016 19:09 #2

Have you connected more than one monitor to your computer? If so, make sure to not connect no more than a single monitor and the Oculus rift to your graphics cars.

We are in the process of introducing support for latest version of the Oculus SDK and hope that this will address all the issues.

Please Log in or Create an account to join the conversation.