it means your variables Unit and ActionCommand are Null (not set)
so you’ve created the variable but not assigned it to a target actor.
since i cant see your code you just have to ask yourself when and how am i setting the variable “Unit”
it means your variables Unit and ActionCommand are Null (not set)
so you’ve created the variable but not assigned it to a target actor.
since i cant see your code you just have to ask yourself when and how am i setting the variable “Unit”