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
- TileMap selection resets to the default when the Scene is saved
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
Add comment