How to fix pixelated edges in scene and game view

edges of objects look fuzzy/pixelated in game view and scene view including shadows. if per say i focus on a cube in my scene the edge that is directly facing me will look clear while the other edges of the same object and other objects in the scene will be pixelated , this also goes for game view.

Have you check in project settings in the quality section the shadow projection, shadow resolution and anti aliasing?

Check in Projects Settings > Quality > Anti Aliasing if it’s disabled. Enable it to get better quality.