i am not sure what to do! ... there are no errors at all in the output.
Exactly! That's the primary point of learning debugging techniques! I.e., Learning how to debug is an important skill, particularly when you do not get any error indications. In this particular case, Migi0027 has debugged your program for you. My previous suggestion, to learn some debugging techniques, was to urge you to learn how to do that yourself.
With regard to "no errors at all," when building the debug configuration, you need to enable the D3D11 debug layer (set the D3D11_CREATE_DEVICE_DEBUG flag in the CreateDevice/CreateDeviceAndSwapChain function) . That will provide runtime messages in the IDE output window, which Migi0027 provided above.
However, your code does check for errors, and, rather than asking others to look through a few hundred lines of code, in future, you should consider being able to post something like: "This line of code [single line of code posted] returns the error '<error_message>' Can someone help me determine why that error occurs?"