Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Screen cropped and pointer position mismatch bug

Discussion in 'macOS' started by Tx, Apr 17, 2018.

  1. Tx

    Tx

    Joined:
    Jul 4, 2012
    Posts:
    108
    Hello,
    one of our users reported a strange bug that we introduced upgrading our game to the Unity 2017 version.
    The user, that owns a macOS Sierra (updated to last release 10.12.6) sees the title bar that covers part of the game screen and when he clicks the mouse the reported position has the same offset of the bar (down) and a he says it's offseted also to right. We can't reproduce the bug on our machine.
    I attach a screenshot.
    The previous build using Unity version 5.6.4p3 worked fine for this user.
    We are experiencing the bug on version 2017.2.0f3.
    How can we fix this?
     

    Attached Files:

  2. Tx

    Tx

    Joined:
    Jul 4, 2012
    Posts:
    108
    Sorry, just a fix version that has bug is the 2017.2.2p3.
    This is an engine bug. Does someone ship games for Mac, ever? lol
     
  3. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
    I do. But I haven't shipped any with 2017.2. :)

    Thank you for following up with the outcome.
     
  4. Tx

    Tx

    Joined:
    Jul 4, 2012
    Posts:
    108
    My coworker fixed the problem of the user. The issue was in the flag "retina support" that was checked on (by default maybe?). Just removing that and with the same exact source the problem was fixed.
    Anyone in Unity reading?
     
  5. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
    Probably not. You should file a bug report.