MothCocoon / FlowGraph

Design-agnostic node system for scripting game’s flow in Unreal Engine
https://discord.gg/Xmtr6GhbmW
MIT License
1.22k stars 241 forks source link

Fixed crash when doing a diff of a Flow Graph vs Perforce. #174

Closed InfiniteAutomaton closed 1 year ago

InfiniteAutomaton commented 1 year ago

The crash occurred inside of the SetContent method called from SFlowDiff::SetCurrentMode. When the Widget is not set to SNullWidget::NullWidget it assumes that the widget exists and attempts to dereference it, but in the former code the Widget was unset (nullptr) causing the crash.

MothDoctor commented 1 year ago

Thanks @InfiniteAutomaton! Accepted :)