Instalación Unreal Engine

Repositorio de código Unreal Engine 5.8: 🌍 GitHub

Repositorio de código Unreal Engine 5.8 AngelScript: 🌍 GitHub

Repositorio de código Unreal Engine 4.27 HTML WebGL: 🌍 GitHub


Requisitos:

1. Visual Studio 2026 (UE 5.8) (Version Actual 18.8.2)

- WorkLoads:

    * .NET Development
    * Desktop Development C++
    * Game Development C++
    * Linux, Mac Integration C++

- Individual Components:

    * .NET SDK 
    * .NET SDK Compiler Platform
    * Clang C++ Windows Compiler (22.1.3)
    * Windows SDK (10.0.22621.0) (Important for Consoles)
    * MSVC x84/x64 143 (14.50)
    * ATL x84/x64 143 (14.50)
    * MFC x84/x64 143 (14.50)

Source Engine (UE5):

Install Console SDK's (Xbox GDK April 2026 / Nintendo SDK 21.4.2 (Installer 1.8.2) / Sony SDK (PS4 12.5 / PS5 13.0)
Install Linux CLang (20.1.8) (Optional)

1. Download From repo
2. Put Platform SDK's in Engine folder
3. Dualshock & Dualsense Libraries (Engine\Platforms\PS5\Source\ThirdParty\LibScePad)
4. Steam SDK (1.64)
5. Dualsense Trigger Plugin (Engine\Platforms\PS5\Plugins\Runtime)
6. Put Rider & VisualStudio Plugins (Engine\Plugins\Marketplace)

---------------------------------------------------------------------------------------

⚠️ If Use Android:

    - Create New Project with Unreal (From Epic Launcher)
    - Open Platforms -> Android -> Install SDK

---------------------------------------------------------------------------------------

7. Setup.bat
8. GenerateProjectFiles.bat
9. Go to Engine\Saved\UnrealBuildTool.xml and paste:

<BuildConfiguration>
    <bAllowUBAExecutor>false</bAllowUBAExecutor>
    <MaxParallelActions>0</MaxParallelActions>
</BuildConfiguration>

---------------------------------------------------------------------------------------

🅰️. Generate Binary Build (Aprox 130GB with Consoles)

ℹ️ This option is slower, but it precompiles all the necessary modules, allows you to include external plugins such as factory plugins, 
and lets you share the resulting build with others (this is how Epic Games generates its Launcher builds).

10. Open the folder where you cloned the repository, and open GitBash
11. Run this command:

✅ Windows

./Engine/Build/BatchFiles/RunUAT.bat BuildGraph -script=Engine/Build/InstalledEngineBuild.xml -target="Make Installed Build Win64" -set:GameConfigurations="Development;Shipping" -set:WithWin64=true -set:WithWinArm64=false -set:WithWinArm64ec=false -set:WithMac=false -set:WithLinux=false -set:WithLinuxArm64=false -set:WithAndroid=false -set:WithIOS=false -set:WithTVOS=false -set:WithVisionOS=false -set:WithClient=false -set:WithServer=false -set:WithDDC=false -clean

✅ Windows + Linux

./Engine/Build/BatchFiles/RunUAT.bat BuildGraph -script=Engine/Build/InstalledEngineBuild.xml -target="Make Installed Build Win64" -set:GameConfigurations="Development;Shipping" -set:WithWin64=true -set:WithWinArm64=false -set:WithWinArm64ec=false -set:WithWinGDK=false -set:WithMac=false -set:WithLinux=true -set:WithLinuxArm64=true -set:WithAndroid=false -set:WithIOS=false -set:WithTVOS=false -set:WithVisionOS=false -set:WithClient=false -set:WithServer=false -set:WithDDC=false -clean

✅ Windows + Linux + Android

./Engine/Build/BatchFiles/RunUAT.bat BuildGraph -script=Engine/Build/InstalledEngineBuild.xml -target="Make Installed Build Win64" -set:GameConfigurations="Development;Shipping" -set:WithWin64=true -set:WithWinArm64=false -set:WithWinArm64ec=false -set:WithWinGDK=false -set:WithMac=false -set:WithLinux=true -set:WithLinuxArm64=true -set:WithAndroid=true -set:WithIOS=false -set:WithTVOS=false -set:WithVisionOS=false -set:WithClient=false -set:WithServer=false -set:WithDDC=false -clean

✅ Windows + Linux + Android + Consoles

./Engine/Build/BatchFiles/RunUAT.bat BuildGraph -script=Engine/Build/InstalledEngineBuild.xml -target="Make Installed Build Win64" -set:GameConfigurations="Development;Shipping" -set:WithWin64=true -set:WithWinArm64=false -set:WithWinArm64ec=false -set:WithWinGDK=true -set:WithMac=false -set:WithLinux=true -set:WithLinuxArm64=true -set:WithAndroid=true -set:WithIOS=false -set:WithTVOS=false -set:WithVisionOS=false -set:WithPS4=true -set:WithPS5=true -set:WithSwitch=true -set:WithSwitch2=true -set:WithGDK=true -set:WithXB1=true -set:WithXSX=true -set:WithClient=false -set:WithServer=false -set:WithDDC=false -clean

