I have a primitive scene, plane, capsule and its script that moves left to right, HDRP 6000
public Transform capsule;
public float capsuleSpeed = 4f;
private void Update(){
float _horizontal = Input.GetAxisRaw("Horizontal");
capsule.position += new Vector3(_horizontal * capsuleSpeed * Time.deltaTime, 0f, 0f);
}
at the same time I get strong frame breaks and fps jumps.
vertical sync is on, the scene is primitive, where do such loads and jumps come from, how can I avoid this?
at the moment all games work fine and there are no breaks or jumps anywhere, but in unity there are such problems, what could it be, how can I get rid of it?