Search Issue Tracker
Fixed in 2017.3.0f3
Fixed in 2017.1.X, 2017.2.X
Votes
0
Found in
5.4.1f1
Issue ID
832192
Regression
No
UnityWebRequest does not send set cookies on redirect
Steps to reproduce:
1. Open the attached project
2. Open the Assets/test.unity scene
3. Open Wireshark
4. Filter http traffic
5. Play the scene by pressing the Play button
6. Observe, any new cookies are not sent on a redirect
Expected result: UnityWebRequest should send set cookies on redirect
Actual result: UnityWebRequest does not send set cookies on redirect
Note:
Feature introduced in 5.4
Reproduced with: 5.4.1f1, 5.4.4p3, 5.5.0f3, 5.5.1p4, 5.6.0b9
Fixed in:
2017.3.0a2
Backported to:
2017.2.0b6
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
- Crash with multiple stack traces when playing video on a render texture with low-end graphics devices
- Circle handle of the Game view scale slider bar disappears when the scale is set to 1x
- Asset Bundles non-deterministic behavior with CRCs and hash when a video has Transcoding enabled and Sprite Atlas has an override option enabled
- [Quality Hackweek] Errors "InvalidOperationException: EnsureRunningOnMainThread can only be called from the main thread" and "NullReferenceException" shown when switching build platforms with Muse Texture package installed
- "Importer(DefaultImporter) generated inconsistent result for asset" warnings are thrown when reimporting the "URP" texture
vinsonb
Sep 27, 2017 15:44
It appears the "fix" for this issue may have been to use CookieHandler.setDefault, which in my opinion is bad. This can have unintended consequences for native code and plugins that may not be expecting a default cookie manager to be set. I think Unity should track/set cookies on their own instead of setting a default manager.