So all of the sudden my enemies dont do anything when i attack or get in range. When i get in the range of an enemy, Unity is giving me a null reference on my fighter script for the GetIsInRange() function and when it calls it in update. Dont know exactly what just happened? any thoughts? I hadnt changed anything in those section. I wonder if it has to do with the progression SO attached to the units. Everything else seems to be working.
private bool GetIsInRange() { return Vector3.Distance(transform.position, target.transform.position) < currentWeapon.GetWeaponRange(); }