It’s very strange. I don’t get any errors, and the Alt Positive Button (left ctrl) works just fine. I’m on win xp 64 if that makes a difference. I prefer to blame all my problems on the OS for consistency.
Ever more mysterious…
It works fine if I don’t break out the game preview window into a separate window. As soon as I pull it into it’s own window, I lose the mouse.
If I detach my game window GetButtonDown does not detect anything, but does if I re-attach it.
Worryingly I just uploaded a test and a friend of mine could not click (although I can??) he picked up the unity web player update. He can use CTRL but not click.
He also can no longer click on a version built with 2.5?
I’ve found this in intermittent. I’ve been trying to find a pattern but can’t. It’s even worked on a web-player on my PC but not when I’ve viewed it online??
Tried going to Blurst and found I had the same issue with their games.
The only consistant pattern I have is it does not work when I un-dock the game window.
I am on a 32-bit Windows XP machine. For the people also having this problem, what platform are you on? Also, anyone submit a bug report yet? Not being able to preview the game on my second monitor or at the very least in a separate window is pretty annoying.
I’m currently using Input.GetMouseButtonDown(0) for Mouse 0 (ie manually passing the “0” as an argument). It seems to work fine, so if you’re looking for a temporary solution that might work!
Ah, I wrote Input.GetMouseButtonDown() just to mean the method in general, my actual code for detecting left clicks is “Input.GetMouseButtonDown(0)”
As has been mentioned earlier in the thread, it seems to be a problem with detaching the Game view into a separate window. I’ve since re-docked it into the main Unity window and mouse events get picked up as normal - bit of a pain but I can live with it.
I can also confirm this is a 2.6 problem. Made no modifications to the code. Updated from 2.5 to 2.6 and encountered this problem. Bug report submitted but no response yet.