diff --git a/SeqActLogEnabler/SeqActLogEnabler.cpp b/SeqActLogEnabler/SeqActLogEnabler.cpp index 02d0bc1..30ba84c 100644 --- a/SeqActLogEnabler/SeqActLogEnabler.cpp +++ b/SeqActLogEnabler/SeqActLogEnabler.cpp @@ -73,7 +73,12 @@ void __fastcall HookedPE(UObject *pObject, void *edx, UFunction *pFunction, void } else if (IsA(seqVar)) { - ss << static_cast(seqVar)->ObjValue->GetName() << " "; + const auto seqVarObj = static_cast(seqVar); + auto referencedObj = seqVarObj->ObjValue; + if (referencedObj != nullptr) + { + ss << referencedObj->GetName() << " "; + } } else if (IsA(seqVar)) {