Have to Midi Reset as soon as i open my template

Hi folks,

Everytime i open my template Cubase by default doesn’t recognise any Midi Controller messages. I am forced to Midi reset which resolves things, but that subsequently sometimes leads to a Kontakt 5 crash.

Just wondering if anyone else has experienced this? Is there anything in preferences that might re4solve the issue?

Ps- its not a RAM or CPU issue.