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
- Profiler - Taking you to the wrong section when using 'show'
- Draw Renderers custom pass doesn't work with SSGI
- WebCamTexture does not set the requested resolution when used in WebGL
- Editor default Stylesheet/Matching Selector buttons in Debugger don't do anything
- Graphics.DrawMeshNow stops rendering Render Texture after a few frames when viewed in the Player
Resolution Note (fix version 2.0.0-preview.18):
Fixed in: 2.0.0-preview.18 (2022.1.0a13)