How do I get rid of this weird edge effect?

Not sure what is causing this - it appears when I bake the scene. It doesnt seem to be related to the shadows or ambient occlusion

1

go to Assets->import package - > image effect and import the image effect in your game then go to your main camera and add component scripts Antialiasing — you need to twig some value to get a good look

It will definitely solve your issue .