I need to set Mouse Cursor to “CursorMode.ForceSoftware” because it’s the only way to force Unity Recorder to record Cursor in output video. But it doesn’t display Cursor at all when using New Input System (works fine with the old one). “CursorMode.Auto” works normally, but ignored by Unity Recorder.
It seems that there are 2 solutions:
- Make “CursorMode.ForceSoftware” display and update Mouse Cursor.
- Add checkbox to Unity Recorder to record Mouse Cursor even if it’s set to “CursorMode.Auto”.
Could you please Unity Recorder team get in touch with Input System team and agree on some solution?
Currently there is no way to record an video through Unity Recorder (which has some advantages, like fixed frame rate) while using “New” Input System, which is a norm now.
I’ve tried to make my own cursor from by moving game object with cursor sprite, just for the purpose of recording vide. But it doesn’t update it’s position fast enough despite of using Update, FixeUpdate or LateUpdate.
private void FixedUpdate()
{
#if UNITY_EDITOR
Vector2 mousePosition = Mouse.current.position.ReadValue();
Vector3 worldPosition = ACore_CameraManager.activeCamera.ScreenToWorldPoint(new Vector3(mousePosition.x, mousePosition.y, ACore_CameraManager.activeCamera.nearClipPlane + 0.05f));
textureGameObject.transform.position = worldPosition;
textureGameObject.transform.forward = ACore_CameraManager.activeCamera.transform.forward;
#endif
}