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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note (fix version 2.0.0-preview.18):
Fixed in: 2.0.0-preview.18 (2022.1.0a13)