My player is not staying on the ground on which i have applied character controller instead it’s height keep getting increased as soon as it hits another object please help

Okay i’ll help you my guy, you must have a Rigidbody component added on to your character, and gravity enabled. If that doesn’t work, i’ll need more information, like a screen shot or something.

okay this was the solution it might someone help someday… If you check Edit > Project Settings > Physics, check the ‘y’ value of the Gravity. -9.81 is a good setting (mimicing Earth’s gravity). My player would go up hills but then not back down, and would start floating upwards if I jumped while on a slope, or if I went up a particularly steep area. I solved this by ticking the ‘Is Walking’ box on my First Person Controller, and setting the Gravity Multiplier to ‘Apply Root Motion’ box is also unchecked.