Search Issue Tracker
By Design
Votes
0
Found in
2018.4
2019.4
2019.4.23f1
2020.3
2021.1
2021.2
Issue ID
1335054
Regression
No
[WebGL] Not all ResponseHeaders are returned when using UnityWebRequest
How to reproduce:
1. Open the attached project's Scene labeled "SampleScene"
2. Make a WebGL build
3. Open the built Player in a browser
4. In the Player, click o button labeled "UnityWebRequest"
5. Inspect the logs in the Developer Console (can be accessed with F12 shortcut)
6. Inspect the response in the Network tab
Expected result: All Response Headers are returned by UnityWebRequest.GetResponseHeaders function
Actual result: Only "content-type" and "date" response headers are returned
Reproducible with: 2018.4.35f1, 2019.4.26f1, 2020.3.8f1, 2021.1.7f1, 2021.2.0a17
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
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
Resolution Note:
Turned out to be an issue with the Customer's server setup. Nothing to do with our UnityWebRequest or WebGL implementation.