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
- Popup windows spawn on the incorrect monitor when the Editor is placed near the boundary of scaled monitor next to a monitor with different scaling
- Hidden Tabs do not shift into empty space after closing visible Tabs
- [Android] Application not deployed on a device when "activity-alias" is used in the AndroidManifest
- Shader compile process adds shader ID to the constant buffer name when the word "Globals" is being used in Vulkan
- Audio Mixer Snapshot link to the documentation isn’t working
Add comment