Search Issue Tracker

Fixed

Fixed in 2020.3.40f1, 2021.3.13f1, 2022.1.16f1, 2022.2.0b8, 2023.1.0a10

Votes

0

Found in

2023.1.0a1

Issue ID

UUM-1158

Regression

No

In WebGL Player “Default Cursor” resets to system default cursor when leaving UI Document which sets a custom cursor

--

-

How to reproduce:
1. Open the user’s attached “UI Tookit theme bug.zip” project
2. Open the “SampleScene” Scene
3. Switch to WebGL platform and “Run And Build”
4. In the Player hover over the green square on the left
5. Move the cursor away from the square

Expected result: The cursor stays the same as selected in Player Settings “Default Cursor”
Actual result: The cursor becomes the system default one

Reproducible with: 2021.2.7f1, 2022.1.0b2
Could not test with: 2019.4.34f1, 2020.3.25f1 (Errors in the Console)

Notes:
- To see expected result enter the Play Mode
- Issue is not present in standalone Player
- Removing “cursor: url('project://database/Assets/Arrow.png?fileID=2800000&guid=636da000faceea041a4d58b5fd7bb2c2&type=3#Arrow');” from “theme1.uss” gives the expected result

  1. Resolution Note (fix version 2020.3.40f1):

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.