Search Issue Tracker
Fixed in 2022.2.3f1
Fixed in 2022.2.X, 2023.1.X, 2023.1.0a25
Votes
0
Found in
2022.2.1f1
2023.1.0a23
Issue ID
UUM-21218
Regression
Yes
Crash on UIToolkit::VectorUtils::MakeVectorGraphicsStretchBackground when resizing vector image
Reproduction steps:
1. Open the attached project “ReproCrash”
2. In the Project window find and open “VectorImage.uxml”
3. In UI Builder Window resize “VectorImage.uxml” diagonally
Expected result: Vector image gets resized
Actual result: Editor crashes
Reproducible with: 2022.2.0b15, 2022.2.1f1, 2023.1.0a23
Not reproducible with: 2020.3.43f1, 2021.3.16f1, 2022.1.24f1, 2022.2.0b14
Reproducible on: Windows 10, macOS 13.0.1
Note: With some versions also crashes when opening the Game view window
First lines of stack trace:
0x00007ff7db206b9f (Unity) UIToolkit::VectorUtils::MakeVectorGraphicsStretchBackground
0x00007ff7db206802 (Unity) UIToolkit::MeshBuilder::MakeVectorGraphicsStretchBackground
0x00007ff7d9f34d90 (Unity) MeshBuilderNative_CUSTOM_MakeVectorGraphicsStretchBackground_Injected
0x000001d15bdb8dd7 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.UIElements.MeshBuilderNative:MakeVectorGraphicsStretchBackground_Injected (UnityEngine.UIElements.Vertex[],uint16[],single,single,UnityEngine.Rect&,UnityEngine.Rect&,UnityEngine.ScaleMode,UnityEngine.Color&,UnityEngine.UIElements.MeshBuilderNative/NativeColorPage&,int,int&,int&,UnityEngine.UIElements.MeshWriteDataInterface&)
0x000001d15bdb8c2b (Mono JIT Code) UnityEngine.UIElements.MeshBuilderNative:MakeVectorGraphicsStretchBackground (UnityEngine.UIElements.Vertex[],uint16[],single,single,UnityEngine.Rect,UnityEngine.Rect,UnityEngine.ScaleMode,UnityEngine.Color,UnityEngine.UIElements.MeshBuilderNative/NativeColorPage,int,int&,int&)
0x000001d15bdb8533 (Mono JIT Code) UnityEngine.UIElements.UIR.Implementation.UIRStylePainter:MakeVectorGraphics (UnityEngine.UIElements.MeshGenerationContextUtils/RectangleParams,bool,UnityEngine.UIElements.TextureId,int,int&,int&)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Animator state transition preview clips are flickering when zooming in
- [Tile Palette] Sprites not rendering when brush tool "Paint a filled box with active brush" is used for the first time
- Adding available Nodes with longer names in Fragment Context window overflow Fragment Context window in Shader Graph
- "Layer Palette Profile" Asset is automatically applied to the second Terrain but doesn't load any layers
- "Terrain Tools" shortcut conflicts with the Overlays shortcut by default
Add comment