I am getting the following:
ERROR: Unhandled exception: System.UnauthorizedAccessException: Access to the path "/opt/unreal-engine/.vscode" is denied
This file does not exist.
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.053868 |
First Submitted: | 2016-05-01 18:37 (UTC) |
Last Updated: | 2024-11-16 03:10 (UTC) |
« First ‹ Previous 1 .. 33 34 35 36 37 38 39 40 41 42 43 .. 82 Next › Last »
I am getting the following:
ERROR: Unhandled exception: System.UnauthorizedAccessException: Access to the path "/opt/unreal-engine/.vscode" is denied
This file does not exist.
@zerophase I already have, that's not the issue here; this isn't my first time compiling the engine.
@neko-san sign up for an Epic Games and Github account.
It failed to build for me during the mono dependencies collection stage?
Failed to download 'http://cdn.unrealengine.com/dependencies/UnrealEngine-14496039-6b6b3d8021e4450aa1bbf2e55fdf61d9/367f56822993757d8bbaa4b23afdbf7b65cf7a49': Unexpected end of file (CorruptPackFileException)
Result: 1
==> ERROR: A failure occurred in prepare().
Aborting...
If you want to use the system mono set the environment variable to UE_USE_SYSTEM_MONO=1
. You can also turn on the features while building the package through the system build.
@neko-san I believe you need to set fish as an interactive shell, and set environment variables in bash or some other scripting language.
https://wiki.archlinux.org/index.php/Fish#Setting_fish_as_interactive_shell_only
@zerophase I found info on it here: https://fishshell.com/docs/current/cmds/set.html?highlight=export
However, I wouldn't know how that would affect the pkgbuild :/
I imagine it would be something like: set -gx LINUX_MULTIARCH_ROOT '/usr/sbin'
?
I've tried to ask people about this subject in issues on Github before but I usually get rather confusing responses due to them always telling me I'm somehow "doing it wrong" without explaining too well exactly why.
@neko-san I have not used the fish shell. I would recommend reading their manual on how to export environment variables. I can edit the PKGBUILD as needed for you.
@zerophase I use the fish shell (it does environment variables weird), could you help me out real quick to do that properly if it's not too much trouble?
@neko-san If you turn it on in the package you have to pass the argument -ForceUseSystemCompiler
with GenerateProjectFiles.sh
and make ARGS=-ForceUseSystemCompiler
when run from the command line. You also need to set LINUX_MULTIARCH_ROOT
as referenced in the PKGBUILD.
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:
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.