Are you sure you plugged in the microphone before starting the game and haven’t unplugged it since? You also need to select the microphone you’re using as the default device in your computer’s sound settings.