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

Cursor.setCursor move the cursor

Discussion in 'Scripting' started by bluilisht, Dec 6, 2016.

  1. bluilisht

    bluilisht

    Joined:
    Dec 6, 2016
    Posts:
    9
    I use
    Code (CSharp):
    1. Cursor.SetCursor(null, Vector2.zero, CursorMode.Auto);
    to change the cursor texture, but somehow the code also made the mouse position to change.
     
  2. arzi42

    arzi42

    Joined:
    Sep 16, 2016
    Posts:
    12
    I have the same bug, happens only when the game view is on a secondary display on Windows 10. Reproes only on some of our PCs, not all all. Both where it reproes are on Lenovo Legion (Y720 and Y520). Unity 2017.1p3