From e8460b4082259a194646eac8e8361848d5a19be9 Mon Sep 17 00:00:00 2001 From: LindyHopperGT <91915878+LindyHopperGT@users.noreply.github.com> Date: Thu, 12 Mar 2026 12:25:13 -0700 Subject: [PATCH] Crash fix for Format Text node Prevent Getting the value of an invalid FFlowDataPinValue property. --- Source/Flow/Private/Nodes/FlowNodeBase.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Source/Flow/Private/Nodes/FlowNodeBase.cpp b/Source/Flow/Private/Nodes/FlowNodeBase.cpp index 50ff3ced..043fa4ba 100644 --- a/Source/Flow/Private/Nodes/FlowNodeBase.cpp +++ b/Source/Flow/Private/Nodes/FlowNodeBase.cpp @@ -990,6 +990,11 @@ EDataValidationResult UFlowNodeBase::ValidateNode() bool UFlowNodeBase::TryAddValueToFormatNamedArguments(const FFlowNamedDataPinProperty& NamedDataPinProperty, FFormatNamedArguments& InOutArguments) const { + if (NamedDataPinProperty.Name.IsNone() || !NamedDataPinProperty.DataPinValue.IsValid()) + { + return false; + } + const FFlowDataPinValue& DataPinValue = NamedDataPinProperty.DataPinValue.Get(); const FFlowPinTypeName PinTypeName = DataPinValue.GetPinTypeName();