Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2021.2.X
Votes
0
Found in
2018.4
2021.1
2021.1.0a2
Issue ID
1287962
Regression
No
[WebGL] User-Agent header is not unguarded when using UnityWebRequest
How to reproduce:
1. Open the attached project's Scene labeled "SampleScene"
2. Make a build for WebGL
3. Host the WebGL build
4. Open the built WebGL Player in a browser
5. Open the developer Console (common shortcut F12)
6. Inspect the messages
Expected result: UnityWebRequest doesn't guard the User-Agent header
Actual result: Errors are thrown
Reproducible with: 2018.4.28f1, 2019.4.14f1 (InvalidOperationException), 2020.1.12f1, 2020.2.0b10, 2021.1.0a4 (Refused to set unsafe header "User-Agent")
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
- The text below Orientation Gizmo does not change when the Scene viewing direction changes
- CPU is overused and the usage cannot be limited for Runtime when the Editor is not rendering anything
- Recorder Texture Sampling does not record Canvas images correctly when the Camera projection is Orthographic
- [HDRP] HDAdditionalLightData.RequestSubShadowMapRendering on directional lights breaks cascade shadows rendering
- Memory leaks when Instantiating Objects with SerializeReference
Resolution Note (fix version 2022.1):
Fixed in Unity 2022.1.0a3 and above