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
- Character spacing value is not applied when using a specific font asset
- [Android][IL2CPP] Player crashes on __memcpy_aarch64_simd+276 when invoking native code via a plugin on some ARM64 Android devices
- [Android]Resources fail to load when the AAB build contains a large Addressables Bundle
- Unity is loading internal version of SharpZipLib instead of local version
- The Context Menu items are ordered incorrectly
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.