Problem with my Cubase pro 12

Hello everyone. Something strange is happening in my Cubase: When I start recording audio or midi, it records, but when I stop, what I did disappears, I don’t know if it’s some bad configuration or if my Daw has a problem. Can someone help me with that? Thank you!

A MIDI Part or Audio Clip will disappear if Cubase doesn’t register any input activity.
Are your Audio and MIDI connections setup properly?