DEV Community

dev game
dev game

Posted on

Why Hogwarts Legacy Bet on Unreal Engine 4: The Old Blockbuster Tech Behind a 40-Million-Copy Magic School

Hogwarts Legacy did not sell 40 million copies despite being built on Unreal Engine 4 in 2023. It sold 40 million because it was built on Unreal Engine 4.

Avalanche Software built the 1890s open-world action RPG on Unreal Engine 4, released for PlayStation 5, Windows and Xbox Series X/S on February 10, 2023, for PlayStation 4 and Xbox One on May 5, 2023, for Nintendo Switch on November 14, 2023, and for Nintendo Switch 2 on June 5, 2025. Wikipedia lists UE4 in the infobox, Avalanche as developer and Warner Bros. Games under Portkey Games as publisher. In its first two weeks it sold over 12 million copies and generated $850 million, later reaching 40 million copies and $1 billion in total revenue on an estimated $150 million production budget. Wikipedia Steam describes the same promise in plainer terms: an open-world action RPG where you customize a student, master spell casting, craft potions, upgrade talents and explore familiar and new locations.

That choice looks conservative only if you think newer rendering wins sales.

Snapshot: what Avalanche actually shipped

  • Developer: Avalanche Software, founded October 1995 in Salt Lake City, owned by Disney Interactive Studios from 2005 to 2016 for Toy Story 3 and Disney Infinity, re-acquired and re-opened by Warner Bros. Games in January 2017. Hogwarts Legacy was its first non-Disney game since 2005 and its first title under Warner ownership after Cars 3: Driven to Win. Wikipedia
  • Engine: Unreal Engine 4, which began development in 2003, released March 19, 2014, with the first game Daylight on April 29, 2014, introducing physically based materials and Blueprints visual scripting. UE4 4.27 from August 2021 officially supports Windows, PS4, PS5, Xbox One, Xbox Series X/S, Switch and Switch 2, among others. Wikipedia
  • Successor context: Unreal Engine 5 launched in April 2022 with Nanite virtualized geometry and Lumen global illumination, written in C++ by Epic Games with source-available royalty licensing. Wikipedia
  • Scope: Single-player, 1890s Hogwarts, Hogsmeade and Scottish Highlands, fifth-year student with ancient magic, companions Natsai, Poppy, Sebastian and Ominis, antagonists Ranrok and Rookwood, plus broom flight, beasts, Room of Requirement and talent trees. Wikipedia Steam
  • Launch arc: Highly anticipated, hit by controversy over J. K. Rowling, calls for boycott, then record Twitch viewing as the most-watched single-player game in early access, followed by positive reviews praising combat, world design and faithfulness while criticizing technical problems and lack of open-world innovation. Wikipedia

UE4 itself was not a shortcut. It was schedule armor.

Why UE4, not UE5, Unity or custom?

Avalanche did not need Nanite, Lumen or a hand-rolled world sim. It needed three things UE4 gives cheaply to a team coming from toys-to-life:

1. A hiring pool that already knows shooters. Avalanche spent 2005-2016 on Disney Infinity, a toys-to-life platform, not a sprawling RPG. Wikipedia UE4's Blueprints and physically based workflow meant Utah hires, Warner support teams and outsource houses could contribute quests, spells and castle rooms without learning a proprietary editor. Unity could do the same for phones, but not for a castle that has to look AAA on PS5 in 2023. Custom tech would have required building both the game and the hiring pipeline.

2. Seven platforms without two games. UE4 4.27 lists PS4, PS5, Xbox One, Xbox Series X/S, Switch, Switch 2, Windows, iOS and Android as supported. Wikipedia Hogwarts Legacy shipped on seven of those across 2023-2025. Wikipedia UE5 in 2022 could not credibly promise PS4 and Switch at 2023 quality — Nanite and Lumen assume disks and GPUs those machines do not have. Picking UE4 let Avalanche sell to the PS4 dorm room, the kid's Switch and the PS5 living room from one content base, which is how you get from 12 million in two weeks to 40 million lifetime.

