Pros and Cons of using UE4 vs Free Unity 3D?

I used unity for a long time, the only thing unity has up on UE4 in my opinion is the C# and js docs.

Hated working with materials in Unity. They were the bane of my existence.