on the page Unity - Scripting API: Rigidbody.constraints
The following is incorrect
"By default this is RigidbodyConstraints.FreezeNone, allowing rotation and movement along all axes. "
The Correct Code is RigidbodyConstraints.None
Using FreezeNone will give you a unity bugged error that says you are not pointing to an instance of an object, which will just confuse you. As usual with that general catch all error.