@Linus K , Welcome to Microsoft Q&A, as reza suggested, you could define a body for the problem to solve the problem.
private void OnControllerColliderHit(ControllerColliderHit hit)
{
}
Best Regards,
Jack
If the answer is the right solution, please click "Accept Answer" and upvote it.If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.