Package Details: unreal-engine 5.5.0-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
Last Packager: Neko-san
Votes: 76
Popularity: 0.190562
First Submitted: 2016-05-01 18:37 (UTC)
Last Updated: 2024-11-16 03:10 (UTC)

Dependencies (29)

Required by (1)

Sources (6)

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 .. 31 32 33 34 35 36 37 38 39 40 41 .. 82 Next › Last »

zerophase commented on 2021-05-10 06:01 (UTC) (edited on 2021-05-10 06:03 (UTC) by zerophase)

@urbenlegend I'm fine with it. But, I get a lot of complaints from people that have not read the package if I turn them on. It's a lot less work for me currently, if I keep them off.

I will be turning ccache on in the future, by default, as Intel is working with ccache to implement support for ISPC compilation. Just asked, and I got an engineer to do it.

@shuriken

Will enabling system mono stop unreal engine from installing bundled mono like the system compiler does ? If not, I don't think using system mono is beneficial. The system compiler actually saves a decent amount of space, as you also mentioned it in the Rider issue.

I'll have to look into the build scripts. I think it's possible to block it. Just by adding an already existing envar to an if statement.

In the patch having system compiler, Which package actually provides system compiler in this repository ? I thought lld https://archlinux.org/packages/extra/x86_64/lld/ but this is not having any system clang. Just had a doubt going through the PKGBUILD.

clang provides clang.

@judasaja Try installing on default Arch. Go ahead, and use the new gui install program if wanted. Manajaro does not necessarily have the same package design as Arch Linux. None of the error messages help narrow the issue down. Unreal won't run on virtual machines, unless maybe you setup hardware passthrough. You'll need to swap distros to test. I'm guessing it could be security permissions or you missing packages.

urbenlegend commented on 2021-05-09 07:23 (UTC)

My issue was due to the package not bringing in the msbuild dependency, not due to any patches. Feel free to turn the patches back on.

shuriken commented on 2021-05-09 06:35 (UTC) (edited on 2021-05-09 08:08 (UTC) by shuriken)

  1. The patches were turned off recently maybe it was due to @urbenlegend having a an issue. Maybe they can be turned back on by default. Also Do I have to set the environment variables after the installation if I enabled these options in my PKGBUILD. Things like system mono , ccache are build dependencies and become orphan, so probably I have to install them separately to use these patches after the build.

  2. Will enabling system mono stop unreal engine from installing bundled mono like the system compiler does ? If not, I don't think using system mono is beneficial. The system compiler actually saves a decent amount of space, as you also mentioned it in the Rider issue.

  3. In the patch having system compiler, Which package actually provides system compiler in this repository ? I thought lld https://archlinux.org/packages/extra/x86_64/lld/ but this is not having any system clang. Just had a doubt going through the PKGBUILD.

judasaja commented on 2021-05-07 14:03 (UTC)

Hi everyone, I'm getting an error with the engine. I try to make a project using C++ (with Blueprints it works as intended) but before it creates the project, I get something like an error and the engine closes itself. I'm getting this info:


Writing project files... 100%
LogSlate: Window 'Unreal Project Browser' being destroyed
Cmd: QUIT_EDITOR
LogCore: Engine exit requested (reason: UUnrealEdEngine::CloseEditor())
LogCore: Engine exit requested (reason: EngineExit() was called; note: exit was already requested)
LogEditorSessionSummary: EditorSessionSummary sent report. Type=Shutdown, SessionId={472970FE-9DCA-41A2-BD86-AAE1FFF91F7D}

I get way more info, but I think it's only because engine called to some Close() function, but there's something that catched my attention too because it says this:

Icon theme "adwaita" not found.
Icon theme "ubuntu-mono" not found.
Icon theme "yaru" not found.
Icon theme "Mint-X" not found.
Icon theme "elementary" not found.

I'm using Garuda Linux, but I first tested it with Manjaro and got the same problem. I really appreciate if anyone can help me figure what's the problem.

zerophase commented on 2021-05-07 00:23 (UTC)

770 is more secure than 775. To have all the Unreal stuff work you need 777. So, you just make a group.

zerophase commented on 2021-05-06 11:21 (UTC)

@urbenlegend Just make a group and make your account a member of it.

I'll have to look into adjusting those paths. I think the engine places a few there while being built. Won't be able to edit those. Though, I can definitely do one of them.

urbenlegend commented on 2021-05-06 02:24 (UTC)

@zerophase The build and install went well, but there's quite a few permissions issues in /opt/unreal-engine

drwxrwx--- 13 root root 4096 May  5 19:06 Engine/
drwxr-xr-x  2 root root 4096 May  5 19:09 FeaturePacks/
-rwxrwx---  1 root root  736 May  5 18:00 GenerateProjectFiles.sh*
drwxr-xr-x  4 root root 4096 May  5 19:09 Samples/
-rwxrwx---  1 root root 1690 May  5 18:00 Setup.sh*
drwxr-xr-x 43 root root 4096 May  5 19:09 Templates/

As you can see, quite a few files and directories are inaccessible to normal users. The /usr/share/applications/com.unrealengine.UE4Editor.desktop shortcut also has the same issue.

In addition to that, I also noticed that user shortcuts get created in ~/.local/share/applications, but those point to the AUR build directory instead of /opt/unreal-engine.

When I fix the permissions so that things in /opt/unreal-engine are readable, I then get a dialog that pops up saying "Local data cache path (../../../Engine/DerivedDataCache) is unavailable so cache will be disabled. Does it require write access to /opt/unreal-engine for normal users?

urbenlegend commented on 2021-05-05 23:35 (UTC)

@zerophase Works perfectly now! I had noticed the msbuild warning before, but since it proceeded after that step I never thought that it was necessary. Thanks for the quick fix!

zerophase commented on 2021-05-05 20:11 (UTC) (edited on 2021-05-05 20:15 (UTC) by zerophase)

@urbenlegend Think it's from msbuild not being installed. Added it as a dependency. Try now.

Which mono package do you have installed?