Hi there,
I’ve been playing round with Photon Server trying to get some proof of concepts running on it. As a proof of concept I made a .NET chat server and .NET chat client which all worked spot on. The next step was to create the chat client within Unity. Again seemed to go fine after a few initial hicups.
I can send messages from my .NET client and see it in my unity client and vica versa, the issue arises when I send multiple messages from the .NET client to the Unity one. It seems that when a unity exe looses focus, it also stops processing events. I can send 10 messages to the unity client when it doesn’t have focus and it just sits there looking as if nothing has happened but when I click on the unity client it then tries to process all the messages (but falls over and disconnects me from the server).
The quesion is…is there an option or something in Unity I can use to make sure that messages/events/timers etc are still processed when the compiled Unity app doesn’t have focus/minimized?
Dave