Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
0
Found in
5.3.5f1
Issue ID
815243
Regression
No
Uri.MakeRelativeUri doesn't work as expected
Steps to reproduce:
1) Download attached project 'UnityUriBug.zip' and open in Unity.
2) In toolbar click on Tools >> 'UriTest'.
3) Enter "http://www.contoso.com/" for Path 1 and "http://www.contoso.com/test/test.htm" for Path 2(naturally, don't include the quotes).
4) Press the button "Update Relative".
Note: The correct relative path ("test/test.htm") is printed in the field below the button.
5) Now enter "http://www.contoso.com/test1/" for Path 1 and "http://www.contoso.com/" for Path 2.
6) Press the button "Update Relative".
Note: The text field incorrectly prints the empty string when it should print "../". ( see more details in https://msdn.microsoft.com/en-us/library/system.uri.makerelativeuri(v=vs.110).aspx )
Expected result: In the tab 'Path 2 relative to Path 1' should be printed "../".
Actual result: Tab 'Path 2 relative to Path 1' is empty.
Reproduced with: 5.2.4f1, 5.3.6f1, 5.4.0f2, 5.5.0a4.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
This case will be addressed as part of Mono runtime upgrade
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Console shows Exception: {"error":"not found","detail":["not found"]} after opening Build History window
- [HDRP] Volumetric cloud shadows disappear when there is no directional light shadows
- “Selector” column names in the Search window are lowercase when added
- Install List Project Counter Panel can be right clicked through and Install Context Menu can be opened disabling Project Counter Panel's buttons
- [MacOS] Scene is marked/flickering as dirty (with asterisk) when dragging a Material on a GameObject in Scene view
Add comment