It seems like Unity3D stops executing code once the window is not in focus. This a good way to give some performance back to the user, once they need to do something else on their computer.
Is it possible to change this setting? I can imagine this is just a setting which says:
- no execution at all
- only script execution, (no rendering)
- execute all
While I’m working with networking (RTMP implementation), it’s pretty unuseful when the client doesn’t respond anymore, simply because the window is out of focus. I only expect this to happen when there are connection problems on the client side. As the server notices that a client is unreachable for 30 seconds, it needs to disconnect that client.
I’ll be very thankful for an answer!