$ 0 0 Cutting and pasting your exact code into a Unity project here (4.3.4) works exactly as expected.