Hello,
so I have noticed since we upgrade our project from version 2021 to version 2022 and there is noticeable delay within the Unity web requests that happen concurrent.
The delay is very noticeable in both android and editor runtime, is there any setting or recommending to fix this issue or is it known issue within 2022 versions?
Have you ruled out all other potential causes for this behaviour?
The server may be struggling, the device Internet connection may be slow or high latency, there may be a firewall or proxy causing traffic slowdowns, the device itself may be bogged down with background tasks, or you may have more logging than usual or built a debug rather than release build.
Try deleting the apps from the devices and reboot them to make sure the devices themselves are fresh. Also delete the Library folder for the project, in rare cases this can alleviate odd issues after upgrading (or in general).
I‘ve been using UnityWebRequest the past week though only in the editor (2022.3 and 2023.1) to interact with PivotalTracker and GitHub Rest Apis and the responses were instantaneous.
It’s a known regression. We are working on it.
Establishing new TLS connections got slower, when establishing multiple ones at the same time. A mitigation is to limit the number of concurrent requests, then connection reuse will help.
Yes we ruled out all other issue and there couple of forum plus issue listed within same scope.
It mostly happen with more than 5 Https request firing concurrent at same time, mostly that will happen with 3rd party sdks like playfab for example.