After using both Unity and Unreal Engine for XR Development, my personal favorite is Unreal only for the fact that I can still look at the source code of the engine if something weird is happening and I can even fix it myself. That's the main reason. Unity seems to be catching up a bit in the performance area but I still feel that UE4 is ahead.