error CS1955

Hey im getting the cs1955 error but i cant figure out how to change my code (line 17/18 "Vector3) to make it work.

 public class PlayerController : MonoBehaviour
{
    [SerializeField] private Rigidbody _rb;
    [SerializeField] private float _speed = 5;
    private Vector3 _input;
   
   
    // Update is called once per frame
    void Update()
    {
        GatherInput();
    }
    void FixedUpdate() {
        Move();
    }
    void GatherInput() {
        _input = Vector3(Input.GetAxisRaw("Horizontal"),0,Input.GetAxisRaw("Vertical"));
    }
    void Move() {
        _rb.MovePosition(transform.position + transform.forward * _speed * Time.deltaTime);
    }
}

8157842–1060358–PlayerController.cs (666 Bytes)

People rarely memorize error codes, so always post the message.

However, line 17 you are setting it equal to a vector3, but you forgot the word “new” because you are declaring a new struct in this case.

= new Vector3

ahhh dang i totally missed that thank you so much!!