I have developed a unity game which listens to a TCP port. I have used System.Net.Sockets.TcpListener
class to achieve this.
I have ported the game for UWP (using IL2CPP scripting backend). I also have checked internetClientServer and privateNetworkClientServer capabilities in the Visual Studio.
After creating the package and installing the package using XBOX Remote Access, it will work successfully. But after restarting the console the game crashes when a client wants to connect.
Exception: The thread tried to read from or write to a virtual address for which it does not have the appropriate access.
Appreciate any help