Search Issue Tracker
Fixed in 2.0.0-preview.15
Votes
1
Found in [Package]
2.0.0-preview.13
Issue ID
1325560
Regression
No
Compilation errors appear after installing Vector Graphics when Unity Web Request WWW package is disabled
Reproduction steps:
1. Create a new project
2. Open the Package Manager and select Built-in packages
3. Disable the Unity Web Request WWW package
4. Click "+" button > Add Package from git URL...
5. Enter "com.unity.vectorgraphics" and click Add
6. Observe the Console window
Expected result: Unity Web Request WWW is enabled and no errors appear
Actual result: compilation errors regarding missing namespace are printed
Reproducible with: 2.0.0-preview.13 (2019.4.24f1, 2020.3.3f1, 2021.1.2f1, 2021.2.0a12)
Full error messages:
1. Library\PackageCache\com.unity.vectorgraphics@2.0.0-preview.14\Runtime\SVGParser.cs(460,32): error CS1069: The type name 'WWW' could not be found in the namespace 'UnityEngine'. This type has been forwarded to assembly 'UnityEngine.UnityWebRequestWWWModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' Enable the built in package 'Unity Web Request WWW' in the Package Manager window to fix this error.
2. Library\PackageCache\com.unity.vectorgraphics@2.0.0-preview.14\Runtime\SVGParser.cs(460,46): error CS1069: The type name 'WWW' could not be found in the namespace 'UnityEngine'. This type has been forwarded to assembly 'UnityEngine.UnityWebRequestWWWModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' Enable the built in package 'Unity Web Request WWW' in the Package Manager window to fix this error.
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 ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
Add comment