✅ Windows + Android + Consoles

./Engine/Build/BatchFiles/RunUAT.bat BuildGraph -script=Engine/Build/InstalledEngineBuild.xml -target="Make Installed Build Win64" -set:GameConfigurations="Development;Shipping" -set:WithWin64=true -set:WithWinArm64=false -set:WithWinArm64ec=false -set:WithWinGDK=true -set:WithMac=false -set:WithLinux=false -set:WithLinuxArm64=false -set:WithAndroid=true -set:WithIOS=false -set:WithTVOS=false -set:WithVisionOS=false -set:WithPS4=true -set:WithPS5=true -set:WithSwitch=true -set:WithSwitch2=true -set:WithGDK=true -set:WithXB1=true -set:WithXSX=true -set:WithClient=false -set:WithServer=false -set:WithDDC=false -clean

✅ Windows + Consoles

./Engine/Build/BatchFiles/RunUAT.bat BuildGraph -script=Engine/Build/InstalledEngineBuild.xml -target="Make Installed Build Win64" -set:GameConfigurations="Development;Shipping" -set:WithWin64=true -set:WithWinArm64=false -set:WithWinArm64ec=false -set:WithWinGDK=true -set:WithMac=false -set:WithLinux=false -set:WithLinuxArm64=false -set:WithAndroid=false -set:WithIOS=false -set:WithTVOS=false -set:WithVisionOS=false -set:WithPS4=true -set:WithPS5=true -set:WithSwitch=true -set:WithSwitch2=true -set:WithGDK=true -set:WithXB1=true -set:WithXSX=true -set:WithClient=false -set:WithServer=false -set:WithDDC=false -clean


⚠️ When there is an update or change, run the same command, but remove “-clean” at the end.

---------------------------------------------------------------------------------------

🅱️. Generate Source Build (Aprox 360GB with Consoles)

ℹ️ This option is faster, but the first time you compile a game for each platform, it will take quite a while since it has to compile 
the necessary engine modules.

10. Compile Programs:

    - AutomationTool
    - AutomationToolLauncher
    - ChaosVisualDebugger (Optional)
    - ShaderCompileWorker
    - UnrealAndroidFileTool (Optional If Use Android)
    - UnrealBuildTool
    - UnrealFrontend
    - UnrealInsights
    - UnrealLightmass (Optional if use Static Light)
    - UnrealPak

11. Compile Engine UE5

AngelScript (UE5):

In Engine Plugins (Edit -> Plugins):

AngelScript Enhanced Input
AngelScript GAS

---------------------------------------------------------------------------------------

