Unreal Engine

Unreal Engine (UE) is a series of 3D computer graphics and game engines developed by Epic Games, first showcased in the 1998 first-person shooter video game Unreal. Initially developed for PC first-person shooters, it has since been used in a variety of genres of games and has been adopted by other industries, most notably the film and television industry. Unreal Engine is written in C++ and features a high degree of portability, supporting a wide range of desktop, mobile, console, and virtual reality platforms.

The latest generation, Unreal Engine 5, was launched in April 2022. Its source code is available on GitHub, and commercial use is granted based on a royalty model, with Epic charging 5% of revenues over US $1 million, which is waived for games published on the Epic Games Store. Epic has incorporated features in the engine from acquired companies such as Quixel, which is seen as helped by Fortnite 's revenue.

In 2014, Unreal Engine was named the world's "most successful videogame engine" by Guinness World Records.

First generation
Unreal Engine 1 was initially developed in 1995 by Epic Games founder Tim Sweeney for Unreal. Epic later began to license the Engine to other game studios.

Unreal Engine 2
Unreal Engine 2 transitioned the engine from software rendering to hardware rendering and brought support for multiple platforms like the PS2. The first game using UE2 was released in 2002 and its last update was shipped in 2005.

Unreal Engine 3
Unreal Engine 3 was one of the first game engines to support multithreading. It used DirectX 9 as its baseline graphics API, simplifying its rendering code. The first games using UE3 were released at the end of 2006.

Unreal Engine 4
Unreal Engine 4 brought support for physically based materials and the "Blueprints" visual scripting system. The first game using UE4 was released in April 2014.

Unreal Engine 5
Unreal Engine 5 was revealed in May 2020 and officially released in April 2022. Major features of Unreal Engine 5 include Nanite, a virtualized geometry system that allows game developers to use arbitrarily high quality meshes with automatically generated Level of Detail, and Lumen, a dynamic global illumination and reflections system that uses software and hardware ray tracing.

UnrealScript
UnrealScript (often abbreviated to UScript) was Unreal Engine's native scripting language used for authoring game code and gameplay events before the release of Unreal Engine 4. The language was designed for simple, high-level game programming. UnrealScript was programmed by Tim Sweeney, who also created an earlier game scripting language, ZZT-OOP. Deus Ex lead programmer Chris Norden described it as "super flexible" but noted its low execution speed.

Similar to Java, UnrealScript was object-oriented without multiple inheritance (classes all inherit from a common Object class), and classes were defined in individual files named for the class they define. Unlike Java, UnrealScript did not have object wrappers for primitive types. Interfaces were only supported in Unreal Engine generation 3 and a few Unreal Engine 2 games. UnrealScript supported operator overloading, but not method overloading, except for optional parameters.

At the 2012 Game Developers Conference, Epic announced that UnrealScript was being removed from Unreal Engine 4 in favor of C++. Visual scripting would be supported by the Blueprints Visual Scripting system, a replacement for the earlier Kismet visual scripting system. "One of the key moments in Unreal Engine 4's development was, we had a series of debates about UnrealScript – the scripting language I'd built that we'd carried through three generations. And what we needed to do to make it competitive in the future. And we kept going through bigger and bigger feature lists of what we needed to do to upgrade it, and who could possibly do the work, and it was getting really, really unwieldy. And there was this massive meeting to try and sort it out, and try to cut things and decide what to keep, and plan and...there was this point where I looked at that and said 'you know, everything you're proposing to add to UnrealScript is already in C++. Why don't we just kill UnrealScript and move to pure C++? You know, maximum performance and maximum debuggability. It gives us all these advantages.'"

Verse
Verse is the new scripting language for Unreal Engine, first implemented in Fortnite. Simon Peyton Jones, known for his contributions to the Haskell programming language, joined Epic Games in December 2021 as Engineering Fellow to work on Verse with his long-time colleague Lennart Augustsson and others. Conceived by Sweeney, it was officially presented at Haskell eXchange in December 2022 as an open source functional-logic language for the metaverse. A research paper, titled The Verse Calculus: a Core Calculus for Functional Logic Programming, was also published.

The language was eventually launched in March 2023 as part of the release of the Unreal Editor for Fortnite (UEFN) at the Game Developers Conference, with plans to be available to all Unreal Engine users by 2025.

Marketplace
With Unreal Engine 4, Epic opened the Unreal Engine Marketplace in September 2014. The Marketplace is a digital storefront that allows content creators and developers to provide art assets, models, sounds, environments, code snippets, and other features that others could purchase, along with tutorials and other guides. Some content is provided for free by Epic, including previously offered Unreal assets and tutorials. Prior to July 2018, Epic took a 30% share of the sales but due to the success of Unreal and Fortnite Battle Royale, Epic retroactively reduced its take to 12%.

