Search Unity

Setting hardware mouse cursor in UWP builds not working properly

Discussion in 'Windows' started by Doghelmer, Aug 5, 2020.

  1. Doghelmer

    Doghelmer

    Joined:
    Aug 30, 2014
    Posts:
    120
    When I begin my UWP program, the cursor appears in hardware mode. However, when I use the Cursor.SetCursor function to change the cursor's texture, the cursor appears in software mode, even if I've set it to CursorMode.Auto. Oddly, if I set it back to my original cursor's texture, it appears in hardware mode again.

    I'd like for the cursor to remain in hardware mode consistently.

    Has anyone run into this issue?
     
    sean244 likes this.
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,675