I love the Unity Recorder, the only issue for me is that it for me right now isn’t capturing the cursor.
Does anyone know how to get the recorder to include the cursor?
I found [an old thread]( Unity Recorder update page-2) that said to put the collection method to “Game” but I don’t have that option in the Recorder-menu in Unity 2020.3.6f. (LTS). I also added the script the unity-employee in the thread wrote one could try to add the mouse. I added the script to a gameobject that runs on start, but it’s not making the recorder record the mouse either.
Does anyone know how to go about? I’ve found no other resources on this.
Cursor.SetCursor() didn’t work for me. Hopefully I’m doing something wrong. I’ve found no other resources too. @HuldaGnodima let me know if you’ve found any solution please.
#if UNITY_EDITOR
using UnityEditor;
#endif
public class cursorVisible : MonoBehaviour
{
void Start()
{
#if UNITY_EDITOR
Cursor.SetCursor(PlayerSettings.defaultCursor, Vector2.zero, CursorMode.ForceSoftware);
#endif
}
}
I actually didn’t manage to get it to work unfortunately. Eventually I stopped looking for a fix. But I would love to get it to work, I’ll have a look around again. If you find a solution, please share. I will absolutely do the same!
Unfortunately not working for me. 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.
Unity 2022.3.8, HDRP, Unity Recorder 4.0.1
UPDATE: CursorMode.ForceSoftware doesn’t work with New Input System.