It's an old bug that goes back to at least SONAR7 that I know of. In my case we were recording synth audio output from several slave machines. In record mode, SONAR wouldn't process any envelopes on midi channels 2-16. We had to move everything to Cubase to finish the project. After that, I installed RME cards in our PC masters and now just do loopback recording.