Unreal Engine 4

From ArchWiki
Jump to: navigation, search

Unreal Engine 4 is the latest version of the videogame Engine Created By Epic Games

The content of this article was originally written on this page and adapted specifically for Arch Linux.

Minimum requirements

  • Intel or Amd CPU@2.5GHz Quad Core 64 Bits
  • GPU: NVIDIA GeForce GTX 470 or AMD Radeon 6870 HD series
  • RAM: 8 GB

Installation

Gain access to the source code

The Unreal Engine source code is in a private Github repository requiring free registration with the developer (Epic Games) for access[1].

To gain access, login or register at Epic Games Accounts and provide an accessible GitHub username at the bottom of the Epic Games 'Connected Accounts Dashboard' page. You will then receive an invite to access the private Github repository.

Installing from the AUR

Unreal Engine 4 is available in the AUR as the unreal-engineAUR package.

The package is ~28 GiB installed and needs ~100 GiB to build with an output ABS package of ~4.5 GiB when compressed. This AUR package downloads ~9.5 GiB of source files plus ~4.5 GiB of dependencies. The compilation can take from 30 minutes up to a few hours depending on your machine.

Since the repository is private, you can set up an SSH key so your GitHub account is used to download the source.

For a smaller download, you can download the release as a tar.gz after logging into github.com, then use that file as the source in the PKGBUILD.

Compile from source code

To compile manually, refer to the official instructions to build on Linux.

Troubleshooting

Compilation problems

If the compilation fails you should try building the Editor using the Debug profile:

$ make UE4Editor-Linux-Debug

Runtime problems

If the editor doesn't start from the menu, or something doesn't work right, start it in a console and check the output for errors.

$ /opt/unreal-engine/Engine/Binaries/Linux/UE4Editor

C++ code project problems

After creating a code project, the new project opens in a text editor instead of in UE4Editor as it should. After re-launching the editor, the new project shows up and can be opened, but on the first run, it takes a half-hour or so to compile, and since this happens in the background (no GUI) it might not seem to be doing anything. The CPU usage should show that it's still compiling, and you may want to launch the editor from a console to see progress.

Disable Tooltips

UE4's mouse-over tooltips might be rendered very slow. They can be disabled by adding to

Engine/Config/ConsoleVariables.ini
Slate.AllowToolTips=0

Random freeze under KDE

Disable index file content in the KDE file search options.

Additional Content

Starter Content

The StarterContent project is installed to /opt/unreal-engine/Samples/StarterContent/StarterContent.uproject, you can browse to it from the launcher.

Marketplace Apps

The launcher with the Unreal Marketplace is not available for Linux yet[2], so apps like the ContentExamples project cannot be installed from Linux[3].

The marketplace apps can be downloaded using the launcher on Windows (Mac may also work), they are stored in:

   /Program Files (x86)/Epic Games/Launcher/VaultCache/

Also there is an implementation of UE4 Marketplace Downloader written in JS.