You may have missed it, but I said above that I have actually been through three different audio interfaces in 3 years. Always had the same issue.
EDIT: It should be noted that it only happens with large projects. For example, if I open my disabled template and don’t enable anything, Cubase closes easily. So maybe something memory/ ram related?
I have the same problem as you with some large projects. They almost always fail to close, but occasionally they will.
It is frustrating and I have not been able to identify a common factor.
But I genuinely do believe it could be caused by a plugin. The reason I say that is that I have seen a number of cases like this on the forum where a plugin or driver or graphics driver was the problem. But of course it could be Cubase in this case
In this case we have a lead that suggests it was an issue with the wdm audio driver trying to write an event to a midi device.
Could you try an asio driver with your Komplete 6? I know virtually nothing about Windows audio, but I do know that a number of device manufacturers prefer asio to wdm.
OP seems to use nativeinstrumentsusbaudioasio_x64, I do use NI suites and keyboards without problems but the difference is I use a thunderbolt audio interface.
Tried enabling WinRT - No dice. Opened a large orchestral project. Attempted to close. Spinning circle of death and was forced to quit through task manager.
This time, I loaded up my heavy orchestral project, and this time I went to quit and watched it in the task manager. As the spinning ball happened, Cubase’s RAM usage was slowly going down. When it finally reached an acceptable level, I was able to finally click the X and exit Cubase without crashing. This process took about a minute and a half.
So it seems that Cubase has an issue with unloading RAM after exiting a large project. I’m not sure if this is normal, but to compare I opened a large session I have in Studio One. Closes immediately without problem.
It seems that default song template tries to send a midi syex message maybe the new remote midi interface is the reason why it hangs?
see (simplified for human beings :D) stack:
ntdll!NtWaitForSingleObject+0x14
KERNELBASE!WaitForSingleObjectEx+0x8e
wdmaud!CMIDIOutDevice::WriteEvent+0x9c wdmaud!CMIDIOutDevice::PlaySysEx+0x6d
** wdmaud!HwModMessage+0x11a**
wdmaud!modMessage+0x5fa0
winmmbase!midiMessage+0xb0
winmmbase!midiOutLongMsg+0xaa
Cubase12+0x15a2236
It looks like Cubase hangs because the midi device is already closed and yet it tries to send to it.
Interestingly a very similar stack is acknowledged in:
@steve from the upper link ; it can happen if cubase still uses the old midi interface dll:
“The application uses the former Microsoft Windows MIDI API to communicate with external devices.”
If that happens they recommend to use WinRT