Cursor effect Unity Editor

Hello all

Does anyone have this bug ?
Cursor that we change in the course is effecting the unity Editor while in play mode
The cursor from the game can somehow outside the bounds of game screen
change to be in inspector and hierarchy too and everywhere in the unity editor

If someone know how to fix it
please share

Hmmm… Are you using the new 2021 version? I hadn’t noticed an issue with the cursors in any of the clones I have in various versions, so I went ahead and downloaded 2021.1.3f and got the behavior you described. No idea, as of yet, how to solve it. Might be something to escalate to Unity’s Bug Tracker

Im using 2020.3.0f1 its LTS version

Hmmm… running a version in 2020.3.2f1 doesn’t yield the cursor issue.

Ok maybe i will upgrade to the latest 2020.3 and check , i saw they upgraded the LTS to 3.5f

Edited

Upgraded to 2020.3.5f1
And the problem is still there
I tried also Deleting library folder

So to fix it for anyone having this problem after talking with brian in discord

//Varaible in PlayerController
Rect ScreenWindow = new Rect(0,0,Screen.width, Screen.height);

//This Add first in the Update
if(!ScreenWindow.Contains(Input.mousePosition)) 
            {
                Cursor.SetCursor(null,Vector2.zero,CursorMode.Auto);
                return;
            }

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.