Crash on Linux Pop!_OS 20.10
See original GitHub issueHey there, I wanted to give this a whirl on Linux, so I cloned the UnrealEngine repo, built the engine, everything was good there. Did a fresh clone of UnrealCLR, went through the process, set the project directory, that went well. Fired up UE and the project, it asked to build the plugin and that seemed to go as it should.
dotnet run
Plugin Build
LogPluginManager: Mounting plugin UnrealCLR
LogInit: Warning: Incompatible or missing module: UnrealCLR
Invalidating makefile for UE4Editor (Definitions.UnrealCLR.h deleted)
[1/4] Compile Module.UnrealCLR.cpp
[2/4] Compile Module.UnrealCLR.gen.cpp
[3/4] Link (lld) libUE4Editor-UnrealCLR.so
LogUnrealCLR: Display: StartupModule: Host path set to "/mnt/x/_unreal/Projects/dotnet_project/Plugins/UnrealCLR/Runtime/Linux/host/fxr/5.0.3/libhostfxr.so"
LogUnrealCLR: Display: StartupModule: Host library loaded successfuly!
LogUnrealCLR: Display: StartupModule: Host functions loaded successfuly!
LogUnrealCLR: Display: StartupModule: Host runtime assembly loaded succesfuly!
LogUnrealCLR: Display: StartupModule: Host runtime assembly initialized succesfuly!
LogUnrealCLR: Display: StartupModule: Host loaded succesfuly!
I then went and loaded the Tests map and went to hit Play to see if it was going to work, as I had seen at this section of Mikes video here: (https://youtu.be/t8nP0IEWLZU?t=299)
Unfortunately, as soon as I hit play and it began to load, I was greeted with a crash popup that contained the following error.
Segmentation fault
Caught signal 11 Segmentation fault
libpthread.so.0!UnknownFunction(0x14bb0)
libUE4Editor-UnrealCLR.so!UnrealCLRFramework::SceneComponent::GetComponentTransform(USceneComponent*, FTransform*) [/mnt/x/_unreal/Projects/dotnet_project/Plugins/UnrealCLR/Source/UnrealCLR/Private/UnrealCLRFramework.cpp:2462]
Unknown!UnknownFunction()
I have recreated the steps I took to achieve the error, just in case I missed something, or if something is different on Linux?
Crash clip
System Details
OS: Pop!_OS 20.10 x86_64
Host: X570 AORUS ELITE -CF
Kernel: 5.8.0-7642-generic
Uptime: 1 day, 23 hours, 57 mins
Packages: 3038 (dpkg), 23 (flatpak)
Shell: zsh 5.8
Resolution: 1920x1080, 2560x1080, 1920x1080
DE: Unity
WM: Mutter
WM Theme: Adwaita
Theme: Pop-dark [GTK2/3]
Icons: Adwaita [GTK2/3]
Terminal: Terminus
CPU: AMD Ryzen 9 3950X (32) @ 3.500GHz
GPU: NVIDIA GeForce RTX 2070
Memory: 23689MiB / 64321MiB
If any more information is needed, please do let me know. Thanks, -MH
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (5 by maintainers)
This issue is reproduced.
I didn’t encounter this in a fresh project. Can you please describe how I can reproduce it?