最近一个项目 poc 中使用了 ue5 做模型,使用了一个开源的 ue5 项目(
https://github.com/xszyou/fay-ue5 )
由于项目原因,期望在打包到 linux 上运行
目前在 windows 上交叉编译成功,但是在 ubuntu 22.04 上运行报错
2023.06.27-17.11.06:118][ 0]LogBlueprintUserMessages: [Main_C_4] 开始运行
Signal 11 caught.
Malloc Size=262146 LargeMemoryPoolOffset=262162
CommonUnixCrashHandler: Signal=11
[2023.06.27-17.11.06:145][ 0]LogCore: === Critical error: ===
Unhandled Exception: SIGSEGV: invalid attempt to read memory at address 0x0000000000000020
[2023.06.27-17.11.06:145][ 0]LogCore: Fatal error!
0x0000000007207f4d girl_night!UObject::execCallMathFunction(UObject*, FFrame&, void*)()
0x0000000007214a72 girl_night!UObject::execLetObj(UObject*, FFrame&, void*)()
0x000000000720abfe girl_night!ProcessLocalScriptFunction(UObject*, FFrame&, void*)()
0x000000000720a386 girl_night!void ProcessScriptFunction<void ()(UObject, FFrame&, void*)>(UObject*, UFunction*, FFrame&, void*, void ()(UObject, FFrame&, void*))()
0x000000000720b723 girl_night!ProcessLocalFunction(UObject*, UFunction*, FFrame&, void*)()
0x000000000720abfe girl_night!ProcessLocalScriptFunction(UObject*, FFrame&, void*)()
0x0000000007062b97 girl_night!UFunction::Invoke(UObject*, FFrame&, void*)()
0x00000000072108c3 girl_night!UObject::ProcessEvent(UFunction*, void*)()
0x000000000b2832df girl_night!AActor::ProcessEvent(UFunction*, void*)()
0x000000000b2979b7 girl_night!AActor::BeginPlay()()
0x000000000b296f0b girl_night!AActor::DispatchBeginPlay(bool)()
0x000000000c39329b girl_night!AWorldSettings::NotifyBeginPlay()()
0x000000000b8644bc girl_night!AGameStateBase::HandleBeginPlay()()
0x000000000c33edaa girl_night!UWorld::BeginPlay()()
0x000000000c217880 girl_night!UEngine::LoadMap(FWorldContext&, FURL, UPendingNetGame*, FString&)()
0x000000000c2139ef girl_night!UEngine::Browse(FWorldContext&, FURL, FString&)()
0x000000000b835175 girl_night!UGameInstance::StartGameInstance()()
0x00000000044ac970 girl_night!FEngineLoop::Init()()
0x00000000044b938c girl_night!GuardedMain(char16_t const*)()
0x000000000cc34ba8 girl_night!CommonUnixMain(int, char**, int ()(char16_t const), void (*)())()
0x00007fd993cdc555 libc.so.6!__libc_start_main(+0xf4)
0x00000000044ab769 girl_night!_start()
[2023.06.27-17.11.06:151][ 0]LogExit: Executing StaticShutdownAfterError
运行环境是 i7-13790 + 3060ti
有没有熟悉 UE5 linux 打包运行的大佬,协助解决下,具体金额可以报价 vx:cnVzaF9wYW5kYQ==