I am getting an “Unknown object was detected” error when trying to debug a Direct3D 11 application.
The application works fine when not using NSight Graphics. It also works fine in the Visual Studio graphics debugger.
I narrowed the issue down to fences. The error seems to be caused when I create an ID3D11Fence and try to use it.
Unfortunately, if I click or OK or Cancel, the application then crashes.