Search Issue Tracker
By Design
Votes
0
Found in
2018.4
2020.1.6f1
2021.1
Issue ID
1284897
Regression
No
InvalidOperationException error appears when calling UnityWebRequest.SetRequestHeader with "Proxy-Authenticate"
How to reproduce:
1. Open attached project "case1284897.zip" and scene "SampleScene"
2. Enter Play Mode
3. Observe the error in the Console window
Expected result: No error appears
Actual result: Error "InvalidOperationException" appears in the Console window
Reproducible with: 2018.4.28f1, 2019.4.13f1, 2020.1.11f1, 2020.2.0b9, 2021.1.0a1
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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Resolution Note:
UnityWebRequest always uses a proxy configured on the system (if any), hence setting it manually is disallowed.