SGridPanel::SetRowFill(...) causes crash

Reproduction

Create a new C++ Actor class

Paste the following code in the BeginPlay function

Compile and place the Actor class in the level

Play in Editor (The result should be a crash)

TSharedPtr<SGridPanel> GridPanel;
SAssignNew(GridPanel, SGridPanel);
GridPanel->SetRowFill(2, 1.f);

Bug Source

SGridPanel::SetRowFill(…) uses an if statement instead of a while statement compared to SGridPanel::SetColumnFill(…) which doesn’t cause a crash.

Hey -

Thank you for submitting a bug report. I have reproduced this issue and logged a report for it here Unreal Engine Issues and Bug Tracker (UE-48693) . You can track the report’s status as the issue is reviewed by our development staff. Please be aware that this issue may not be prioritized or fixed soon.

Cheers