I already said this in some other topic so moderator don’t have to comment on this.
The problem with the unreal engine is not the engine, but the documentation. And I’m referring to the API documentation.
Its missing sample codes and more in-depth information. And I know Epic games is working hard on this part to improve it bit still it’s a big problem. This is what makes Unity great for now. Unity is well documented and the most important function have sample codes. And for new programmers this is really important.
The only way to learn the unreal engine now is by reading the existing code and this takes a lot of time. Its UDK al over again. It took me full year to master UDK and unreal script it took me few weeks to master Unity and c#.
For now I also use Unity for my main project and play with the Unreal Engine in my free time. I really hope someday I can make the switch to the Unreal engine.