ScreenPointToRay Doesn't Work

Guys i Wrote this code and i copied it from unity Guide and still not working
55840-screenpoint.png

Odd. I copied the same code from the manual and it seems to work fine. Try creating a completely new project and re-create the script and see if you get the same error. If so, it’s possible something is mucked up with your Unity install and you may have to reinstall.