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
- Crash on when D3D12RenderPass::SetupDeviceResources when opening FBX animation preview
- Serialization errors are thrown when "com.unity.render-pipelines.core" is added as a custom package and Graphics window is opened
- Character Joints unexpectedly rotate when a ragdoll is created using the Ragdoll Wizard
- Crash on GfxDeviceD3D11Base::DrawBuffersBatchMode when rendering the Scene view
- The shared EditorBuildSettings.asset file of symlinked projects is not updated when changing the order of the Scenes in Build Settings in one of the projects
Add comment