Search Issue Tracker
Fixed in 5.5.0
Votes
0
Found in
5.4.0b13
Issue ID
786285
Regression
No
[UnityWebRequest] redirectLimit = 0 doesn't disable redirects
Steps to reproduce:
1. Open attached project
2. Play "Test" scene
3. Notice error in the console ("Response code is not 301")
4. Open "Redirect Test.cs" and notice redirectLimit set to 0
5. ResponseCode actually is 200 if you check it after req.Send()
Expected: Web request is not redirected when redirectLimit = 0.
Actual: Web request still redirects with response code 200 (Status OK).
Reproduced with: 5.4.0b15; 5.3.4p4
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
Add comment