My code is identical to Rick’s and yet I get this error message.
I tried adding a bit more code, hoping it would fix itself, but it will still refer to the same line containing .velocity.
I have tried closing Unity to see if that fixes it but no dice. Any guesses?