We are trying to package an Unreal executable following this tutorial (Package Custom Scenes into Executable - MATLAB & Simulink - MathWorks Deutschland).
After building the lighting of project the AutoVrtlEnv.target file is missing from the Binaries\Win64 folder.
We followed the previous steps in the tutorial, such as rebuilding the lighting, making sure that the plugins are located in the same directory as the Unreal Editor requires them to be, …
When attempting to package the Unreal executable, the following error occurs:
Error Message:
Missing UnrealGame binary.
You may have to build the UE project with your IDE. Alternatively, build using UnrealBuildTool with the commandline:
UnrealGame
Output Log:
UATHelper: Packaging (Windows): ERROR: Stage Failed. Missing receipt ‘C:\project\AutoVrtlEnv\Binaries\Win64\AutoVrtlEnv.target’. Check that this target has been built.
UATHelper: Packaging (Windows): (see C:\Users____\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.1\Log.txt for full exception trace)
UATHelper: Packaging (Windows): AutomationTool executed for 0h 1m 10s
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=103 (Error_MissingExecutable)
UATHelper: Packaging (Windows): BUILD FAILED
PackagingResults: Error: Missing UnrealGame binary.You may have to build the UE project with your IDE. Alternatively, build using UnrealBuildTool with the commandline:UnrealGame
Do you have any insights on why the missing binary file is not built in the build process?