Error in unity

i have error

NullReferenceException: Object reference not set to an instance of an object
RPG.Combat.Fighter.Hit () (at Assets/Scripts/Combat/Fighter.cs:46)

Paste in your Fighter.cs script and we’ll take a look. Be sure to mark line 46 with a ← as the system doesn’t number.

Privacy & Terms