GitHub Plugins For Engine (If you're going to use Option 🅰️, clone these plugins first before generating the compiled engine):

ℹ️ (Engine\Plugins\Marketplace)

1. EmmsUI Plugin (https://github.com/Hazelight/EmmsUI)
2. GameplayMessageRouter Plugin (https://github.com/IncantaUnreal/GameplayMessageRouter)
3. Unreal ImGUI Plugin (https://github.com/IDI-Systems/UnrealImGui)
4. AngelScript ImGUI Plugin (https://github.com/EnvarStudio/AngelscriptImGui/tree/main)

Check AngelScriptLab: https://github.com/UnrealEngine-Angelscript-ZH/AngelscriptLab

---------------------------------------------------------------------------------------

GitHub Plugins Jetbrains Rider:

1. Rider Unreal Angelscript Plugin (https://github.com/scriptacus/rider-unreal-angelscript/?tab=readme-ov-file)

WebGL (UE4):

Install Firefox (For Test Builds)

1. Download From repo
2. Setup.bat
3. HTML5Setup.sh (Engine/Platforms/HTML5)
4. GenerateProjectFiles.bat
5. Add -> Existing Project then navigate to and select this project to add to the solution: 
     Engine\Platforms\HTML5\Source\Programs\HTML5\HTML5LaunchHelper\HTML5LauncherHelper.csproj
6. Compile Programs:

    - AutomationTool
    - AutomationToolLauncher
    - HTML5LaunchHelper
    - ShaderCompileWorker
    - UnrealBuildTool
    - UnrealFrontend
    - UnrealHeaderTool
    - UnrealLightmass
    - UnrealPak

7. Compile Engine UE4

Configuraciones para un Proyecto Nuevo:

Build.cs:

using System.IO;

PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
CppStandard = CppStandardVersion.Cpp20;
OptimizeCode = CodeOptimization.Never;

// ReSharper disable once UseCollectionExpression
PublicDependencyModuleNames.AddRange(new string[]
{
    "Core",
    "CoreUObject",
    "Engine",
    "InputCore",
    "PhysicsCore",
    "CommonUI",
    "CommonInput",
    "Slate",
    "SlateCore",
    "UMG",
    "ModelViewViewModel",
    "AdvancedWidgets",
    "EnhancedInput",
    "GeometryCollectionEngine",
    "FieldSystemEngine",
    "Niagara",
    "NiagaraCore",
    "CinematicCamera",
    "LevelSequence",
    "BinkMediaPlayer",
    "MediaAssets",
    "GameplayAbilities",
    "GameplayTags",
    "GameplayTasks",
    "OnlineSubsystem",
    "OnlineSubsystemUtils",
    "AIModule",
    "NavigationSystem",
    "MotionTrajectory"
});

// ReSharper disable once UseCollectionExpression
PrivateDependencyModuleNames.AddRange(new string[]
{
    "EasyLoadingScreen",
    "EasyMultiSave",
    "EnhancedCodeFlow",
    "FMODStudio",
    "GlobalEvents",
    "NinjaInput",
    "NinjaInputUI",
    "ProtoAnimatedText",
    "RooibosOutlines",
    "ScreenFade",
    "VGE_DebugSystem",
    "VGE_SettingsSystem",
    "VGE_UISystem",
    "VGE_RumbleSystem"
});

PrivateIncludePaths.Add("NAME");

// Use features from console platforms.
bAllowConfidentialPlatformDefines = true;

if (Target.Platform.ToString() == "Win64") // Windows
{
    // ReSharper disable once UseCollectionExpression
    PublicDependencyModuleNames.AddRange(new string[]
    {
        "OnlineSubsystemSteam"
    });

    // Include Steamworks SDK
    PublicIncludePaths.AddRange(new string[] { Path.Combine(EngineDirectory, "Source/ThirdParty/Steamworks/Steamv161/sdk/public") });
    PublicAdditionalLibraries.Add(Path.Combine(EngineDirectory, "Source/ThirdParty/Steamworks/Steamv161/sdk/redistributable_bin/win64/steam_api64.lib"));

    // Copy steam_api64.dll to the binaries directory
    try
    {
        // ReSharper disable once InconsistentNaming
        string SteamDLLFileName = "";

        // ReSharper disable once InconsistentNaming
        string SteamDLLPath = "";

        SteamDLLFileName = "steam_api64.dll";
        SteamDLLPath = Path.Combine(EngineDirectory, "Source/ThirdParty/Steamworks/Steamv161/sdk/redistributable_bin/win64", SteamDLLFileName);

        // ReSharper disable once InconsistentNaming
        var DirectoryInfo = Directory.GetParent(ModuleDirectory)?.Parent;

        if (DirectoryInfo != null)
        {
            // ReSharper disable once InconsistentNaming
            string ProjectPath = DirectoryInfo?.ToString();

            // ReSharper disable once InconsistentNaming
            string BinariesDir = Path.Combine(ProjectPath, "Binaries", Target.Platform.ToString());

            if (!Directory.Exists(BinariesDir))
                Directory.CreateDirectory(BinariesDir);

            File.Copy(SteamDLLPath, Path.Combine(BinariesDir, SteamDLLFileName), true);
        }
    }
    catch
    {
        // ignored
    }
}

if (Target.Platform.ToString() == "Mac") // MacOS
{
    // Platform Content Here
}

if (Target.Platform.ToString() == "Linux") // Linux
{
    // Platform Content Here
}

if (Target.Platform.ToString() == "LinuxArm64") // Linux ARM
{
    // Platform Content Here
}

if (Target.Platform.ToString() == "PS4") // PlayStation 4
{
    // Platform Content Here
}

if (Target.Platform.ToString() == "PS5") // PlayStation 5
{
    // ReSharper disable once UseCollectionExpression
    PublicIncludePaths.AddRange(new string[]
    {
        "OnlineSubsystemPS5"
    });
}

if (Target.Platform.ToString() == "XB1" && Target.Platform.ToString() == "XSX" && Target.Platform.ToString() == "WinGDK") // Xbox
{
    // ReSharper disable once UseCollectionExpression
    PublicIncludePaths.AddRange(new string[]
    {
        "OnlineSubsystemGDK"
    });
}

if (Target.Platform.ToString() == "IOS") // IOS
{
    // Platform Content Here
}

if (Target.Platform.ToString() == "Android") // Android
{
    // Platform Content Here
}

Target.cs:

Type = TargetType.Editor;
DefaultBuildSettings = BuildSettingsVersion.Latest;
IncludeOrderVersion = EngineIncludeOrderVersion.Latest;

ExtraModuleNames.Add("NAME");

Editor.Target.cs:

Type = TargetType.Editor;
DefaultBuildSettings = BuildSettingsVersion.Latest;
IncludeOrderVersion = EngineIncludeOrderVersion.Latest;

ExtraModuleNames.Add("NAME");