Controller MIDI Arturia stop working

I recently bought cubase 9.5 Elements and, when I installed it on my pc, my MIDI Cotroller worked perfectly with every VST. Yesterday, while I was changing some preferences, MIDI controller stopped working correctly: its VST doesn’t works if I use controller for using it, but it works correctly if I simply use it with the mouse. Also I can record notes with the controller and them appears in the Editor.
In other forum someone suggested me to flag “Activate MIDI thru” in the preferences, but it was already flagged.
If I use the MIDI controller I see that the “MIDI input activity”, in the right down corner, is working.
Please help me, now I can’t produce anymore!