Search Issue Tracker
By Design
Votes
0
Found in
2017.1.0f3
Issue ID
933137
Regression
Yes
UriFormatException: Invalid URI when parsing file path with WWW class
Steps to reproduce:
1. Open attached "errorWWW.zip" Unity project
2. Open scene “Test”
3. Click on “GameObject” object in the Hierarchy tab
4. Manually enter “skyNight001.png” path on your computer into “File Path” field in the Inspector tab
5. Enter Play mode
Reproduced in: 2017.3.0a1, 2017.2.0b4, 2017.1.0p1, 2017.1.0f3, 2017.1.0f1, 2017.1.0b3, 2017.1.0b1
Didn’t reproduce in: 2017.1.0a6, 2017.1.0a5, 2017.1.0a1, 5.6.2p4, 5.6.1f1, 5.5.0f1
Regression introduced in: 2017.1.0b1
Error:
UriFormatException: Invalid URI: The hostname could not be parsed. ( )
System.Uri.Parse (UriKind kind, System.String uriString)
System.Uri.ParseUri (UriKind kind)
System.Uri..ctor (System.String uriString, Boolean dontEscape)
System.Uri..ctor (System.String uriString)
UnityEngineInternal.WebRequestUtils.MakeInitialUrl (System.String targetUrl, System.String localUrl) (at /Users/builduser/buildslave/unity/build/Runtime/WebRequest/Managed/WebRequestUtils.cs:481)
-------------------------
This bug is by design:
The newer Unity versions are more strict about URI conformance.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Setting Shader Graph to Surface Type "Transparency" and Render Face "Both" breaks the preview
- Warning "Unknown pseudo class "multiline"" is logged when the Animator is loaded or in use after picking Motion in a States Inspector
- Deleting the property in the Blackboard and then creating the different type property with the same name throws an error
- Selector gets stuck in UI if scroll is used while dragging
- Created asset is placed in a new folder when creating a new folder and instantly creating an asset by clicking somewhere else
Add comment