OnParticleCollision not getting triggered

Hi,

no matter what I try, the method OnParticleCollision is not being called. There must be something wrong with my setup and I am not able to figure out what. Please help.

Object A EMITS particles, Object B should trigger the event when particles are shot at it:

Object A setup

Object B Setup

Script ParticleReceiver (Attached to Object B)

public class ParticleReceiver : MonoBehaviour {

 void OnParticleCollision(GameObject other)
    {
        Debug.Log(other.name);
     }

Thanks alot for any help!

Try add a Rigidybody to your Sphere

I have the same problem when I play the game build in WEBGL. Inside the editor it works fine. My B object has rigidbody.

I was having a similar issue. Solved by making sure that “Send Collision Messages” was turned on