Decals are not appearing properly in the post process

I want to create a decal that is being masked with a specific metallic value through a postprocess. I got the detection to work but it can only see the decals that is on the 0 position in Z-axis. They wont appear on the walls or on any higher ground and it also able to see through walls.

The decals appears as they should be.

The ones on the ground at Z position 0 is working

Elevated decals is not working

It goes through walls and not appearing on the walls, I’ve tried diffrent blendable location in the post process and still not working.

Post process material graph that is being captured with a 2D scene capture camera. The mask is then used for a light function.

Decal material graph

I’ve used decals before and never had so many issues using them. Before this it was even hard to get them showing up in the viewport, had to duplicate the default to just make it appear in the scene. I’ve also tried substrate but was not able to make it work with the post process.

what does the bounding box of the decals look like? is it touching any on the geometry you want to project the decals on? that is part of the system, i’m pretty sure you know that?!?