Sustain pedal doesn't work with VST?

Hello! I have a problem with the sustain pedal … I switched to Cubase 12pro and Halion Sonic SE3 respectively. I have to use a sustain pedal, but it turns out that it no longer works with my VST instruments (Halion Sonic SE3 for example). In the MIDI activity monitor I get an indication that DAW receives a command from the pedal controller and everything should be fine, but things are not like that in the MIDI monitor of the corresponding VST - the MIDI icon doesn’t indicate and I have no sustain pedal!.. I can’t find a solution, please help!