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
- Editor freezes with a StackOverflowException when certain asset types are assigned to a managed component in a SubScene via AddComponentObject
- Scale Snapping with Gizmos does not work in the Scene view when Snapping and Absolute Grid Snapping are toggled off
- Text Script Importer Reference button links to a Missing Page when clicking the Reference Button in the Inspector
- FrameTimingManager.GetLatestTimings adds background time to the next focused frame when the Player is unfocused
- PropertyDrawer gets disposed while still being active when adding a secondary component
Resolution Note (fix version 2.0.0-preview.18):
Fixed in: 2.0.0-preview.18 (2022.1.0a13)