Cursor.lockState Issue

Sometime in the last year or so, it seems the behavior of Cursor.lockState has changed.

I used to be able to lock the cursor in the center of the screen and have it still be visible.
Now, the cursor becomes invisible whenever it’s locked, regardless of the visible setting.

For testing purposes, it’s convenient to have a camera controlled by the mouse, and still have the cursor centered and be able to click things. When the cursor is invisible, this makes it hard to do. Especially when trying to click small moving targets.

I tried using an aim point that is along the z-axis of the camera, but this doesn’t work either, because the cursor isn’t locked perfectly in the center. It’s close, but not quite there. This causes the aim point and the cursor to be misaligned by about a half inch (on my screen).

When the cursor was still visible, it wasn’t a big deal. Now it’s become extremely annoying.

Solutions?

@Desprez even if the cursor is becoming invisible in the lockState, you can always add your own custom cursor to test things out. Just create a UI Image, Reset it , resize it according to you and select any cursor png from online , since UI rotates according to your camera , you can test things out!