Accessed None trying to read property K2Node_DynamicCast

Hi Gamedev community,
the message log returns this error and is found in this blueprint.
Game works fine though.

What could the mistake be?
Already checked on google about the ?is valid function and the community, tried moving “HoldingTorch” boolean variable after the torch has been killed.
This happens only when I pickup the Torch or I use it on the spider web

Here’s the process

here’s the mistake log

Thank you!

UP, problem still present

Hello Alesk,

You can add an “IsValid” node just before the DestroyActor node and connect the “As BP_” pin to it.

Like this

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms