Search Issue Tracker
Fixed
Fixed in 2022.3.65f1, 6000.0.54f1, 6000.1.12f1, 6000.2.0b10, 6000.3.0a2
Votes
1
Found in
2022.3.64f1
6000.0.52f1
6000.1.10f1
6000.2.0b8
6000.3.0a1
Issue ID
UUM-110455
Regression
No
Crash on UIToolkit::UIPainter2D::StrokeRoundedCap when drawing an arc with Painter2D on specific progress value using LineCap.Round
How to reproduce:
1. Open the attached “IN-104836_Painter2D_Crash.zip” project
2. Open the “SampleScene”
3. Enter Play Mode
4. Observe the crash
Reproducible in: 2023.2.0b1, 6000.0.52f1, 6000.1.10f1, 6000.2.0b8, 6000.3.0a1
Could not test with: 2022.3.64f1 (feature introduced in 2023.2), 2023.2.0a1 (unresolved UxmlElement attribute)
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Notes:
- The crash is appearing with the specific progress float value of 0.01202669f
- The crash does not appear if LineCap.Butt is used in place of LineCap.Round in the “RadialProgress.cs” script
- Code sample is taken from the official documentation page: https://docs.unity3d.com/6000.0/Documentation/Manual/UIE-radial-progress-use-vector-api.html
First few lines of stacktrace:
{noformat}0x00007FFA78AD868E (Unity) UIToolkit::UIPainter2D::StrokeRoundedCap
0x00007FFA78AD63EC (Unity) UIToolkit::UIPainter2D::StrokeInternal
0x00007FFA78ACDC0A (Unity) UIToolkit::UIPainter2D::ExecuteSnapshotFromJob
0x00007FFA7759F750 (Unity) UIPainter2D_CUSTOM_ExecuteSnapshotFromJob
0x000001C6CF71E388 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.UIElements.UIPainter2D:ExecuteSnapshotFromJob_Injected (intptr,int,UnityEngine.UIElements.MeshWriteDataInterface&){noformat}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Can’t delete gradient keys with Mac keyboard or context menu options
- Editor freezes for a few minutes when closing or switching a VFX window that was opened in a previous project
- UI Overlaps when switching Render Pipeline Asset for different Quality Levels in Quality Project Settings
- Ray Tracing Shader link to the documentation isn’t working
- Warning "BatchRendererGroups currently don't support override shaders" is spammed in Play mode when using H-Trace WSGI with BatchRenderGroups
Add comment