I have a sprite that is using the custom depth pass and post processing to appear through walls. When tested with a regular static mesh, it renders correctly through the wall. But when tested with a sprite it, does not render when the sprite is fully covered by the wall, yet it sometimes flickers in and out from mouse click events, and does render properly ONLY when it is selected in the editor.
How can i fix this? is it a bug?