Package Details: unreal-engine 5.4.1-0

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: Shatur (Neko-san)
Last Packager: Neko-san
Votes: 73
Popularity: 0.069864
First Submitted: 2016-05-01 18:37 (UTC)
Last Updated: 2024-05-05 08:52 (UTC)

Required by (1)

Sources (5)

Pinned Comments

Neko-san commented on 2022-11-01 02:32 (UTC) (edited on 2023-06-25 01:19 (UTC) by Neko-san)

@juancarlospaco this is easily done on your own system, not in a PKGBUILD, given that building packages runs as root:

sudo groupadd unrealengine-users
sudo usermod -aG unrealengine-users (your-username)
sudo chown -R root:unrealengine-users /opt/unreal-engine
sudo chmod -R 775 /opt/unreal-engine

Permission issues like this are already mentioned on the UE Arch wiki page: https://wiki.archlinux.org/title/Unreal_Engine_4#Installing_from_the_AUR

This is a user system problem; I already did what I could without needing users to do the above by giving the 777 permissions. If it still gives you trouble, you'll have to use the example to solve it or change the install location to somewhere you have user permissions by default (as I cannot do this for you).

zerophase commented on 2021-05-27 08:15 (UTC) (edited on 2021-05-30 08:41 (UTC) by zerophase)

Will update to 5.0 when it is released.

Latest Comments

« First ‹ Previous 1 .. 6 7 8 9 10 11 12 13 14 15 16 .. 79 Next › Last »

Neko-san commented on 2023-02-07 10:55 (UTC) (edited on 2023-05-20 09:22 (UTC) by Neko-san)

@juancarlospaco No, that's outside the scope of the PKGBUILD.

If you're using KDE Plasma, thia can be easily done in the system File Association settings.

In other desktop environments, how you do this may vary, and is outside of my control. It's up to you, as the user, to figure that out.

Ideally, UE5 should update this itself but it doesn't because Epic doesn't prioritize Linux.

If you do figure out an agnostic way to do this thay doesn't require root, let me know and I'll implement it, but otherwise it is not a goal of this package to set up.

juancarlospaco commented on 2023-02-07 03:07 (UTC)

Is possible to add to the PKGBUILD to open *.uproject with Unreal Engine by default after install?, currently it opens with the plain-text editor and thats useless. Thanks.

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

@nic-hartley The reason why that folder path doesn't exist is because the build failed, as you mentioned:

Unhandled exception: One or more errors occurred. (The type initializer for 'UnrealBuildBase.Unreal' threw an exception.)

I can't give you an exact reason for why this happened, because it shouldn't have, but all I can advise is that you just nuke the whole thing and start over.

I'm going to implement an error detection in the build function of the PKGBUILD to stop makepkg before it reaches the package function; so, you shouldn't see stuff like folders not existing messages if the build itself fails anymore.

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

@Kobe_Staude the engine is big, there's nothing I can do about that, so yes unless you have external storage, in which case, there are configuration options to assist with that

@amperotactico read the pins

@nic-hartley That shouldn't be happening, since I had several people test this extensively already to avoid problems like this, but I'll review it again to see if I can find what might be causing it.

camperotactico commented on 2023-01-29 16:14 (UTC)

Hi, I just installed the engine and tried to create a new project. I got this error message:

"An error occurred while trying to generate project files.

Running /opt/unreal-engine/Engine/Build/BatchFiles/Linux/Build.sh -projectfiles -project="/home/alberto/Repositories/UnrealEngine/Learning/Learning.uproject" -game -engine -progress Setting up bundled DotNet SDK chmod: changing permissions of '/opt/unreal-engine/Engine/Build/BatchFiles/Linux/../../../Binaries/ThirdParty/DotNet/6.0.302/linux/dotnet': Operation not permitted"

Any idea how I could resolve this?

nic-hartley commented on 2023-01-28 20:09 (UTC) (edited on 2023-01-28 20:15 (UTC) by nic-hartley)

I can't get this to work. With a clean git pull and makepkg -sirc, it errors out partway through on:

cp: cannot stat '$REPO/src/unreal-engine/LocalBuilds/Engine/Linux/*': No such file or directory

(the $REPO is just marking the path of the repo, somewhere in ~/Downloads, not literally in the output.)

There's a big scary red line just a bit further up:

Unhandled exception: One or more errors occurred. (The type initializer for 'UnrealBuildBase.Unreal' threw an exception.)

(I tried a bit more fiddling, e.g. creating that directory or putting a file in, but it just ends up hanging later on, with no error message and no CPU usage. I figure it's probably caused by the same problem.)

Kobe_Staude commented on 2023-01-23 16:00 (UTC)

Got the following error when I got to installing the unreal-engine 5.1.0-25 package:

error: Partition / too full: 35238678 blocks needed, 1522864 blocks free

Will I really need to allocate 134 GBs of root space?

Neko-san commented on 2022-12-20 04:56 (UTC)

Make sure you have vulkan-icd-loader and vulkan-intel installed; your CPU's iGPU supposedly supports Vulkan, so I'm not sure why else you'd have this issue.

juancarlospaco commented on 2022-12-10 02:01 (UTC)

pkgrel=25 Works, thanks to everyone that contributed!!.