Search Issue Tracker

Not Reproducible

Votes

1

Found in

5.6.1p1

Issue ID

982611

Regression

No

[WebGL] Web socket server does not process the echo request for all connections

WebGL

-

Steps to reproduce:
1. Open project "Networking.zip"
2. Build on WebGL and Windows or use builds inside the zip
3. Open PC build and press "~"(tilde) key to open console
4. Type in "Server.ws true" to start the server
5. Open WebGL build on 3-4 separate browsers
6. In each build type in Client.connect to connect to the server
7. In each build type Client.RunEchoTest to start the test so that every browser is running the test simultaneously

Expected: The sent information is received without hangups as it comes in
Actual: The echo messages get lagged out and hang up somewhere in the memory and are sent out in bursts

Reproduced on: 5.6.5p1, 2017.1.3f1, 2017.2.1p2, 2017.3.0p3, 2018.1.0b4

Notes: on 2018.1.0b4 the messages aren't hanging up as much, almost not, but are still delayed quite a bit compared to the PC builds

To see "Expected" result in step 4 write "Server.ws false" instead and in step 5 - Open multiple PC builds and continue like normal.
Attached videos to show off Expected and Actual

  1. Resolution Note:

    UnityEngine.Application.get_isWebPlayer removed, untestable

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.