#Dash input issue in game build

1 messages · Page 1 of 1 (latest)

mental pewter
#

I posted this in the community forums on the Unity website, and I might as well post it here as well.

I am working on a top-down twin stick action shooter where the character is able to dash in the direction they are moving. The dash input works as intended when running in the editor, but when i build the game in both Windows and Linux, the dash doesn’t work when I press the input on the first try. It only works on the second try.

I am using a Character Controller and am calling on this coroutine when the button is pressed:

slender yarrow
#

You didn't actually share the relevant part of the code, which is the input handling and surrounding context. Please share the full script. And do so in a nicer way

#

!code

small flumeBOT