I’m debugging an Ogre 2.0 powered application with nsight under DX11. The engine always correctly renders one frame and then crashes. Surprisingly, the application does run normally without running under nsight. As the crash is inside the nsight code, I really need help figuring out what has been done wrong.
Here is the stack frame:
Nvda.Graphics.Interception.dll!00007ff9b36a1a0f() //It’s trying to call a weird non-exist address
RenderSystem_Direct3D11_d.dll!Ogre::D3D11RenderSystem::_setRenderTarget(Ogre::RenderTarget * target) Line 2161 C++ //This calls ClearState()
OgreMain_d.dll!Ogre::CompositorWorkspace::_validateFinalTarget() Line 547 C++
OgreMain_d.dll!Ogre::CompositorManager2::_update() Line 510 C++