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
- Too little validation messages in the "WebAssembly Language Features" Memory settings
- Project Settings Search Highlights are misaligned when using the Bitmap Text Rendering Mode
- "GetControlID at event ValidateCommand returns a controlID different from the one in Layout event" Warning is thrown when undoing the deletion of Sprite Shape Profile
- Memory related fields in the "WebAssembly Language Features" can be set to the negative numbers
- "WebAssembly Language Features" Header in the Player Settings has a smaller indentation
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.