Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.4.0f1
2017.4.9f1
2018.3.0a1
2019.1.0a1
2019.2.0a1
Issue ID
1136671
Regression
No
[Support] SslStream.AuthenticateAsClient is never authenticated when trying to authenticate multiple clients per one frame
How to reproduce:
1. Open attached project "AuthenticateAsClientBug.zip" and scene "BrokenScene"
2. Enter PlayMode
3. Observe Console window
Expected result: the "Processing - counter: x" reaches the Num Loops located in "AuthenticateAsClient" -> "Authenticate As Client (script)"
Actual result: "Processing - counter: 0" are being printed, the clients are never authenticated
Reproducible with: 2017.4.23f1, 2018.3.9f1, 2019.1.0b7, 2019.2.0a8
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
After investigating the issue it was determined that the customer was exceeding the maximum number of threads in the threadpool. This would create a situation where the threadpool would be filled with threads blocking while waiting for a callback. This callback most likely required room in the threadpool and therefore was unable to unblock any of the waiting threads. This situation is resolved by "tuning" the threadpool or manually setting the maximum number of allowed threads via ThreadPool.SetMaxThreads to a value that is greater than the number of requests the customer is expecting to handle.