Closed tehsquidge closed 1 year ago
I've done a bit more testing and I've found that this commit caused the regression: https://github.com/godotengine/godot/commit/3f8830ec50ba349bed473fd55f7cbe77d266e0fa
I compiled the latest 3.5 branch for web and the problem persists. I then recompiled the 3.5 branch with that commit reverted and the cursor appears correctly.
I'm feeling brave so I may have a go at seeing if I can understand why this happens.
Fixed in 3.5.2
with cherry-pick of https://github.com/godotengine/godot/pull/67044
Godot version
3.5.1
System information
Linux. OpenGL ES 2.0 Renderer: AMD Radeon RX 6700 XT (navi22, LLVM 14.0.6, DRM 3.48, 6.0.2-arch1-1)
Issue description
The custom mouse cursor works when running the project as a native program but it does not work when exporting to HTML5. I have tested the HTML5 build across Linux/Mac/Windows in Firefox and Chrome and the problem is consistent.
The cursor simply is not replaced. A normal cursor is used instead.
This is my settings for a custom cursor:
From my own testing it seems this issue was introduced in 3.5-RC6
Steps to reproduce
Minimal reproduction project
HTMLMouseCursorTest.zip