I’ve encountered a significant issue with the ClickDetector.CursorIcon property in Roblox Studio. When I set the CursorIcon property, it works as expected during a solo play session. However, the problem arises when I leave the studio session and rejoin; the CursorIcon property resets to a blank string every time. This behavior forces developers to implement a workaround by setting the CursorIcon through a local script each time a player joins the game. Not only does this approach seem unnecessary as this is a bug on Roblox’s end, but it can also be performance-intensive.
This issue seems to have been present for quite some time so it’s surprising that it hasn’t yet been fixed. It doesn’t seem too complicated to fix so I’d really appreciate if this could be looked into.
Going to mention @TheGamer101 here as they initially announced this new property.
Reproduction Steps:
- Open a game in Roblox Studio.
- Add a ClickDetector to an object.
- Set the CursorIcon property of the ClickDetector to any valid image asset.
- Play the game in solo mode to confirm the CursorIcon appears as expected.
- Leave the studio session and then rejoin.
- Observe that the CursorIcon property has reset to a blank string.
Expected Behavior:
The CursorIcon property should retain its value between studio sessions, eliminating the need for a local script workaround to set it dynamically each time a player joins.