Package Details: unreal-engine 4.26.2-3

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 UE4 Unreal
Licenses: custom:UnrealEngine
Submitter: acerix
Maintainer: zerophase (Shatur)
Last Packager: zerophase
Votes: 60
Popularity: 2.89
First Submitted: 2016-05-01 18:37
Last Updated: 2021-05-11 09:30

Latest Comments

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

zerophase commented on 2021-05-12 22:01

@shuriken You just apply the patches after pulling from the repo. Your patches would be with the PKGBUILD.

shuriken commented on 2021-05-12 09:31

@zerophase I want to use the 4.27 branch with my own patches as well I have done the following changes to the PKGBUILD

  1. Changed $pkgver to 4.27.
  2. Changed the initial installation to -git clone --single-branch --branch $pkgver git@github.com:EpicGames/UnrealEngine $pkgname and If directory exists - git pull origin

However is there any way I can do --depth=1 and don't let my patches go away. As currently this PKGBUILD is doing a hard reset which will probably remove my patches.

zerophase commented on 2021-05-10 19:28

If anyone finds other files not needed by the engine let me know.

zerophase commented on 2021-05-10 09:14

@shuriken We could just make a second package for the default engine, and keep most of the makedepends in depends.

Checking if system mono, python, and python3 don't need to be installed. Would save about a gig prior to stripping.

shuriken commented on 2021-05-10 08:17

To enable all the patches I moved all the "makedepends" to "depends". So that they don't get removed as orphans. Enabled the system patches in PKGBUILD. Added all environment variables as mentioned in PKGBUILD. And I can confirm everything is working great ! I just recommend to add a patch to disable bundled mono from installing if the use system mono patch is enabled :) I also changed my PKGBUILD to use a different branch and update it to the latest patches from that branch if it already exists.

zerophase commented on 2021-05-10 06:01

@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

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

  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

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

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