Help character getting stuck and weirdly drifting along the Y axis specifically only when running game in standalone

Hey my character for my game has been working perfectly fine up until ive started testing my game as a standalone and now specifically along the y axis mostly when moving to the left or right my character gets stuck on nothing and wont move or starts to drift slowly in that direction when no longer holding down the input for left or right, ive been trying to get my head around it but have not found any solutions any help or advice would be great !!