Sustain Pedal [CC64] not being recorded in Cubase AI 10.5

SImply opening the MIDI editor and selection the CC64 (sustain) channel solved the issue, I didn’t need to do anything else. By the way, the sustain information was already being recorded, but it was not playing back.