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)
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
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