Well, Bioshock Infinite was in development for 5 years and sold 3.4 million units at full retail price and then another million or so at discounted prices. Frankly that's not enough to offset 5 years of development costs for a large AAA studio. You need to have GTA or COD sales figures to offset that much cost.