If the same issue also occurs with other games, please check whether there might be an injection conflict with some other program on your PC that also hooks into games.
Typical candidates are: virus scanners, any sort of CPU/GPU utility, game recording/streaming software, messengers and generally everything that can show notifications/overlays in games.
The best way to trouble shoot this is to close/uninstall all programs running in the background.