OnTriggerEnter help

I have a question, i have a basic jump on trigger script, if my rigidbody enters the trigger, it will jump, and it works but the problem i have is that on start, the OnTriggerEnter is called automatically without collision, what causes that? And how can i avoid it?

Change your OnTriggerEnter method like this…

void OnTriggerEnter(Collider col)
{
      Debug.Log(col.name);
      //the rest of your code here
}

This will not fix the problem, but it will tell you what collider triggered this. With that information, you should be able to figure out why this is happening.

Hope this helps,
-Larry