Scene outline bug or feature change? (doesnt follow shader extruded vertices)

In 2017.x scene outline follows vertex extruded mesh nicely: (screenshot, sphere vertices extruded in shader)
5128766--506933--vertex-extrude-outline-2017.gif

but in 2018.x and later, it doesnt:
5128766--506936--vertex-extrude-outline-2018.gif

reported as a bug just in case… #1195437

ok, got confirmation

its now marked as a “by design”, but the comment offers a fix apparently:

"Shader needs SceneSelectionPass: https://github.com/Unity-Technologies/ScriptableRenderPipeline/search?q=SceneSelectionPass&unscoped_q=SceneSelectionPass "

1 Like

that works!

added example of fixed basic extrude shader with SceneSelectionPass:

(i just copied the code from regular pass, i guess could use includes to get same vert/frag)