Skip to content

Crash fix for Format Text node#357

Open
LindyHopperGT wants to merge 1 commit intoMothCocoon:5.xfrom
LindyHopperGT:FlowFormatTextCrashFix
Open

Crash fix for Format Text node#357
LindyHopperGT wants to merge 1 commit intoMothCocoon:5.xfrom
LindyHopperGT:FlowFormatTextCrashFix

Conversation

@LindyHopperGT
Copy link
Contributor

Prevent Getting the value of an invalid FFlowDataPinValue property.

Prevent Getting the value of an invalid FFlowDataPinValue property.

bool UFlowNodeBase::TryAddValueToFormatNamedArguments(const FFlowNamedDataPinProperty& NamedDataPinProperty, FFormatNamedArguments& InOutArguments) const
{
if (NamedDataPinProperty.Name.IsNone() || !NamedDataPinProperty.DataPinValue.IsValid())
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code that follows was trying to inspect the invalid FFlowDataPinValue struct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant