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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment