Hi community, I followed this tutorialby @alexanderameye to add an outline to my models via a Custom Renderer Feature applied to the URP Renderer Asset Feature.
When I enter the Frame Debugger and select the OutlinePass I can clearly see the feature doing something.
By sheer luck I was able to find a solution by myself. The problem was the URP Renderer Asset’s Intermediate Texture. Setting the option to Always showed the Outlines as expected.
I tried to modify the ScriptableRendererFeature to declare its input via ConfigureInput() as is recommended in the Intermediate Texture documentation. This however led to another issue:
TL;DR:
ConfigureInput() is not working as expected in URP 12 (Unity Version 2021)
A workaround for getting the Custom Renderer Feature to work in URP 12 is setting Intermediate Texture to Always in the URP Renderer Asset but it might introduce performance issues