3. Timing made UE5 a trap. The game was announced September 16, 2020 as a PS5 showcase title after Warner's 2017 acquisition. Wikipedia Production at an estimated $150 million was already underway. Wikipedia UE5 did not officially launch until April 2022. Wikipedia Migrating a castle, Highlands, spell system and quest graph mid-production for prettier rocks would have delayed the February 2023 window that made it the best-selling game of that year. Staying on stable UE4 was the boring decision that protected the date.

This is different from the other UE4 holdout on this blog. Stellar Blade stayed on UE4 for 60fps parry readability and hair-cloth control as a 2019-started Korean action game. Hogwarts Legacy stayed on UE4 for castle streaming and seven-platform reach as a 2017-started American RPG. Same old engine, opposite bottleneck: readability of one heroine versus readability of one school.

What the castle gained — and what UE4 forced

Hogwarts works in UE4 because a magic school is already a level-streaming trick. Long corridors, staircases, moving portraits, floo-flame fast travel and walled courtyards hide room loads that an open field cannot. Avalanche could keep Hogwarts Castle dense and readable while the Highlands outside stay rolling and empty enough for brooms. Steam sells that as familiar and new locations plus beasts and brooms; in engine terms it is interior culling plus exterior vista.

Spell combat fits the same shooter DNA. Epic added 100-player Fortnite Battle Royale support to UE4 in 2017 to handle many connections and large open worlds. Wikipedia Avalanche reuses that lineage for lock-on, dodge, Protego parry and ancient-magic finishers: projectiles, cooldowns and hit reactions that feel like a friendly shooter with wands. Light, physics and Blueprints sell impact without simulating cloth or destruction per pebble.

If you want to feel the broom logic before buying, Kite Flying Sim is a useful warm-up. It uses WASD and arrow keys to steer against wind with pull and push keys, which trains the exact skill Hogwarts brooms demand: commit to a line, correct small, and never fight momentum head-on.

The costs were predictable:

  • No free next-gen lighting. Without UE5 Lumen and Nanite, daylight, reflections and crowd density rely on baked and scaled tricks. Reviewers praised world design but flagged technical problems at release. Wikipedia
  • One school, not a simulation. NPC schedules, seasons and systemic consequences are thin compared with the castle's art density. UE4 can do systems, but Avalanche spent its budget on rooms, spells and ports, not AI.
  • The Switch version is a confession. To hit Switch on November 14, 2023, Avalanche cut resolution, assets and loading granularity while keeping quests and spells intact. That is only possible because UE4 officially supports Switch. Wikipedia Wikipedia A UE5-only game could not have made that downport without a second codebase.

My read: three contrarian ideas (opinion, not fact)

Most coverage says Hogwarts Legacy won because of Harry Potter nostalgia plus UE4 competence. I think those are effects. The causes are more boring and more useful:

1. Corridors are loading screens you like.

Other open worlds sell seamlessness. Hogwarts sells doors. Every staircase turn, common-room loading veil and Hogsmeade tunnel lets UE4 stream the next courtyard without a bar. My take: Avalanche turned weak-hardware streaming into architecture. The castle does not hide the engine limit; it makes the limit feel like magic. That is why the game feels bigger on PS4 and Switch than many UE5 fields that stutter trying to show everything at once.

2. Wands are reskinned rifles, and that is why combat feels good.

Critics praise spell variety as RPG depth. I see it as shooter literacy. UE4 spent a decade tuning aim assist, projectile speed, dodge i-frames and damage falloff for Fortnite and Gears. Avalanche maps Stupefy to a hitscan rifle, Glacius to a slow, Levioso to a suspend, and Protego to a parry window. Players already know that grammar from shooters, so a 10-spell diamond feels learnable in an hour. My unfashionable claim: magic works here not because it is systemic like a sim, but because it is legible like a loadout. The Room of Requirement and talent upgrades are attachments and perks with robes on.

