Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug WebGL Unity 2019.3.13f1 4k retina EventSystem/GraphicRaycaster wrong position

Discussion in 'UGUI & TextMesh Pro' started by DimaHubenkoGamepoint, May 21, 2020.

  1. DimaHubenkoGamepoint

    DimaHubenkoGamepoint

    Joined:
    May 16, 2018
    Posts:
    20
    So we have an app that has a canvas 1000x600. We set this size on our website and everything works fine in Unity 2018.4.11f1.

    We are currently migrating to Unity 2019.3 and there was a retina display fix. Now, when you open our website on any 4k display the game shows Screen.width = 2000 instead of 1000 (as before). It is pretty obvious that is is good - game now shows correct pixels count. BUT now graphic raycaster seem to calculate the position incorrect. I didn't find any ability to report a bug on unity issue tracker. What do I do: