RPG Course Null Reference Exception

Hi everyone, i am currently having an issue with the Swappable Control System video. The issue is that when i press play, instead of the enemies following me, i get a null reference exception error. Also sorry for not taking a screeshot, its not working.


Welcome to the community. Check to make sure that all of your enemies have the fighter component attached. Also, check that you have the player tag set on the player.

Thanks! It was missing the fighter component.

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

Privacy & Terms