You can test the second idea against pure collection. Adventure Miner is a mining loop where you gather ore, sell at the dock, upgrade pickaxe, capacity and speed, then unlock richer islands. It is Hogwarts without wands: gather moonstone, brew, upgrade talents, unlock the Highlands. Playing it for ten minutes shows what Avalanche protected — visible power growth per run — and what it skipped — no physics sandbox, just better numbers opening new doors.

3. Old engine is porting insurance, not technical debt.

Conventional wisdom says picking UE4 in 2020-2023 was fear. I say it was distribution. From 12 million in two weeks to 40 million and $1 billion, the curve needed PS4, Xbox One and Switch buyers, not just PS5 and PC ultra settings. Wikipedia UE4 4.27 support for those exact consoles is documented. Wikipedia My claim: for a single-player school fantasy, reach beats ray tracing. Parents buy Switch, students keep PS4, fans double-dip on Switch 2 on June 5, 2025. A prettier UE5-only castle that skips 100 million last-gen consoles sells fewer copies no matter how it screenshots.

A related note: setting the story in the 1890s, a century before Harry Potter, looks like lore respect. In production terms it is also an asset firewall. No need to match movie faces, no Voldemort timeline checks, no child-actor likeness costs. Avalanche could build its own Hogwarts, Hogsmeade and Highlands once in UE4 and reuse them across seven SKUs without canon police taxing every mesh.

How the loop actually works (and why it scales)

  • Enroll as a fifth-year, learn spells in classes, explore castle and Highlands, befriend students, chase ancient magic against Ranrok and Rookwood. Wikipedia
  • Master spell casting, customize character, craft potions, upgrade talents, tend beasts and Room of Requirement stations. Steam
  • Fly brooms over Highlands, solve Map Chamber trials, choose to seal or absorb ancient magic after the dragon-form finale.

That finale matters for engine budgeting. Ranrok absorbing ancient power and turning into a dragon is a single large boss in a controlled arena — exactly what UE4 handles well after hours of small humanoid fights. It reuses flight, breath and dodge you learned on brooms and trolls, so spectacle costs one rig, not a new system.

For that boss muscle specifically, Dragon Simulator 3D is a practical trainer. You fly with Q, climb with Space, dive with C, breathe with left click and tail-swipe with right click while managing health, speed and den upgrades. Hogwarts dragons are scripted, not simmed, but the skill is identical: attack from height, climb to reset, land only on clear ground.

What indie devs can steal

  • Prototype the school, not the field. Build one corridor, one classroom, one courtyard portal in UE4 or Unity before any Highlands. If backtracking between three rooms is not fun with gray boxes, no vista will save it.
  • Make spells into guns early. Assign each spell a shooter archetype — hitscan, lobbed, crowd control, shield — and tune cooldowns like magazines. Legibility ships; simulation can wait.
  • Ship to the weakest box first. Set your minimum to a Switch-like profile and prove quests, spells and saves run there. Add PS5 resolution later. Avalanche's November 2023 Switch and June 2025 Switch 2 dates prove one content base can stretch that far on UE4. Wikipedia
  • Use setting as scope control. An 1890s prequel avoids likeness, voice and timeline debt while justifying why the castle is yours to redesign. Pick a date that frees art, not one that obligates cameos.
  • Design upgrades as keys. Talents, potions and Room stations should each unlock a named door — broom areas, beast dens, Map Chamber trials — like Adventure Miner's islands. Players forgive fetching when fetching visibly opens ground.

Bottom line

Hogwarts Legacy bet on Unreal Engine 4 because a magic school does not need a renderer, it needs a timetable: stable Blueprints, proven console ports, and corridors that stream. The 12-million-in-two-weeks sprint, 40-million and $1 billion lifetime, and seven SKUs from PS5 to Switch 2 make sense once you see UE4 as distribution tech, not graphics tech. Wikipedia Wikipedia

My distinct take against the nostalgia narrative: this is not a franchise win despite old tech. It is a porting win because of old tech. Avalanche, a Disney Infinity studio reborn under Warner Bros. in 2017, could not out-render Epic. Wikipedia So it out-shipped everyone else — same spells, same castle, on every box kids actually own.

Top comments (0)