Package Details: unreal-engine-4 4.27.2-11

Git Clone URL: (read-only, click to copy)
Package Base: unreal-engine-4
Description: A 3D game engine by Epic Games which can be used non-commercially for free.
Upstream URL:
Keywords: 3d engine game game-engine ue4 unreal
Licenses: custom:UnrealEngine
Submitter: Neko-san
Maintainer: Neko-san
Last Packager: Neko-san
Votes: 3
Popularity: 0.013869
First Submitted: 2022-06-30 18:25 (UTC)
Last Updated: 2023-03-01 02:16 (UTC)

Pinned Comments

Neko-san commented on 2022-10-15 20:50 (UTC) (edited on 2022-10-15 20:54 (UTC) by Neko-san)

I updated it to not use the Arch Clang compiler by default; I thought I had this opt-out but I didn't - the reason being that for UE4, there's actually a hard-coded reference to look for a Windows compiler (thanks Epic...) and using the Arch compiler has been the solution on the AUR for UE4 for a long time

That said, if it fails to compile by default now (at least if strictly using makepkg), the fault is entirely on Epic for not properly having the Unreal Build Tool (UBT) not handle the Linux build properly - proper support for this was implemented in UE5, so they should honestly backport that to UE4's codebase

I left a user toggle-able switch in the PKGBUILD if anyone wants to try the Arch Clang compiler patch again, for whatever reason

If anyone manages to figure out how to this otherwise, let me know and I'll add the fix

Latest Comments

1 2 3 Next › Last »

jtljac commented on 2023-02-24 03:31 (UTC)

It's cloning successfully now, however it's failing in build(), here's the error

  [1230/1231] Compile AnimEncoding_VariableKeyLerp.ispc
  [1231/1231] Compile SQLiteEmbedded.c
Took 1377.697445s to run mono, ExitCode=6
UnrealBuildTool failed. See log for more details. (/home/user/Library/Logs/Unreal Engine/LocalBuildLogs/UBT-UE4Game-Linux-DebugGame.txt)
AutomationTool exiting with ExitCode=6 (6)
RunUAT ERROR: AutomationTool was unable to run successfully.

and the log:

Neko-san commented on 2023-02-23 01:29 (UTC) (edited on 2023-02-23 01:31 (UTC) by Neko-san)

Branch 4.27 and 4.27-plus would be more suited for an AUR -git package, which would require a separate page per the AUR guidelines

Thought I did try cloning 4.27.2 directly before though but I guess I must have thought of doing it but didn't actually act on it somehow; I'm correcting this right now

jtljac commented on 2023-02-22 22:48 (UTC) (edited on 2023-02-22 22:49 (UTC) by jtljac)

Still failing to clone Looks like it can't find any branch or tag called 4.27-release.

There is a tag 4.27.2-release, which can be cloned with:

git clone --depth=1 --branch ${pkgver}-release "${pkgname}"

Alternatively, there is a branch 4.27 (or 4.27-plus, which seems to still be getting updates), which can be cloned with:

git clone --depth=1 --branch="${base_pkgver}" "${pkgname}"

Neko-san commented on 2023-02-22 03:26 (UTC)

I revised the cloning method to take a slightly different approach and I bumped the pkgrel for you

jtljac commented on 2023-02-22 01:18 (UTC) (edited on 2023-02-22 01:19 (UTC) by jtljac)

The tag cloning is failing with the error "Too many arguments" on the git clone in prepare I believe the git command should be git clone --depth=1 --branch ${pkgver}-release "${pkgname}".

Also, you should increment the pkgrel, as I am having to manually delete my AUR tool's cache to download the updated PKGBUILD.

Neko-san commented on 2023-02-21 23:56 (UTC)

Let me know if that works for you; I updated the PKGBUILD

Neko-san commented on 2023-02-21 23:35 (UTC)

I'll look into the clone issue

Neko-san commented on 2023-02-21 23:35 (UTC)

Fixed, sorry about that; I forgot to update the checksum :p

jtljac commented on 2023-02-21 23:28 (UTC) (edited on 2023-02-21 23:31 (UTC) by jtljac)

The SHA sum for is incorrect as of the latest commit, and it is unable to clone the branch as there is no 4.27.2 branch (There is however a 4.27 branch)

Neko-san commented on 2023-01-30 23:44 (UTC)

@willWallace I'll have it use gio launch by default going forward because that sounds like a more consistent solution