Ok found the solution.
I have a function that reads the mouse sensitivity from a config file and sets it via console command
Apparently the console command changed in 4.21 so that you don’t enter one value for the sensitivity anymore but a x- and a y-value
In my case the y-value must have been set to 0.0 because it wasn’t specified … now it works. Thanks again for your help.