Hello everyone,
Mouse cursor not visible in video, recorded using Unity Recorder. Is there any way to visible the cursor? Is this a bug or by design like this?
Hey,
The solution is to use a software cursor as outlined here:
https://discussions.unity.com/t/859044
Hope this fixes your problem.
A bit of necromancy, but in case anyone else has the same problem. Setting the cursor visible alone did not work for me.
I had to add a texture for a cursor to the project, then select Edit → Project Settings, select Player, then Default Cursor, click the empty box to the right, then select my cursor.
Then I made a script called CursorShow and put it on an object in the scene. This cursor is just for the editor and just for recording.
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
public class CursorShow : MonoBehaviour
{
#if UNITY_EDITOR
private void Start()
{
Cursor.visible = true;
Cursor.SetCursor(PlayerSettings.defaultCursor, Vector2.zero, CursorMode.ForceSoftware);
}
#endif
}
Good tip for making sure default cursor is set in Player settings.
Cannot make it work unfortunately. Once I set “CursorMode.ForceSoftware” I don’t see cursor at all in the Game view. If changed to “CursorMode.Auto” I see my custom cursor, however it is still not recorded by Unity Recorder.