Mouse Input doesn't work on Internet Explorer 8

Hi,

We have a very strange problem. Mouse input doesn’t work when published, uploaded to our website and viewed on IE8. It happens in all our applications, you can try this one for instance:

http://www.tetravol.com/tetravol/clients/villamare/

On IE8, both on XP and Vista, the buttons don’t work. Chrome, Safari and Firefox work correctly. And even more strange, if we open the same file not from the website but from the local hard drive, it does work on IE8.

The functions that don’t work are Input.GetAxis(“Mouse X”), InputGetMouseUp(0), and others.

Does this happen to anyone else?

Thanks,

Yes! This happens to me on Windows 7 too.

I noticed that IE didn’t want to run web player at all when I was on Vista as well.

If anyone has a solution to this, let us know. It would be a shame to lose users because they are on IE.

Guys,

This is not a problem we have come across. Can you submit a bug to us and if possible send in the project folder so we can understand more exactly what the game code is doing.

Thanks,
Graham

Oddly enough, now that you ask, it seems to be working fine. I am using IE 8 32-bit, by the way.

I have this problem as well it’s fairly reproducable here, it only occurs on published websites to a different domain.

It’s related to IE security policy and whatever the Unity plugin is doing (or thats my best guess anyway).

I did submit a bug for this at this few weeks back with bugID: 307603

Since posting it I’ve used other peoples IE8 versions and had it work fine, so it’s a very strange bug.

Hi, same problem here - its very odd
I have 2 machines both windows 7 64 OS both with same versions of IE8 and my app works on one and not the other - everything works but mouse input to the game - I can drag GUI items on the broken one but mouse look isnt working.

Both machines have the same version of the web player installed also.
hmmmm

Hi - I just tried hector78’s example and it works on my ‘good’ windows 7 box but not the other one - I’ll dig about to see whats different between the 2 machines

Hi, some conclusions on this

it appears that if you have the Unity IDE running on the machine then the mouse wont work in the web player. If i reboot the machine all is fine again. As soon as I startup Unity the mouse stops working again in the webplayer. Odd - but it seems to be reproducable quite reliably

Hello, we are seeing the same behavior in IE8 on 64bit Windows 7. No mouse, but keyboard works. Works fine in Firefox.
D

Windows 7 32bit here and the mouse works fine in your villamare app with IE8 here on both our systems.

Hey Guys!

Any news, fixes or workarounds for this bug? We have the same problem on Win XP (32) SP3, IE 8.0 and Unity Webplayer 2.6.1f3.

Are there an active Ticket in the Unity Bugtracking system for this issue?

In our case we use the methods Input.GetKey(KeyCode.Mouse1) and Input.GetAxis(“…”) to look around with the camera when the right mouse button is down and the user moves the mouse. As said before this won’t work in IE8. But we detect it works for a short time when doubleclick in the Unity Webplayer window directly before press down the right mouse button. Strange.

Can anyone confirm this behaviour?

I also have this behavior with IE. Having the Unity IDE open will often cause IE Unity webplayer to not respond to mouse movement or clicks. It also sometimes happens when I open two Unity tabs in IE.

EXCEPT for Unity GUI elements like buttons and textfields, which continue to respond perfectly well all the time. It’s similar to a Safari problem where having Unity over Flash will have Flash steal the mouse clicks of everything except Unity GUI stuff. Why Unity GUI would be ok but not Input.GetMouseXXXXX baffles me, but there you go.

Hi all, Judging by the status of the bug report mentioned above (case 307603) This issue has been fixed and will go live with the next update.

Hi,

And some idea when next update come out ?

Thx you!

Hi,

Thanks to everyone who has contributed in fixing this problem.

I must say I’m relieved to know it only happens if you have the Unity IDE open. That means the bug won’t bother my clients. But anyway, it’s great to know it has been fixed.

Unity rocks! I just can’t wait until the next update.
Best regards,

In IE8 the mouse controls would only activate GUI stuff, not movement or object selection.

I had the unity editor open (2.61) and it did not work correctly.

Oddly, I opened the file locally, on the same browser at the same time (web ver. not working) and
the local version works fine.

I close the Unity Editor, and it longer to load, and walla, works fine now.
Worked fine in Firefox even with Unity3D editor open, so not sure what to say…

I’m having weird mouse issues with IE as well. I’m developing on a Mac and test for IE using Parallels desktop. My end user reported this issue to me but she doesn’t have the IDE running at the same time and is on a PC. From my end, I can get it to work locally without the IDE running. And in Firefox, it’s OK. The project was done in Unity 2.61 and my client had tried it with the 2.6 web player at first but even after updating to the current web player this problem still exists.

(link removed. see more recent post below for updated link)

Anyone encounter this issue still? :frowning:

Hey @4amVie

I just tested with IE 9 and IE 8 on Windows 7 32-bit and 64-bit running the link you posted (http://dl.dropbox.com/u/1015663/heart3D/anatomy.html) and all input is recognised and responds appropriately.

Please submit a bug on this so we can investigate further for you.

Cheers! :slight_smile:

Very strange - I tested using my PC (Dell M6500) on IE8 running Unity web player 2.6 and it is working.
I asked my client to try again and she couldn’t reproduce the error – the frustrating thing is that she recently changed her laptop and doesn’t remember the specs for her old one other than it was a Toshiba, so I can’t give any more details at this time.

I can still reproduce the error on my Mac when using IE8 through Parallels Desktop… will submit a bug report for the Mac/IE8 case.

Thanks for testing it for me @CreativeChris.

[update]
Got a note about this issue saying that my issue might be fixed if I update to the newer release (now 3.4), but I get the same issue of mouse drag (both left and right ) not being registered in IE8.
Button clicks are fine, it’s the left mouse drag to rotate and right mouse drag to pan that doesn’t register. ~.~

updated temp link: http://cubetest.bcit.ca/sites/instructional/health/3DHeart/normalv1-7/beating_heart/index.html

I also tried using a generic camera orbit script from sample files and same deal. I can get around by just using keyboard controls, but I’d really like to get to the bottom of this…

Thanks.

I don’t know if I’m dragging up an old thread here or if this is even the same issue but my son who’s 8 is trying to use unity to make a game however when he is in the program the mouse doesn’t show on the screen so he cannot click things, drag and drop etc? Is this the same issue here? Is there a fix?