Radar Chart Widget

Hey @pDunkl

Attempting to delete an item from the end from the pre-filled Segments array, in the editor, results in a crash. Clearing the array works, but adding items back in, one at a time, via the editor, results in another crash.

I’m using UE 5.5, last bit of the stacktrace is below.

Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\RocketSync\5.5.0-37670630+++UE5+Release-5.5\Working\Engine\Source\Runtime\Core\Public\Containers\Array.h] [Line: 783] 
Array index out of bounds: 4 into an array of size 4


UnrealEditor_RadarChart!SRadarChart::NormalizeValues() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\RadarChart\Source\RadarChart\Private\SRadarChart.cpp:1381]
UnrealEditor_RadarChart!SRadarChart::ForceRebuild() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\RadarChart\Source\RadarChart\Private\SRadarChart.cpp:513]

Edit: If I manually make sure the Values Layers Arrays are smaller than the Segments Array before I attempt to delete an item from the Segments Array, then the deletion will work. This is acceptable for my use-case but still probably something you should be aware of :slight_smile: