Windows [HELP] Co-op Not Working

I am playing on Xbox game pass for pc and when i click the coop tab there is no where to type in an invite code, all it has is lan connection. I have tried doing everything. I've made exceptions in my firewall protection, I've disabled it completely. i made sure my Nat type was online. I made sure gamepass as online. I've made sure the game was up to date. All the trouble fixing ive seen online says to make sure my Steam or GOG are open before playing but i don't have it through either of those so I'm sure that wont matter. Just in case though, i linked my xbox and steam accounts and that didn't work either. And it isn't just a problem with the game pass for pc because the friend I'm trying to play with is not have this problem at all. he was able to download it and it work fine instantly
 
Top