"MetaData mismatch" using FTCPListener in GameMode
I have a GameMode which I hold an instance of FTCPListener. I bind this listener in ::PostInitProperties, we Exit it in ::FinishDestroy.
This works, I am able to connect to the listener and send messages when running the game (the first time). Stopping the game calls Exit on the listener. The problem is that if I stop the game and rerun it executes the binding with no warning or error but I can no longer connect to the socket and I get this sole warning in the console upon startup:
After doing some more searching I found something that helped me out here. It appears that a feature causes sockets while running in the editor to not get cleaned up when it cycles. A user actually fixed the problem and published the fix to be included, sadly this was almost three years ago and it has not made it in. The workaround for me was creating the FTcpListener with a socket that I create and hold and not an endpoint... then I manually close the socket itself.
answered Jul 27 '17 at 04:15 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here