Search Issue Tracker

Fixed

Fixed in 2021.3.34f1, 2022.3.16f1, 2023.2.0b18, 2023.3.0a14

Votes

37

Found in

2021.3.29f1

Issue ID

UUM-46718

Regression

No

Sometimes the wrong image is displayed when using Cursor.SetCursor in software mode

--

-

Reproduction steps:
1. Open the attached project “BadCursor”
2. Open Scene “Assets/Scenes/Initialization.unity”
3. Enter the Play Mode
4. Press T to start the test
5. Wait and observe the Game view (pay attention to the cursor and the “Active Cur Texture” displayed in the bottom right corner)

Expected result: Both “Active Cur Texture” and the cursor always have the same image
Actual result: Sometimes the “Active Cur Texture” and the cursor don’t have a matching image

Reproducible with: 2021.3.29f1, 2022.3.7f1, 2023.1.8f1, 2023.2.0b4

Reproducible on: Windows 11
Not reproducible on: No other environment tested

Notes:
- Alternatively, it is viable from time to time to pause the test by pressing P and then load all cursors by pressing L. When everything is loaded, go through all cursors by pressing the arrow keys. If no differences are seen then press R to resume the test
- Reproduction is not consistent where by just waiting it might take 5-10 minutes on average and with alternative it can take about 5 reloads of all cursors

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.