I am new to unity and facing this issue, while developing game for android i notice that game will automatically set quality setting according to hardware of device, so i have a jump script while pressing space a cube will jump, i have change the quality settings to fastest the height on which it jump is less, then i change quality settings to fantastic its getting more heigt as compare to the height which was in fastest, so if i run this on different hardware of android i will get different jump height and gameplay on different devices, how to resolve this, and is this a feature of unity or a bug.
Here is the link where you can download the unity package that i have created for testing
Box open “Bouncing Test Quality” scene file, the cube will bounce when we press space key, change quality settings at run time and you can notice different behavior.
I am using time.deltatime you can download the project from the link and have a look.
– stbluedefinatly sounds like a time thing. are you using fixedUpdate? and time.fixedDeltaTime. may help to be consistant
– KlaraxAfter changing update with fixedupdate its seems to working fine , so what is better i always have to use fixedupdate, since according to unity doc "FixedUpdate should be used instead of Update when dealing with Rigidbody" . Also if i have a platform like infinite runners have i can see a lag while using fixedupdate. so is there is any other solution other than fixedupdate
– stblueAlso while updating sometime touch/input is not detected this must be because fixedupdate is called at certain period of time. So is there is any other solution solution.
– stblue