"W" key not working in Unity3D Mac OS X

I just installed Unity3D on Mac OS X 10.5.8, but I noticed that W key is not working in the Unity editor (I can't move well the viewport camera with WASD keys). Also, when compiling a game (e.g. Bootcamp demo), the W key is not working too.

How is it possible? Any clue about this?

Your "W" key is probably damaged, try using it to write or just test it in other programs. if you cant solve the problem just change the WASD keys for the arrows:

UpArrow. DownArrow. LeftArrow. RightArrow.

Good luck Mr. Drayton

Never mind, this all got solved by upgrading from Unity 3.1 to 3.2. Still I can't figure out what happened before, since all keys were set to default (no keys were swapped).

CapsLock depressed? (I've remapped the capslock to be another control key.)

I have the same problem. The “W” key is swapped with the “Z” key, so W does nothing while Z moves the character forward. I also noticed that the numeric digits keys don’t work.
It happens in the Unity Editor but also with every web-player demo or game.

I have a MacBook Pro with Mac OS X Snow Leopard 10.6.8 and Unity 3.5.0f5.

Any hint on how to fix this?

I’ve posted a solution that worked for me in this question.