Its probably running Unitys old input system. Then you need to plug in the controller BEFORE you start the game.