Search Issue Tracker
Fixed
Fixed in 2.0.0-preview.21
Votes
1
Found in [Package]
2.0.0-preview.20
Issue ID
VGB-3
Regression
No
SVG viewport is not preserved when imported as UI Toolkit Vector Image
Reproduction steps:
1. Open “PaddingProject“
2. Open “ExpectedScene” and observe the SVG’s padding in the Game view
3. Open “ActualScene” and observe the SVG’s padding in the Game view
Expected result: padding is the same
Actual result: padding is missing in “ActualScene”
Reproduced in: 2.0.0-preview.8 (2023.2.0a7), 2.0.0-preview.20 (2020.3.46f1, 2021.3.21f1, 2022.2.12f1, 2023.1.0b9, 2023.2.0a7)
Could not test in: 2.0.0-preview.7 (2023.2.0a7) (Vector Graphics package errors)
Reproduced using: macOS 13.2.1 (Intel), Windows 11 (by reporter)
Notes:
1. Also reproduced in Player
2. Related forum thread: [https://forum.unity.com/threads/svgs-dont-preserve-viewport-when-imported-as-ui-toolkit-vector-image.1385055/|https://forum.unity.com/threads/svgs-dont-preserve-viewport-when-imported-as-ui-toolkit-vector-image.1385055/]
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment