Mouse input offset problem in web fullscreen

Hi,

I am having an annoying case reproducing only on very certain PCs.
The problem is, once I go to fullscreen in the webplayer, all the gui buttons have an annoying y offset of input compared to the actual drawing.
So when I place the mouse cursor above a button, the click and hover is recognized only when the cursor points at about the middle of the button and until about half the button height below the actual button.
It as if the input rectangle is offset by about half the height of a button’s graphics.

This happens on a PC with XP, IE6, directx 9.0c, 1024x768 LCD (a few dozens of them with same hardware).

Since unity does input and graphics from 1 function call (e.g. “if (GUI.button(…))”, and it happens on all buttons, along all scenes, using several code solutions, I am wondering if this might be a weird unity issue.

In any case - did anybody encounter such an issue or have any solution suggestions for this?

(please note, that although this happens on specific hardware and software, it happens on dozens of the same PCs that have the exact same software installed and we need to be able to solve this for these PCs).

Lol, I actually have the same problem. Appearance wise, the image for the button is there but it’s collision area/hitbox seems to be the problem. In my case, my game is made for a 4:3 resolution. I’m also using a script to maintain aspect ratio. Whenever I change the resolution to 16:9, the hitbox is offset. Bugs the hell out of me and I don’t know how to fix it :frowning:

Same problem here…
The offset is clearly vertical and not horizontal…
My customer is asking me to fix it… but I can not…
Any word from Unity team ?

That word would not come here, but from correspondence through the bug report that you filed.

OK, Thank you, waiting for feedback from the bug report.

Bump.

Same issue. Does anyone has a trick to avoid having the problem ? (as it seems it can’t be solved properly)

No solution yet. I did find this though. It lets you disable the right click menu so fullscreen is basically disabled, hiding this bug forever.

http://unity3d.com/support/documentation/Manual/WebPlayerBehaviorTags.html

I’ ve got the same problem on my computer, but on the other computers at work everything is ok. Does anyone have found solution for this bug?

I posted my solution to this problem in another thread…but basically when I manually set the resolution (Screen.SetResolution) it worked fine. Even if you set it at the default webplayer’s fullscreen settings (600x450?).

Did this resolve anyone else’s problem?

-Smith

I sent a bug report and I need more info for the QA rep. If you’d like to post here or message me your specs (OS, CPU, GPU, etc) I can forward it the rep.

Thanks!

Hello,

Just a follow up, are users still experiencing this mouse offset problem with the latest 3.4 WebPlayer? @agent_smith kindly asked if anyone could reply with their machines specs, if people are happy to do this, can you please reply with the answers to these questions:

We need machine spec info such as OS, CPU, RAM and GPU?

Also which browser and the version?

Which WebPlayer game does this issue reproduce with?

Thanks,
Chris

Hi
I still have the problem with the 3.4 Webplayer
Windows 7 Professionnel 64-bit (6.1, Build 7600) (7600.win7_gdr.110408-1633)
Intel(R) Core™ i7 CPU 860 @ 2.80GHz (8 CPUs), ~2.8GHz
Memory: 8192MB RAM
NVIDIA GeForce GTX 460
Internet Explorer 8.0.7600.1685

The “game” is under NDA, I can not disclose it here.

I hope you can help, guys :expressionless:

SEEMS that the Y offset matches the window’s title bar height (GetWindowRect VS GetClientRect ?)

is this EVER going to be fixed ? I’m not a developer, just a concerned Tiger Woods online player who is amazed the problem has gone unrectified for about 4 months now.

hmmm… i also have the gtx460

Although I sent my specs to Chris in the bug submission; for everyone else here’s what I got:

Windows 7 Ultimate 64bit
Dual Core, Dual Opteron 265
4GBs ECC RAM
Nvidia GeForce GTX 580
DirectX 11

Google Chrome v14.0.835.126
Internet Explorer v9.0.8112.16421

Could this be with the GTX 480/580 family?

I agree with Granulated it’s been a VERY long time (nearly a half year!) and I still can’t play anything in full screen. :frowning:

Hello,

Thanks for providing details regarding hardware specs,

I have tested on NVIDIA GeForce GTX 460m just now and that didn’t provide a repro for me,

One more thing that I missed is display and fullscreen resolution, if you could post a reply showing what your screen resolution is on windowed and fullscreen that may help us narrow down this issue.

Thanks for your patience while we try to determine a repro case!

Hey Chris,

No repro… total bummer :frowning: As far as the window and full screen resolution it happened in all the ones I used… I can use the default settings for WebPlayer and it’ll happen. It’ll happen if I specify the resolutions for both window full screen to something not default as well.

Although I must say the GTX 460m (mobile card) is entirely different from the GTX 460/580 (Desktop cards). Is it possible to try one of our video cards?

Thanks!

Jordan

Hello,

Just an update regarding this,

We have the NVIDIA GeForce GTX 460 now in our office and I have ran some tests, unfortunately I have still not found a repro case for this issue, I have ran webplayers in IE 8 9, latest FF Chrome and no luck, so I tried setting different desktop resolutions and this didn’t seem to make any difference :frowning:

Does everyone have updated drivers to their 460 cards? I installed the drivers which came on a disk with the purchase of the GPU. Might be worth checking drivers are upto date?

Thanks!