GUI.PasswordField display password while editing !!!

Hello,

I am developing game and i want password from user. So i have used GUI.PasswordField() for password field but some thing wrong when i tap on password field and i m trying to enter password t shows me what i m entering … such a serious issue.

EDIT : My code for passwordField
password = GUI.PasswordField (Rect (((Screen.width/2)-150), 320, 300, 50), password,“*”[0], 300);

This issue is occur in iPhone !!!

can anybody help me ???

Thanks in advance.

This is a Unity issue. Here is some material related to it.

http://forum.unity3d.com/threads/65337-GUI.PasswordField-issue (includes some solution code)
Password field shows password when active on iPhone - Questions & Answers - Unity Discussions

And if that doesn’t help, keep looking.

And more on here …

Is GUI.PasswordField buggered ? ... iPad / iPhone - Questions & Answers - Unity Discussions (includes some solution code)