Search Issue Tracker
Fixed in 2022.3.65f1
Fixed in 2022.3.X, 6000.0.X, 6000.1.X, 6000.2.X, 6000.3.X, 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
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Group Selection title text size is smaller in renaming than the actual font size
- Rich Text is not correctly highlighted when searching through Debug Logs in the Console window
- Shader warning in 'Hidden/Core/DebugOccluder' thrown after building High Definition 3D Sample Template
Add comment