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
- UI Builder Viewport is rendered in solid black and ArgumentOutOfRangeException is thrown when zooming in
- Game view renders yellow color when using RenderTexture.autoGenerateMips with DX12
- The "Multiplayer Widgets" package is displayed as an option for the installation even though it is already installed
- "IMGUIContainer cannot be used in a panel drawn by cameras." error thrown when adding IMGUI Container in UI Builder > Hierarchy
- Crash on GameObject::RemoveComponentFromGameObjectInternal when opening a specific project
Resolution Note (fix version 2.0.0-preview.18):
Fixed in: 2.0.0-preview.18 (2022.1.0a13)