So I was following this current tutorial when I went to play test and found out my particle collisions suddenly stopped working. Had the same issue earlier which I easily resolved by checking the OnCollisionSendMessage under the particle systems but that does not seem to be the issue here.
my code: using UnityEngine;
public class Enemy : MonoBehaviour
{
[SerializeField] GameObject DeathVFX;
[SerializeField] Transform parent;
void OnParticleCollision(GameObject other)
{
GameObject vfx = Instantiate(DeathVFX, transform.position, Quaternion.identity);
vfx.transform.parent = parent;
Debug.Log($"{name} Im Hit by {other.gameObject.name}");
Destroy(gameObject);
}
}