2018.2.17 OnTriggerEnter2D not working

I’ve doubled and tripled checked the spelling of the function. My OnTriggerEnter2D is never being called. I’ve tried changing the Rigidbody to Kinematic and Dynamic with no change.

Here is the inspector showing two objects with Box Collider 2D. The player also has a Rigidbody 2D.

Player:


Grass:
134088-grassinfo.png
Grass Script:

using UnityEngine;
using System.Collections;

public class LongGrass : MonoBehaviour {

    public BiomeList grassType;

    private GameManager gm;

	void Start () {
        //gm = GameObject.FindGameObjectWithTag("GameManager").GetComponent<GameManager>();
	}
	
	void Update () {
	    
	}

    void OnTriggerEnter2D(Collider2D col)
    {
        Debug.Log("HERE I AM");
    }
}

Following a tutorial (see

[3]), the player moves with Vector3.Lerp. Which maybe doesn't trigger?




What am I missing? Why isn't the trigger calling the function?


  
  
  [3]: https://github.com/StormBurpee/Unity_Pokemon/blob/master/Assets/Scripts/Player/PlayerMovement.cs

Check simulated on the Rigidbody. You can set the gravity scale to 0 if need be.

BRO THANK YOU