Bad MIDI input note lag via MIDI Controller

While playback of notes seems to be fine (feels slightly laggy, but that might just be a visual detail) there is really bad lag when it comes to MIDI Controller input. I don’t know the exact amount, but it sounds like there’s a half second delay between the pressing of the MIDI key, and being able to hear the note play. I did not have this issue at all with MuseScore 3.6.2
I’ve tried using MuseScore 4.0.2 on two different devices (A macbook air and a mac mini), using two different MIDI Controllers, and the lag is the same on both.
Is this a known issue?
Both machines are M1 computers.

Read more here: Source link