MIDI Dropout issue after upgrading from 9 to 9.5

I had the same problem in Cubase Pro 10 on Mac. Midi recording dropped out and stopped continuously during recording due to system overload and audio dropouts. I changed the buffersize on my audio interface from 256 to 1024. That fixed it for me