It’s not a problem with missing collider or rigidbody. Same code same settings on objects, one box with rigidbody and collider that’s a trigger and player walking into it with collider (no trigger or rigidbody), same layer just to be sure but it makes no difference. I made a demo few months back with that simple setup works just fine, but now in my new project it no longer works. OnTriggerStay, OnCollisionEnter and OnCollisionStay don’t register ether I have no idea why.
I’ve tried messing with script execution order, no luck there, maybe worth mentioning that i have lot more game objects and scripts in current project.
Anyone have any idea what might be the problem?
just this won’t work:
void OnTriggerEnter(Collider col) {
Debug.Log("It just works");
}
Edit: To clarify I don’t use collisions or rigidbodies anywhere else.