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
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Add comment