Hello everyone!
I have a very strange problem with web request response times, which is quite hard to explain, so here is my setup.
- I am working with Unity 5.4 on an iMac 2015 OSX ( 10.11)
- My server is Ubuntu Linux version 13.10, located in Amazon AWS.
- I am using a B593 router with LTE which is fast. ( up to 80MB / sec )
- I have set network emulation to none in the editor.
**Scenario 1: I am using the B593 LTE router :**
1) When I run my project in the editor, some of the web requests will take up to 2 or 3 seconds each to complete.
2) When I build my software for webGL, deploy it on my server, then run it from the browser on my computer (with the same internet connection on the B593 ) the responses are fast ( 10-20 ms avg. )
**Scenario 2: I am using my Smartphone for wifi sharing.**
1) When I run my project in the editor responses are fast ( 10-20 ms avg .)
2) When I run the software in the browser the responses are also fast ( 10-20 ms avg .).
This lag in scenario 1/1 has not always been there, I think it happened after the upgrade to unity 5.3.6.
Does anyone here have any idea what might cause the slowdowns in scenario 1/1 ?
I know I can work around this by using a different router, but I really would love to find out what's going on here, and perhaps the root cause for this can help to solve problems in the future.
Any help would be highly appreciated .
↧