Hi,
I’m packaging my development (some kind of simulation using UE4 and Cesium). On the Editor, and while developing, everything works OK. I’m using JetBrains Rider as my main editor without any issue. When compiling the solution as Editor code, the UE editor launches just fine and the code works as expected.
But, when I tried to pack the solution (as a stand alone executable), UE editor packs it OK, but the resulted game crash on runtime.
Using the console to launch it and retrieve some information, I get this trace:
2022-10-11 20:25:03.971 VertiportSimulator-Mac-Shipping[62946:37868562] [UE4] LowLevelFatalError [File:Unknown] [Line: 2380]
FMacPlatformMisc::GenerateCrashInfoAndLaunchReporter: posix_spawn() failed (13, Permission denied)
No further information is available. In order to understand the issue, I tried to compile the solution directly using Rider, but as a Game and not as an Editor solution. Then, I’m getting these traces:
LogGenericPlatformMisc: Warning: Failed to determine engine directory: Defaulting to
Looks like it is trying to find the engine somewhere else (“/User/build/Build…”) and fails (engine core is not there…)
So, here are my questions:
- Is there any way to set UE4 Engine path before compiling the solution? If so, how?
- Could it be something else? Launching the game using the editor (Play button), works just fine.
I would like to have this solution as a stand-alone executable, as I need to work with it inside a network setup, and using the whole editor is not practical at all.
I’m working with UE4.27.2 on MacOS, Apple M1 Plus chip.
Thank you very much.