Open johngreedjr opened 6 years ago
https://answers.unity.com/questions/294079/unity-keydown-doesnt-always-register.html
so it's FixedUpdate
that is the issue for some people.. weird
Also worth noting- the first time I start the game the jump button never works on the controller. It's like you have to press it once for the code to start recognizing it. For example:
if (Input.GetButtonDown("Jump"))
{
print("jump button");
Jump();
}
that print statement never fires the first time I press jump. Strangely, it works on the keyboard the first time.
So the issue of it not working the first time doesn't occur in the Mac build.. so fuck this goose chase for now.
Sometimes jump just doesn’t work. Is this a grounding error or something else? It seems rare, perhaps something with
Update()
? Seems to, but it could be in my head, occur with the very first jump.