Package Details: unreal-engine 5.8.3-1

Git Clone URL: https://aur.archlinux.org/unreal-engine.git (read-only, click to copy)
Package Base: unreal-engine
Description: A 3D game engine by Epic Games which can be used non-commercially for free.
Upstream URL: https://www.unrealengine.com/
Keywords: 3D engine game ue5 Unreal
Licenses: GPL3, custom:UnrealEngine
Submitter: acerix
Maintainer: alexbelm48
Last Packager: alexbelm48
Votes: 75
Popularity: 0.087728
First Submitted: 2016-05-01 18:37 (UTC)
Last Updated: 2026-10-23 08:54 (UTC)

Required by (2)

Sources (8)

Pinned Comments

Latest Comments

1 2 3 4 5 6 .. 84 Next › Last »

alexbelm48 commented on 2026-10-19 12:00 (UTC) (edited on 2026-10-19 12:01 (UTC) by alexbelm48)

FYI currently building 5.8.3 and checking it out, you will receive the update as soon as I feel that it is stable enough for daily usage :)

alexbelm48 commented on 2026-09-12 09:00 (UTC)

@gyscos Hi! Thanks for reporting this, that was an oversight on my part -- this gave me the opportunity to bump the pkgver to 5.8.2. Currently compiling, I'll push the update as soon as I can check that everything is still working! :]

gyscos commented on 2026-09-11 20:12 (UTC) (edited on 2026-09-11 20:48 (UTC) by gyscos)

Hi, and thanks for maintaining this package!

In package(), there is this line:

  install -Dm755 ../unreal-engine.sh "${pkgdir}/usr/bin/unreal-engine"

The .. part is problematic, as it relies on the default directory hierarchy that may not be true if BUILDDIR is set. It might be safer to use $srcdir explicitly:

  install -Dm755 "${srcdir}/unreal-engine.sh" "${pkgdir}/usr/bin/unreal-engine"

From what I understood, prepare() starts in $srcdir where the sources (which includes the unreal-engine.sh are copied. That script is also still present alongside the PKGBUILD in $startdir. By default startdir is the parent of srcdir, so ../unreal-engine.sh was working by reading the file next to the pkgbuild. But if BUILDDIR is set, that's no longer the case and that line fails. You could go back to the pkgbuild folder with $startdir, but why bother when you're already in $srcdir with a copy (or symlinked) script?

Maybe this was intended to run while cwd was inside the unreal-engine directory (hence the ..), but somehow it's not, and it's only working by chance (because .. goes to startdir where a copy of that script is also present)?

alexbelm48 commented on 2026-08-09 16:21 (UTC) (edited on 2026-08-09 16:23 (UTC) by alexbelm48)

@Bertonha Thanks for your contributions, I can confirm that the stability of the engine has greatly improved!

Will update the package to 5.8.1 as soon as the AUR allows me to push changes again. Meanwhile, here's a diff patch to apply if you don't want to wait:

From 8c783e12de9c27a9bdcfc610ae61b95fca4337b4 Mon Sep 17 00:00:00 2001
From: Alexis Belmonte <alexbelm48@gmail.com>
Date: Sun, 9 Aug 2026 18:17:12 +0200
Subject: [PATCH] Bump version

---
 .SRCINFO | 2 +-
 PKGBUILD | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 9315ce5..3384b0b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = unreal-engine
        pkgdesc = A 3D game engine by Epic Games which can be used non-commercially for free.
-       pkgver = 5.8.0
+       pkgver = 5.8.1
        pkgrel = 1
        url = https://www.unrealengine.com/
        install = unreal-engine.install
diff --git a/PKGBUILD b/PKGBUILD
index e73a8da..fafb929 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@
 # The source is about 200 MiB, with an extra ~11 GiB of dependencies downloaded in Setup.sh, and may take several hours to compile.
 # If you want additional options, there are switches below.
 pkgname=unreal-engine
-pkgver=5.8.0
+pkgver=5.8.1
 pkgrel=1
 ## Check unreal-engine/Engine/Config/Linux/Linux_SDK.json (MainVersion value) for what the below should be set to
 UE_SDK_VERSION="native-linux-v26_clang-20.1.8-rockylinux8"
-- 
2.55.0

Bertonha commented on 2026-08-09 11:17 (UTC)

Version UE 5.8.1 runs flawless (the 20 min that I tested) with Wayland and AMD GPU \o/

Bertonha commented on 2026-07-11 11:10 (UTC)

Hello, I managed to fix UE 5.8 black screen/crash on AMD graphs cards and the constant freezing that happens when using UE 5.7 or UE 5.8.

I created 2 MRs on Mesa to acomplish this fix: MR1 black-screen/crash: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42837 MR2 freezes: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42838

I created a stacked branch because AMD users needs both MRs to UE 5.8 be usable. https://gitlab.freedesktop.org/bertonha/mesa/-/tree/stacked-fix

you will need the packages to build it

ninja
meson
python-mako
python-yaml
python-packaging
meson setup build . \
    -Dgallium-drivers= -Dvulkan-drivers=amd -Dllvm=disabled \
    -Dplatforms=x11,wayland -Dbuildtype=debugoptimized -Dbuild-tests=true \
    -Dprefix="$HOME/.local/mesa-radv-test"

ninja -C build
meson test -C build
meson install -C build >/dev/null

echo "Installed: VK_DRIVER_FILES=$HOME/.local/mesa-radv-test/share/vulkan/icd.d/radeon_icd.x86_64.json"

then you can run UE with your new compiled mesa

VK_DRIVER_FILES="$HOME/.local/mesa-radv-test/share/vulkan/icd.d/radeon_icd.x86_64.json" SDL_VIDEODRIVER=x11 /opt/unreal-engine/Engine/Binaries/Linux/UnrealEditor

Hope mesa devs review those MRs and it gets merged/fixed to everyone.