Well, it's worth noting Unity doesn't have royalties - you just pay per seat on a monthly cost, and it's free indefinitely* if you make/raise less than $100k a year.
* (this also means no official support and a few missing features, not sure if UE4 offers everything for free)