Player rotates immediately

Sounds like you’re using a Rigidbody which means your Character Controller is interacting with the world via the physics system which is probably why it’s rotating on its own.