Can't set the mass on a Rigidbody2D via script?

Hey guys - I’m having problems setting the mass value on a Rigidbody2D from any C# script. Its very easy to reproduce - simply attach either one of these scripts to a GameObject, and notice that the mass of the RigidBody2D component always remains at 1.

[RequireComponent(typeof(Rigidbody2D))]
public class TestRigidBody : MonoBehaviour
{
	void Start()
	{
		GetComponent<Rigidbody2D>().mass = 0.1f;
	}
}

or:

public class TestRigidBody : MonoBehaviour
{
	void Start()
	{
		Rigidbody2D newRigidBody = this.gameObject.AddComponent<Rigidbody2D>();
		newRigidBody.mass = 0.1f;
	}
}

Setting other parameters (gravity scale, drag, etc) works fine, but the mass never changes. Am I missing something amazingly obvious here?

Confirmed to be an issue by others on the forums - have submitted a bug.

I just tried this and it is working now. The “Mass” item in the Inspector doesn’t show the update when the change occurs, but if you select a different gameobject and then reselect the gameobject that should have had its mass changed you will notice that the mass value in the inspector will have changed.