I just tested my game on another guys machine with him using Linux, and the same thing is happening for me. Except mine is even worse.
Not only does it show both the regular system cursor AND the custom cursor, my custom cursor is HUGE. On Windows my custom cursor is the size of a normal “white” 15 px X 15 px cursor (relatively small). In Linux, when my game runs, my custom cursor is the size of someone’s head in real life. It’s humongous lol.
Any ideas what’s cuasing this?
Not from the top of my head, sorry. Please file a bug report and add the minimal repro project to it. Ping the number here and I'll take a look at it.
I’m going to necro this thread, because the same issue happened in my Linux Mint 18 build on Unity 2017.3.
In my case the problem was that I set a custom cursor using Cursor.SetCursor(myTexture, hotspot, mode)
then in the same function on the next line of code I made the cursor visible and unlocked using:
Cursor.visible = true
Cursor.Lockstate = None
It seems that if you set the Cursor visible AFTER setting a custom cursor with set cursor, it makes the custom cursor AND the default cursor visible.
My simple fix was to set the Cursor visible and unlock it BEFORE setting the cursor texture, hotspot, and mode.
I was not using any of the automatic Mouse Events or Pointer events in my code.
Sorry for necroposting but, I've encountered a similar issue. Has anyone come up with a fix?
– pingFromHeaven