Search Issue Tracker
By Design
By Design in 2023.2.X
Votes
0
Found in
2021.3.27f1
2022.3.1f1
2023.1.0b20
2023.2.0a18
Issue ID
UUM-40050
Regression
No
Unity Web Requests failing when doing large quantity of requests
Reproduction steps:
1. Extract the attached zip file “ReproProject”
2. In the extracted folder open the “BundlesToCopy” folder and copy all the files and paste them into the "/Library/WebServer/Documents/" folder (on macOS)
3. Start the Apache server in Mac Terminal using the “sudo apachectl start” command
4. Open the “ReproProject” project in Unity
5. Open the “Assets/Scenes/SampleScene” Scene
6. Enter the Play mode
7. Wait for messages in the Console window
Expected result: Only “WebRequest OK from http://localhost//bundle_x” messages are printed to the Console
Actual result: Some requests timeout with the error “Curl error 28: Failed to connect to localhost port 80 after 25905 ms: Operation timed out”
Reproducible with: 2021.3.27f1, 2022.3.1f1, 2023.1.0b20, 2023.2.0a18
Reproducible on: macOS 13.3 (Intel)
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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note:
The issue lies in Apache server not able to handle a lot of request in short amount of time and it is not Unity fault. 1000 requests in one frame makes Apache server to reject or timeout requests. With better server setup this can be solved.
Resolution Note (2023.2.X):
The issue lies in Apache server not able to handle a lot of request in short amount of time and it is not Unity fault. 1000 requests in one frame makes Apache server to reject or timeout requests. With better server setup this can be solved.