I found an answer to my problem in case someone has the same issue in the future. on my xbox series S, I switched the multiplayer connection off of auto position and then back to auto then reset the router and the game has worked fine ever since. Probably didnt need to reset the router but did anyway.
B
BondedParrot057_XBL
@BondedParrot057_XBL