Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2021.2.X
Votes
1
Found in
2019.4
2020.3
2020.3.8f1
2021.1
2021.2
Issue ID
1341009
Regression
No
[iOS] UnityWebRequest does not return when receiving http status "401 Unauthorized"
Reproduction steps:
1. Download and open the attached "Unity2020WebRequestRepro.zip" project
2. Build and deploy the project to iOS
3. Observe the Xcode console
Expected result: UnityWebRequest doesn't fail
Actual result: UnityWebRequest fails
Reproducible with: 2019.4.28f1, 2020.3.12f1, 2021.1.11f1, 2021.2.0a21
Could not test with: 2018.4 (Console/Build errors upon downgrading the project)
Reproduced with: iPhone 12 Pro (iOS 14.2.1), iPhone 6S (iOS 13.3.1)
Comments (1)
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
- Mouse input is registered incorrectly in Custom RP when downscaling Render Target and rendering Overlay UI before final upscale
- Time.deltaTime is locked to the display's refresh rate when the built Player is moved to a Secondary Display and Windowed Mode is used
- Crash on RaiseException when importing a specific asset
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
cmdexecutor
Jan 27, 2023 03:21
2021.3.14 and the bug still there
on 401 Unity throws exception instead of returning the response with the code