Controller disconnect

Thus happens everytime i play, the game thinks my controller disconnects, and it always happens during a race. My controller didn’t disconnect and it only happens in forza horizon 5

Type of controller, wired, wireless, bluetooth? So many variables, could just need disconnected and reinstalled. Could be interference if the likes of the Steam client is running (if Steam isn’t set up right it can override Windows controller settings, can be a pain), as I say there are so many variables as all it needs is one update to a multitude of drivers and devices and things stop talking to each other.