Hello, I have already made a topic few months ago for a mouse and cursor lock problem in Chrome/Canary/Firefox and only one of them has been fixed by the web browser vendors. Like the Web Player deadline is started on Firefox, i really want to see these issues fixed for the webGL because for my FPS, these problems are important. Bug 1 : In google chrome or canary, press tab to lock the cursor and use your mouse scroll without moving your mouse and after move your mouse a bit, you can see that the camera rotation change. Everything work when the cursor is not locked. Everything is fine in firefox. Bug 2 : In google Canary ,if you use the mouse scroll foward or backward when the cursor is locked, you only get negative value. Work well when the cursor is not locked. Everything is actually fine in Google Chrome and firefox. Press TAB to lock the cursor and use your mouse scroll and see the Scroll Val below. Bug 3 : In firefox , when you unlock the cursor (Cursor.lockState = CursorLockMode.None; and Cursor.visible = true, the camera rotate on the left if your cursor was on the left side before the lock (same for the right,up down). Bug not present in google chrome/canary. Move your cursor on the left or right and play with your tab button to test. Tested on : Google chrome 56.0.2924.87 Google Canary 59.0.3033.0 Firefox 51.0.1 WebGL test link : http://www.asr-games.net/WebGLProblem/ WebGL source project : http://www.asr-games.net/WebGLProblem.zip If Marco-Trivellato or Schubkraft can take a look. Thank you Have a good day.
I could repro number 2 (but the reverse, can only get positive values in locked cursor mode. Filed a bug with us but will probably be a Chrome thing for Google to fix. Will try to look at the rest later again. Ideally you'd file them as individual bug reports and ping case numbers here.
For info : Bug 1 : Thanks for reporting the issue. We have been able to reproduce this bug and have sent it for resolution with our developers. We highly appreciate your contribution. If you have further questions, feel free to contact us. Bug 2 : Thanks for reporting the issue. We have been able to reproduce this bug and have sent it for resolution with our developers. We highly appreciate your contribution. If you have further questions, feel free to contact us. Bug 3 : Thanks for reporting the issue. This is no longer reproducible in our current beta release (5.6) which you can find here: http://unity3d.com/unity/beta/ . Could you download it to make sure that the issue is fixed in there for you too? We highly appreciate your contribution. If you have further questions, feel free to contact us.
I don't know if the unity staff have a direct contact with the google team and like i don't have seen any new bug report on the Chromium bug report these days,I have open 2 case myself : Bug 1 : https://bugs.chromium.org/p/chromium/issues/detail?id=701970 Bug 2 : https://bugs.chromium.org/p/chromium/issues/detail?id=701965
Hello, Can you move foward with google with the bug 1 : https://bugs.chromium.org/p/chromium/issues/detail?id=701970 because 5 months after, it's still the same and it's a big problem for an fps game. Thank you.
https://bugs.chromium.org/p/chromium/issues/detail?id=701970 Yet no update from google's side even after months, could someone from unity technologies bump them up.
Hello, This bug on firefox is still present on the unity version 5.6.3p4 It was fixed in the 5.6 release but it is back now. Thank you.
@Marco-Trivellato Can you follow this bug with the google team ? https://bugs.chromium.org/p/chromium/issues/detail?id=701970#c22 Thank you.
For the bug 1, i'm not sure that the bug come from chrome at 100%, after an answer from the google team,i have tested a webgl game not build with unity and it do not have the mouse scroll problem ==> https://kripken.github.io/BananaBread/cube2/bb.html (click escape => remove bot when the bot shot you (annoying for test))
It appears Firefox sends a mouse move event on cursor unlock for some reason. We are going to workaround it.
I don't have a Mac sorry but in the post issue (https://bugs.chromium.org/p/chromium/issues/detail?id=701970#c22), it seem that they can't repro it on Mac because the implementation is not the same. Please take a look because changing weapon by using the mouse scroll is really not confortable because of this bug. Thank you