Video games
Unreal Engine was originally designed to be used as the underlying technology for video games. The engine is used in a number of high-profile game titles with high graphics capabilities, including Hogwarts Legacy, PUBG: Battlegrounds, Final Fantasy VII Remake, Valorant and Yoshi's Crafted World, in addition to games developed by Epic, including Gears of War and Fortnite. Polish game developer CD Projekt is also planning to use the engine after retiring their in-house REDengine; their first game to use Unreal will be a remake of The Witcher.

Film and television
Unreal Engine has found use in film making to create virtual sets that can track with a camera's motion around actors and objects and be rendered in real time to large LED screens and atmospheric lighting systems. This allows for real-time composition of shots, immediate editing of the virtual sets as needed, and the ability to shoot multiple scenes within a short period by just changing the virtual world behind the actors. The overall appearance was recognized to appear more natural than typical chromakey effects.

Among the productions to use these technologies were the live action television series The Mandalorian and Westworld and the animated series Zafari and Super Giant Robot Brothers. Jon Favreau and Lucasfilm's Industrial Light & Magic division worked with Epic in developing their StageCraft technology for The Mandalorian, based on a similar approach Favreau had used in The Lion King. Favreau then shared this technology approach with Jonathan Nolan and Lisa Joy, the producers for Westworld. The show had already looked at the use of virtual sets before and had some technology established, but integrated the use of Unreal Engine as with StageCraft for its third season.

Orca Studios, a Spanish-based company, has been working with Epic to establish multiple studios for virtual filming similar to the StageCraft approach with Unreal Engine providing the virtual sets, particularly during the COVID-19 pandemic, which restricted travel.

In January 2021, Deadline Hollywood announced that Epic was using part of its Epic MegaGrants to back for the first time an animated feature film, Gilgamesh, to be produced fully in Unreal Engine by animation studios Hook Up, DuermeVela and FilmSharks. As part of an extension of its MegaGrants, Epic also funded 45 additional projects since around 2020 for making movies and short films in the Unreal Engine. By October 2022, Epic was working with several different groups at over 300 virtual sets across the world.

Other uses
Unreal Engine has also been used by non-creative fields due to its availability and feature sets. It has been used as a basis for a virtual reality tool to explore pharmaceutical drug molecules in collaboration with other researchers, as a virtual environment to explore and design new buildings and automobiles, and used for cable news networks to support real-time graphics.

In March 2012, Epic Games announced a partnership with Virtual Heroes of Applied Research Associates to launch Unreal Government Network, a program that handles Unreal Engine licenses for government agencies. Several projects originated with this support agreement, including an anaesthesiology training software for U.S. Army physicians, a multiplayer crime scene simulation developed by the FBI Academy, and various applications for the Intelligence Advanced Research Projects Activity with the aim to help intelligence analysts recognize and mitigate cognitive biases that might affect their work. Similarly, the DHS Science and Technology Directorate and the U.S. Army's Training and Doctrine Command and Research Laboratory employed the engine to develop a platform to train first responders titled Enhanced Dynamic Geo-Social Environment (EDGE).

Awards
The engine has received numerous awards:


 * Technology & Engineering Emmy Award from the National Academy of Television Arts and Sciences (NATAS) for "3D Engine Software for the Production of Animation" in 2018
 * Primetime Engineering Emmy Award from the Television Academy for exceptional developments in broadcast technology in 2020
 * Annie Award from ASIFA-Hollywood for technical advancement in animation in 2021
 * Game Developer Magazine Front Line Award for Best Game Engine for 2004, 2005, 2006, 2007, 2009, 2010, 2011, and 2012
 * Develop Industry Excellence Award for Best Engine for 2009, 2010, 2011, 2013, 2016, 2017, and 2018
 * Guinness World Record for most successful video game engine

Legal aspects
The state of the Unreal Engine came up in Epic's 2020 legal action against Apple Inc. claiming anticompetitive behavior in Apple's iOS App Store. Epic had uploaded a version of Fortnite that violated Apple's App Store allowances. Apple, in response, removed the Fortnite app and later threatened to terminate Epic's developer accounts which would have prevented Epic from updating the Unreal Engine for iOS and macOS. The court agreed to grant Epic a permanent injunction against Apple to prevent Apple from taking this step, since the court agreed that would impact numerous third-party developers that rely on the Unreal Engine.