Search Issue Tracker
Fixed in 2.0.0-preview.18
Votes
1
Found in [Package]
2.0.0-preview.17
Issue ID
1344157
Regression
Yes
[Vector Graphics] Creating an SVG Image when right clicking UI > SVG Image will create an Image with no Material
How to reproduce:
1. Open the attached project "Vector Graphics Bug Report.zip"
2. Open SampleScene
3. Right-click on the Canvas
4. Select UI > SVG Image
5. Set the material to Unlit_VectorUI (Packages/Vector Graphics/Runtime/Materials/Unlit_VectorUI)
6. Set the sprite to Rounded Square
Expected result: You can see the sprite in the Game View
Actual result: You cannot see the sprite in the Game View
Reproducible with: 2020.1.0a15, 2020.3.13f1, 2021.1.13f1, 2021.2.0b1 (2.0.0-preview.8 - 2.0.0-preview.17)
Not reproducible with: 2019.4.28f1, 2020.1.0a14 (2.0.0-preview.8 - 2.0.0-preview.17)
Could not test with: 1.0.0-preview.13 - 2.0.0-preview.7 (no Unlit_VectorUI material)
Workaround: Drag and drop the SVG sprite under the Canvas
Notes:
1. There seems to be no Default Material associated with the SVG Image Game Object after creating it
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The third and later list elements are displayed incorrectly when they are expanded
- Script error is thrown when using a method named Update with parameters in the script that inherits from a ScriptableObject class
- UI system does not register a MouseDownEvent event when clicking on the Value attributes of the TextField
- Directional lights are cut off by a sharp edge when passing behind a volumetric cloud
- Directional lights flicker when placed at the edge of a volumetric cloud
Resolution Note (fix version 2.0.0-preview.18):
Fixed in: 2.0.0-preview.18 (2022.1.0a13)