Problem with Outline shadergraph

Hello,
I am trying this tutorial

and it works for some simple models, but then i tried other models and it fails and just makes outline in part of the object, for instance a chair doesnt show the metallic structure of the chair, just outlines the center

That style of outline requires smoothly rounded meshes to work as it’s pushing the geometry out by the vertex normals. If it has a hard edge, the surfaces will be pushed out as unconnected sections.

To do outlines on arbitrary meshes, you either need to remodel all of those meshes to use smoothed normals, or bake a separate set of smooth normals into the mesh’s vertex data (like into the vertex color or extra UVs) and use those, or use a completely different system for outlines that makes use of post processing.

I might suggest getting ToonyColors Pro 2 from the asset store, as it has tools to automatically bake a set of smoothed normals into arbitrary meshes for you.

This asset also does that BTW, for free: Quick Outline | Particles/Effects | Unity Asset Store

I solved it with custom pass Scripting your own Custom Pass in C# | High Definition RP | 10.5.1