How does the "AND" condition work in blueprint ?

I’m starting to think that I might miss something here, I have a very basic “AND” condition with my first expression being a static “false” (for the purpose of this thread) but it tries to resolve the second expression still, resulting in the following error in my case.

Accessed None trying to read property CallFunc_BreakHitResult_HitComponent


(the exec nodes are connected I just forgot to reconnect them when taking the screenshot)

I know how to fix the error, I was just wondering why the engine still tries to resolve the second statement.
I don’t know why but I’d expect the condition to stop at the first expression when it is false.

There’s no short circuit evaluation in BPs.

image

We’re calling all of them :frowning:

I know how to fix the error

:+1:

1 Like

Well, thanks for the explanation, I kinda guessed it but I didn’t know the term.
Guess it’s a technical issue more than an artistic choice though :smiley: