MIDI-out connections change inexplicably

Get midibridge, make sure to start midi bridge before starting cubase, then do your routing within midibridge.
You can even store that routing and cll it back to your liking.

This way you can work on hardware at home, and use apps when you’re on the road.