Building UE5.6.1 from source on Ubuntu but got a segmentation fault

I was trying to build UE5.6.1 from source on Ubuntu 20.04LTS, had no problem executing setup and generate project file shell scripts. But when executing make all and started building, got this error: UbaSessionServer ERROR: Segmentation fault, SIGNAL 11.

Before the fault, the logs shows: Using unreal build accelerator local executor to run 2 actions, storage capacity 40gb, UbaSessionServer - disable remote execution (remote sessions will finish current processes).

Anyone had this kind of problem befoer?
I’m using ubuntu 20.04lts, and official documents recommends 22.04, could it be the OS difference?

And I noticed that UnrealBuildAccelerator binary files was downloaded during Setup sh execution, is it possible that Uba binary files is the problem?



我在ubuntu20.04LTS上从代码编译5.6.1时,setup和generate projectfile两个脚本执行没有问题,但在执行make all时,UbaSessionServer回报了segmentation fault错误。在seg fault错误发生之前的log显示为:Using unreal build accelerator local executor to run 2 actions, storage capacity 40gb, UbaSessionServer - disable remote execution (remote sessions will finish current processes).

我查到官网文档推荐linux os为ubuntu22.04,和我这里的os的差别会不会导致这个问题呢?

另外我注意到make命令调用的uba应该是setup脚本执行时下载的二进制文件,是否可能这些文件本身有问题呢?




type make commandline "make all ARGS=-NoUBA”

你可以试试不用uba,可以自行修改一下makefile,在所有调用UBT编译的地方加上 -nouba 参数

(post deleted by author)

make命令行写成 make all ARGS=-NoUBA, 成功开始了编译过程