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
- Warning of an unknown Script missing is logged when selecting VFX in Play Mode
- Vertical and horizontal scrollbars appear and disappear when dragging an attribute to a different position within the Shader Graph Hierarchy
- AudioSource.PlayDelayed() does not work with Audio Random Containers
- Compatible with the VFX Graph Shader Graph can't be dragged and dropped into the "Output" block from the Project window
- [Silicon] Freeze/crash on BrotliDecoderDecompressStream when using System.IO.Compression.BrotliDecoder.TryDecompress
Add comment