ScrollWheel Input not detected in script

Hi

I'm not getting any ScrollWheel input, so I attached this barebones script to the main camera to find the problem, but still don't get any scroll input reported.

function Update () {
if (Input.GetAxis("Mouse ScrollWheel") != 0)
{
    Debug.Log("Scroll");
}

if (Input.GetMouseButtonDown (0)) 
{
    Debug.Log("Left mouse button pressed!");
}

}

The button press is reported, so I know the script is attached and running OK, and has no compile errors.

The default ScrollWheel input is defined correctly in the Input Manager: Mouse ScrollWheel ... Mouse Movement 3rd axis

I'm on OSX 10.6, Unity 2.6.

Thanks for any clues

FourSheds

Weird. Works fine when I run it here, so It's either your project's settings (Which seem to be fine as you describe them), or your mouse :)

Seriously, try opening a new empty Unity project and test it there. If it still won't work - try switching the mouse. Is it some kind of weird Evil-Coder-Macro-Do-It-All mouse with fancy drivers? Track pad? Standard mouse?

The problem is with Safari on MacOSX. If you try same code on web player plugin with Firefox or Chrome on Mac, it works just fine.

I don’t know why is that, and if there is some fix for Safari