Can not catch a None object

I have a AI that seems to still process None objects after the target has died and became destroyed. When I exit the editor it shows where the None is being processed so I placed a check for isValid in the beginning of the function but this does not catch a None object reference either. I’ve also tried if object != And compared it to nothing. I’ve also tried comparing it to an uninitialized actor to see if that would catch a None object. Is there any other way to catch this?

have you tried casting?

The target object is already a casted object no further cast was allowed. but i see now that the issue was in a macro and not the object leading to the macros. Thank you for your assist.

if you still need to check if an object is “none” this might help