Power cycle your Xbox Series X by holding the front power button for about 10 seconds to turn it off, unplugging the power cable for at least 2 minutes, then reconnecting the power cable and turning it back on. This clears temporary cache files and connection state without deleting your installed games or save data.
Step-by-Step Cache & Connection Fixes
Power Cycle the Console (Lowest Effort): Close your game and let any active downloads or updates finish.Press and hold the Xbox button on the front of the Xbox Series X for about 10 seconds until it shuts down. Unplug the power cable from the console and wait at least two minutes (some users press the power button while unplugged, though opinions are mixed on Reddit on whether it speeds up discharging residual power compared to simply waiting). Plug the power cable back in and turn the console on.
Clear Persistent Storage (Low Effort): Press the Xbox button on your controller, then go to Settings > Devices & connections > Blu-ray. Select Persistent storage and choose Clear persistent storage.
Hail Mary
Reset Console Keeping Games & Apps (Higher Intervention): If connection or cache issues persist, go to Settings > System > Console info > Reset console. Choose Reset and keep my games & apps to clear system files and settings while keeping installed titles; you will need to sign back into your accounts and reconfigure network settings afterward.
Power cycling your network connection should be the very first step. Disconnect the modem, router, or modem/router hub from power for 2 minutes. Plug in the modem (if separate) first and wait for it to get a solid connection. Once connected, reconnect your router. Wait for it to get solid connection, then power on your Xbox Series X. Go to the dashboard, Network - Check your Network settings by doing a Connection Test.
If that still doesn't help, you may want to uninstall/reinstall the game (could possibly be a corrupt file).