UnitySocketIO
UnitySocketIO copied to clipboard
Too high processor usage
I narrowed down the problem to the thread using dequeuOutboundMessages. It eats more than 100% of a cpu core. Just this thread alone connected to a Node.js server which sends a message once in a while. Once a minute or less.
Confirm that unity client CPU usage is very high! Could you fix it? Thanks! http://forum.unity3d.com/threads/204692-Can-someone-please-update-UnitySocketIO
i had this problem, but solved.
protected void dequeuOutboundMessages() { while (this.outboundQueue != null)
change the monobehavior update method instad of while loop.