Visual Effect Visible Through Other Objects

Hey everyone. I’m trying to figure out why the VFX particles on one of my objects are sometimes visible through other objects. Here’s a couple of camera angles to illustrate my problem:


Any idea what could be causing this or how to fix it?

Hi @unity_tOwpNSr-oL7zFw ,
It’s a bit hard to tell without looking at your graph / scene.

  • Are your scene objects and your VFX emitter at the same distance? (i.e. have you tried moving the VFX emitter further away from the camera) At a first glance, it looks simply that they are at the same position (assuming on the Z axis) and because the particles have a random velocity some of them sometimes pop in front of your other objects.

A few other possible culprits:

  • Are you using some depth collision block in Update which might be pushing the particles forward?
  • Are the background objects using a transparent material?

Thanks for your response @VladVNeykov .
I was using a set-pivot node in my graph when I should have been using set-angle. This was causing particles to move towards the camera, they just didn’t appear to due to the camera being in isometric mode.

1 Like