My force is sometimes different

I am doing 2D platformer.

My jump is normal, but after some time next jump is just twice larger. Dont know why. It kinda broke the good feeling of non buggy game. I can update unity if that would help.


if (Input.GetKeyDown(KeyCode.Space) && scriptGroundCheck.isGrounded == true)
    rb.velocity = new Vector2(rb.velocity.x, jumpStrenght * Time.deltaTime);
    scriptGroundCheck.isGrounded = false;

Thanks for your time.

I see you have a confusion about when to use Time.deltaTime. In your case, you are directly modifying the velocity property of a RigidBody so you should not use Time.deltaTime at all. Just delete it.

(After deleting it, make sure you lower jumpStrenght, otherwise your player probably jump to the sky)