Search Issue Tracker

Won't Fix



Found in







Issue ID




Mouse position does not match in-game mouse position in WebGL builds when zoom attribute is added to div "unityContainer" block



How to reproduce:
1. Open the attached project ("")
2. Open the repro scene ("SampleScene")
3. Build and run the WebGL build
4. Move the mouse around the scene
5. Confirm that the ray is following the mouse (in-game mouse position matches actual mouse position)
6. Apply "zoom" attribute to "unityContainer" div block
7. Move the mouse around the scene again

Expected results: The in-game mouse position matches actual mouse position
Actual results: The in-game mouse position does not match the actual mouse position

Reproducible with: 2017.4.29f1, 2018.4.2f1, 2019.1.7f1, 2019.2.0b6, 2019.3.0a6

1. Tested with Google Chrome (Version 75.0.3770.80 (Official Build) (64-bit)) and Microsoft Edge (Microsoft Edge 42.17134.1.0) browsers
2. Setting the zoom back to the default value (100%) fixes the issue

  1. Response avatar

    Resolution Note (fix version 2019.3):

    This is an edge case scenario that is not likely to affect many users.

Comments (18)

  1. 083c5e4cb792ea1230178512a5c2ce13?d=mm


    Aug 24, 2019 12:45

    Brilliant outlined data. I thank you about that. Most likely it will be exceptionally helpful for my future ventures. Might want to see some different posts on the same subject!

  2. 72f13661cd5bc1790e7eb5937a377dbd?d=mm


    Aug 20, 2019 10:23

    Your work is very good and I appreciate you and hopping for some more informative posts. Thank you for sharing great information to us.

  3. Efe79f65b219936f2d04856fe29b09ac?d=mm


    Aug 11, 2019 02:54

    Thanks for this, I thought I was the only one with mouse problem.

  4. 69632cee18eeebb27afe281cf169df14?d=mm


    Aug 05, 2019 04:22

    Great article, I unfortunately had some problems printing this article out, The print formatting looks a little screwed over, something you might want to look into.

  5. D3d9c6773be0966f309cf55e7cc1ef8d?d=mm


    Jul 30, 2019 06:10

    I am going to bookmark this website for future updates.

  6. 834467aeb2f15d1e260f4b6209d52939?d=mm


    Jul 15, 2019 10:25

    I have also faced the same thing on my Windows 7 system and since it is one of the most common problems that many users face, I will recommend you visit to get the required solutions for the fixing of such error.

  7. 67ca0e500374e3ff557dfbb672c572d1?d=mm


    Jun 22, 2019 07:11

    باکو یکی از بهترین کشورهایی برای مسافرت می باشد که اکثر مردم برای مسافرت به این کشور سفر می کنند و از جاهای دیدنی این کشور لذت می برندبلیط-هواپیما-باکو

  8. 91309587c8db6442fa44f393d52348fe?d=mm


    Jun 21, 2019 08:37

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.