When press Tab NullReferenceException error pop up

Did I did something wrong, everytimes I press Tab to select target it just give me an error for the if (stateMachine.Targeter.SelectTarget()) { return; }

Is your Targeter assigned in the PlayerStateMachine?

Yes all in here

Thanks for the reply, I found the problem and fixed
turn out I forgot something in the target prefab

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

Privacy & Terms