Equip function parameter is null...why?

Most likely the Weapon to Equip variable in your BP isn’t being set- if it’s unset in the blueprint it’ll be nullptr in C++. Perhaps you are forgetting to set it? Or the conditions required to set it aren’t being met.

By the way, you can check if something is nullptr in BPs by using the IsValid nodes. :wink:

1 Like