2issues: Xbox Controller axis returns value that's constantly changing and a build problem.

two issues: even if I keep joystick (left/right analog stick, left/right trigger) still (for example right trigger pressed to the max) the value that's returned keeps shifting. It makes a difference (when it's multiplied by hundreds or thousands, as I need it) cause it makes the controlled object twitch. should that be normal? that, even if the Trigger is pressed down, it returns shifting values?

another thing is I have a build problem.

previous version of the script was making the character respond to buttons. after that, I changed the script and started to play around with axis. triggers, analog sticks. if I run it in editor, it's fine, but if I make a build, it always gives me the game which responds to buttons - not analog sticks/triggers. I'm sure there isn't any button-code around anymore. Any ideas what's going on?

What kind of change in the values are you seeing? It is very common for joysticks to report slightly varying values for analogue inputs - and you should design your game with some tolerance for that in mind.

Owww! Switching to FixedUpdate from Update fixed the jerkiness. I should have thought about it, as it's physical simulation.

it doesn't explain the fail builds though. Any take on that? Hopefully it's something as silly as that as well.