Help!!!! Unassignedreferenceexception

I have a problem what should I do? this is my code I want it to add force to it but it won’t move because of the error 4423804--403588--2.PNG

add

void Awake(){
  Rb = GetComponent<Rigidbody>();
}

or assign it in inspector (as it’s written in the error text)

1 Like

THank you!!!