kinu-garage / hut_10sqft

Computer setup tools for my own environment, and public discussion place holder.
2 stars 1 forks source link

VSCode: "message": "CoreMinimal.h: No such file or directory" #858

Closed 130s closed 1 year ago

130s commented 1 year ago

Occurred during https://github.com/kinu-garage/essay_in_idleness/issues/6

Building the 1st sample prj fails when referring to a header in Unreal's library: C++ from [here](https://www.coursera.org/learn/introductionprogrammingunreal/supplement/d4Nc9/exercise-2-writing-your-first-unreal-script): ``` Starting build... /usr/bin/g++ -fdiagnostics-color=always -g /home/onyanko-hanakuso/unreal_prjs/eg_cpp_mooc/Source/eg_cpp_mooc/PrintMessage.cpp -o /home/onyanko-hanakuso/unreal_prjs/eg_cpp_mooc/Source/eg_cpp_mooc/PrintMessage In file included from /home/onyanko-hanakuso/unreal_prjs/eg_cpp_mooc/Source/eg_cpp_mooc/PrintMessage.cpp:4: /home/onyanko-hanakuso/unreal_prjs/eg_cpp_mooc/Source/eg_cpp_mooc/PrintMessage.h:5:10: fatal error: CoreMinimal.h: No such file or directory 5 | #include "CoreMinimal.h" | ^~~~~~~~~~~~~~~ compilation terminated. Build finished with error(s). * The terminal process failed to launch (exit code: -1). * Terminal will be reused by tasks, press any key to close it. ``` Not sure if this is related but when I just opened the workspace by switching from another workspace, I got: ``` "PrintMessage.cpp" not found in "/home/xxxxx/eg_cpp_mooc/.vscode/compileCommands_Default.json". 'includePath' from c_cpp_properties.json in folder 'eg_cpp_mooc' will be used for this file instead. ```
130s commented 1 year ago

Via https://gamedev.stackexchange.com/a/192114/172669, I noticed "Compiler Path" for the prj on VSCode is set to something like ~/pg/unreal-engine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7, while in the same pulldown menu I see a bunch of other, simpler path e.g. /usr/bin/{clang, gcc, g++}. Switching it to clang didn't take an effect.

Following https://stackoverflow.com/a/75427874/577001, I did on UE5 "tools -> refresh visual studio code project", then "Run Build Task" on VSC, then VSC asked me to choose the type of job where I selected something like %PRJ_NAME%/DEBUG build, then I now got a different the error msg.

 *  Executing task in folder eg_cpp_mooc: Engine/Build/BatchFiles/Linux/Build.sh eg_cpp_mooc Linux Debug /home/onyanko-hanakuso/unreal_prjs/eg_cpp_mooc/eg_cpp_mooc.uproject -waitmutex 

Setting up bundled DotNet SDK
Running command : dotnet Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.dll eg_cpp_mooc Linux Debug /home/onyanko-hanakuso/unreal_prjs/eg_cpp_mooc/eg_cpp_mooc.uproject -waitmutex
Log file: /home/n130s/.config/Epic/UnrealBuildTool/Log.txt
Using 'git status' to determine working set for adaptive non-unity build (/home/onyanko-hanakuso/unreal_prjs/eg_cpp_mooc).
Creating makefile for eg_cpp_mooc (no existing makefile)
Targets cannot be built in the Debug configuration with this engine distribution.

 *  The terminal process "/usr/bin/bash '-c', 'Engine/Build/BatchFiles/Linux/Build.sh eg_cpp_mooc Linux Debug /home/onyanko-hanakuso/unreal_prjs/eg_cpp_mooc/eg_cpp_mooc.uproject -waitmutex'" terminated with exit code: 6. 
 *  Terminal will be reused by tasks, press any key to close it. 

So instead, I re-ran and now chose %PRJ_NAME%/DEBUGGAME build, the compilation seems to be proceeding.

130s commented 1 year ago

Following https://stackoverflow.com/a/75427874/577001, I did on UE5 "tools -> refresh visual studio code project", then "Run Build Task" on VSC, then VSC asked me to choose the type of job where I selected something like %PRJ_NAME%/DEBUG build, then I now got a different the error msg.

This might have reset the project setting I previously made? Anyways include path is now empty again. So adding there: /home/onyanko/pg/unreal-engine/Engine/Source/Runtime/Core/Public

Hmmm, still not good. In fact I see the .cpp file of my interest is "excluded". ``` Setting up bundled DotNet SDK Running command : dotnet Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.dll eg_cpp_mooc Linux Development /home/onyanko-hanakuso/unreal_prjs/eg_cpp_mooc/eg_cpp_mooc.uproject -waitmutex Log file: /home/n130s/.config/Epic/UnrealBuildTool/Log.txt Using 'git status' to determine working set for adaptive non-unity build (/home/onyanko-hanakuso/unreal_prjs/eg_cpp_mooc). Creating makefile for eg_cpp_mooc (no existing makefile) Parsing headers for eg_cpp_mooc Running Internal UnrealHeaderTool /home/onyanko-hanakuso/unreal_prjs/eg_cpp_mooc/eg_cpp_mooc.uproject /home/onyanko-hanakuso/unreal_prjs/eg_cpp_mooc/Intermediate/Build/Linux/eg_cpp_mooc/Development/eg_cpp_mooc.uhtmanifest -WarningsAsErrors -installed Total of 0 written Reflection code generated for eg_cpp_mooc in 1.276258 seconds ------- Build details -------- Using toolchain located at '/home/n130s/pg/unreal-engine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu'. Using clang (/home/n130s/pg/unreal-engine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++) version 'clang version 15.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /home/n130s/pg/unreal-engine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu/bin' (string), 15 (major), 0 (minor), 1 (patch) Using bundled libc++ standard C++ library. Using lld linker Using llvm-ar (/home/n130s/pg/unreal-engine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu/bin/llvm-ar) version 'LLVM (http://llvm.org/): LLVM version 15.0.1 Optimized build. Default target: x86_64-unknown-linux-gnu Host CPU: alderlake (string)' Using fast way to relink circularly dependent libraries (no FixDeps). ------------------------------ Building eg_cpp_mooc... [Upgrade] [Upgrade] Using backward-compatible include order. The latest version of UE has changed the order of includes, which may require code changes. The current setting is: [Upgrade] IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_1 [Upgrade] Suppress this message by setting 'IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_2;' in eg_cpp_mooc.Target.cs. [Upgrade] Alternatively you can set this to 'EngineIncludeOrderVersion.Latest' to always use the latest include order. This will potentially cause compile errors when integrating new versions of the engine. [Upgrade] [Adaptive Build] Excluded from eg_cpp_mooc unity file: PrintMessage.cpp Determining max actions to execute in parallel (16 physical cores, 16 logical cores) Executing up to 16 processes, one per physical core Requested 1.5 GB free memory per action, 12.43 GB available: limiting max parallel actions to 8 Building 9 actions with 8 processes... [1/9] Compile SharedPCH.Engine.ShadowErrors.InclOrderUnreal5_1.h [2/9] Compile PrintMessage.cpp [3/9] Compile eg_cpp_mooc.cpp [4/9] Compile eg_cpp_moocGameModeBase.cpp [5/9] Compile PrintMessage.gen.cpp [6/9] Compile eg_cpp_moocGameModeBase.gen.cpp [7/9] Compile eg_cpp_mooc.init.gen.cpp [8/9] Link (lld) eg_cpp_mooc [9/9] WriteMetadata eg_cpp_mooc.target Total time in Parallel executor: 74.93 seconds Total execution time: 78.07 seconds * Terminal will be reused by tasks, press any key to close it. ```
130s commented 1 year ago
Then rebooting UnrealEditor keeps crashing... ``` LoginId:27f86798a6f142a68d1d994f95f0f4f3-000003e9 EpicAccountId: Fatal error: [File:./Runtime/VulkanRHI/Private/VulkanMemory.cpp] [Line: 1993] Out of memory on Vulkan; MemoryTypeIndex=1, AllocSize=128.000MB 0x00007fe4bd144a15 libUnrealEditor-VulkanRHI.so!VulkanRHI::FVulkanResourceHeap::AllocateResource(VulkanRHI::FVulkanAllocation&, FVulkanEvictable*, VulkanRHI::EType, unsigned int, unsigned int, bool, bool, VulkanRHI::EVulkanAllocationMetaType, bool, char const*, unsigned int) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/VulkanRHI/Private/VulkanMemory.cpp:1993] 0x00007fe4bd14bd18 libUnrealEditor-VulkanRHI.so!VulkanRHI::FMemoryManager::AllocateBufferMemory(VulkanRHI::FVulkanAllocation&, FVulkanEvictable*, VkMemoryRequirements const&, unsigned int, VulkanRHI::EVulkanAllocationMetaType, bool, char const*, unsigned int) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/VulkanRHI/Private/VulkanMemory.cpp:2969] 0x00007fe4bd1e9b7c libUnrealEditor-VulkanRHI.so!FVulkanTransientHeap::FVulkanTransientHeap(FRHITransientHeap::FInitializer const&, FVulkanDevice*) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/VulkanRHI/Private/VulkanTransientResourceAllocator.cpp:51] 0x00007fe4bd1eac7a libUnrealEditor-VulkanRHI.so!FVulkanTransientHeapCache::CreateHeap(FRHITransientHeap::FInitializer const&) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/VulkanRHI/Private/VulkanTransientResourceAllocator.cpp:106] 0x00007fe578f7d39a libUnrealEditor-RHICore.so!FRHITransientHeapCache::Acquire(unsigned long long, ERHITransientHeapFlags) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/RHICore/Private/RHICoreTransientResourceAllocator.cpp:625] 0x00007fe578f7de24 libUnrealEditor-RHICore.so!FRHITransientResourceHeapAllocator::CreateBufferInternal(FRHIBufferCreateInfo const&, char16_t const*, unsigned int, unsigned int, unsigned int, TFunction) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/RHICore/Private/RHICoreTransientResourceAllocator.cpp:755] 0x00007fe4bd1eaf48 libUnrealEditor-VulkanRHI.so!FVulkanTransientResourceAllocator::CreateBuffer(FRHIBufferCreateInfo const&, char16_t const*, unsigned int) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/VulkanRHI/Private/VulkanTransientResourceAllocator.cpp:138] 0x00007fe5930b93d3 libUnrealEditor-RenderCore.so!FRDGBuilder::BeginResourceRHI(TRDGHandle, FRDGBuffer*) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/RenderCore/Private/RenderGraphBuilder.cpp:3663] 0x00007fe5930c6925 libUnrealEditor-RenderCore.so!FRDGBuilder::BeginResourcesRHI(FRDGPass*, TRDGHandle) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/RenderCore/Private/RenderGraphBuilder.cpp:2947] 0x00007fe5930c1f2a libUnrealEditor-RenderCore.so!FRDGBuilder::Execute() [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/RenderCore/Private/RenderGraphBuilder.cpp:1800] 0x00007fe5812bf1e5 libUnrealEditor-Renderer.so!RenderViewFamilies_RenderThread(FRHICommandListImmediate&, TArray > const&) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/Renderer/Private/SceneRendering.cpp:4415] 0x00007fe5812beb99 libUnrealEditor-Renderer.so!TEnqueueUniqueRenderCommandType)::FDrawSceneCommandName, FRendererModule::BeginRenderingViewFamilies(FCanvas*, TArrayView)::$_48>::DoTask(ENamedThreads::Type, TRefCountPtr const&) [/mnt/horde/++UE5/Sync/Engine/Source/Runtime/RenderCore/Public/RenderingThread.h:209] 0x00007fe5812c1ad3 libUnrealEditor-Renderer.so!TGraphTask)::FDrawSceneCommandName, FRendererModule::BeginRenderingViewFamilies(FCanvas*, TArrayView)::$_48> >::ExecuteTask(TArray >&, ENamedThreads::Type, bool) [/mnt/horde/++UE5/Sync/Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h:1310] 0x00007fe59973879f libUnrealEditor-Core.so!FNamedTaskThread::ProcessTasksNamedThread(int, bool) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/Core/Private/Async/TaskGraph.cpp:758] 0x00007fe5997366c0 libUnrealEditor-Core.so!FNa libUnrealEditor-VulkanRHI.so!VulkanRHI::FVulkanResourceHeap::AllocateResource(VulkanRHI::FVulkanAllocation&, FVulkanEvictable*, VulkanRHI::EType, unsigned int, unsigned int, bool, bool, VulkanRHI::EVulkanAllocationMetaType, bool, char const*, unsigned int) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/VulkanRHI/Private/VulkanMemory.cpp:1993] libUnrealEditor-VulkanRHI.so!VulkanRHI::FMemoryManager::AllocateBufferMemory(VulkanRHI::FVulkanAllocation&, FVulkanEvictable*, VkMemoryRequirements const&, unsigned int, VulkanRHI::EVulkanAllocationMetaType, bool, char const*, unsigned int) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/VulkanRHI/Private/VulkanMemory.cpp:2969] libUnrealEditor-VulkanRHI.so!FVulkanTransientHeap::FVulkanTransientHeap(FRHITransientHeap::FInitializer const&, FVulkanDevice*) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/VulkanRHI/Private/VulkanTransientResourceAllocator.cpp:51] libUnrealEditor-VulkanRHI.so!FVulkanTransientHeapCache::CreateHeap(FRHITransientHeap::FInitializer const&) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/VulkanRHI/Private/VulkanTransientResourceAllocator.cpp:106] libUnrealEditor-RHICore.so!FRHITransientHeapCache::Acquire(unsigned long long, ERHITransientHeapFlags) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/RHICore/Private/RHICoreTransientResourceAllocator.cpp:625] libUnrealEditor-RHICore.so!FRHITransientResourceHeapAllocator::CreateBufferInternal(FRHIBufferCreateInfo const&, char16_t const*, unsigned int, unsigned int, unsigned int, TFunction) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/RHICore/Private/RHICoreTransientResourceAllocator.cpp:755] libUnrealEditor-VulkanRHI.so!FVulkanTransientResourceAllocator::CreateBuffer(FRHIBufferCreateInfo const&, char16_t const*, unsigned int) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/VulkanRHI/Private/VulkanTransientResourceAllocator.cpp:138] libUnrealEditor-RenderCore.so!FRDGBuilder::BeginResourceRHI(TRDGHandle, FRDGBuffer*) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/RenderCore/Private/RenderGraphBuilder.cpp:3663] libUnrealEditor-RenderCore.so!FRDGBuilder::BeginResourcesRHI(FRDGPass*, TRDGHandle) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/RenderCore/Private/RenderGraphBuilder.cpp:2947] libUnrealEditor-RenderCore.so!FRDGBuilder::Execute() [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/RenderCore/Private/RenderGraphBuilder.cpp:1800] libUnrealEditor-Renderer.so!RenderViewFamilies_RenderThread(FRHICommandListImmediate&, TArray > const&) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/Renderer/Private/SceneRendering.cpp:4415] libUnrealEditor-Renderer.so!TEnqueueUniqueRenderCommandType)::FDrawSceneCommandName, FRendererModule::BeginRenderingViewFamilies(FCanvas*, TArrayView)::$_48>::DoTask(ENamedThreads::Type, TRefCountPtr const&) [/mnt/horde/++UE5/Sync/Engine/Source/Runtime/RenderCore/Public/RenderingThread.h:209] libUnrealEditor-Renderer.so!TGraphTask)::FDrawSceneCommandName, FRendererModule::BeginRenderingViewFamilies(FCanvas*, TArrayView)::$_48> >::ExecuteTask(TArray >&, ENamedThreads::Type, bool) [/mnt/horde/++UE5/Sync/Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h:1310] libUnrealEditor-Core.so!FNamedTaskThread::ProcessTasksNamedThread(int, bool) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/Core/Private/Async/TaskGraph.cpp:758] libUnrealEditor-Core.so!FNamedTaskThread::ProcessTasksUntilQuit(int) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/Core/Private/Async/TaskGraph.cpp:648] libUnrealEditor-Core.so!FTaskGraphCompatibilityImplementation::ProcessThreadUntilRequestReturn(ENamedThreads::Type) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/Core/Private/Async/TaskGraph.cpp:2069] libUnrealEditor-RenderCore.so!RenderingThreadMain(FEvent*) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/RenderCore/Private/RenderingThread.cpp:416] libUnrealEditor-RenderCore.so!FRenderingThread::Run() [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/RenderCore/Private/RenderingThread.cpp:567] libUnrealEditor-Core.so!FRunnableThreadPThread::Run() [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/Core/Private/HAL/PThreadRunnableThread.cpp:25] libUnrealEditor-Core.so!FRunnableThreadPThread::_ThreadProc(void*) [/mnt/horde/++UE5/Sync/Engine/Source/Runtime/Core/Private/HAL/PThreadRunnableThread.h:187] libc.so.6!UnknownFunction(0x94b42) libc.so.6!UnknownFunction(0x1269ff) ```

Having no idea, I'm just re-creating a project.

130s commented 1 year ago

Following https://medium.com/@ricardoemiranda/compiling-a-c-project-in-unreal-engine-5-0-971a1b07af20,

Then, back to UEditor, I dragged the PrintMessage obj (?) onto the main pane then clicked "Play" button (light green), then UE crashed again (I saw core dump).

Some log during adding an item to main pane, pressed play button, crash ``` [2023.07.06-19.46.17:964][ 0]LogViewport: Scene viewport resized to 1216x622, mode Windowed. [2023.07.06-19.46.18:608][ 1]LogPackageName: Warning: DoesPackageExist called on PackageName that will always return false. Reason: Input '' was empty. [2023.07.06-19.46.31:454][210]LogViewport: Scene viewport resized to 1748x783, mode Windowed. [2023.07.06-19.48.06:158][111]LogDerivedDataCache: /home/n130s/.config/Epic/UnrealEngine/Common/DerivedDataCache: Maintenance finished in +00:00:00.020 and deleted 0 files with total size 0 MiB and 0 empty folders. Scanned 650 files in 951 folders with total size 11 MiB. [2023.07.06-19.51.06:553][816]LogActorFactory: Loading ActorFactory Class /Script/Engine.LevelInstance [2023.07.06-19.51.06:554][816]LogEditor: Attempting to add actor of class 'PrintMessage' to level at 130.00,160.00,0.00 [2023.07.06-19.51.07:478][855]LogEditor: Attempting to add actor of class 'PrintMessage' to level at -760.00,90.00,0.00 [2023.07.06-19.51.07:505][855]LogPackageName: Warning: DoesPackageExist called on PackageName that will always return false. Reason: Input '' was empty. [2023.07.06-19.51.38:120][729]LogDebuggerCommands: Repeating last play command: Selected Viewport [2023.07.06-19.51.38:126][729]LogContentBundle: [map0(Standalone)] Generating Streaming for 0 Content Bundles. [2023.07.06-19.51.38:129][729]LogWorldPartition: Display: GenerateStreaming started... [2023.07.06-19.51.38:129][729]LogWorldPartition: Display: GetPartitionedActors started... [2023.07.06-19.51.38:129][729]LogWorldPartition: Display: GetPartitionedActors took 37 us [2023.07.06-19.51.38:256][729]LogWorldPartition: Display: GenerateStreaming took 126 ms [2023.07.06-19.51.38:257][729]LogPlayLevel: PlayLevel: No blueprints needed recompiling [2023.07.06-19.51.38:258][729]PIE: New page: PIE session: map0 (Jul 6, 2023, 11:51:38 AM) [2023.07.06-19.51.38:258][729]LogOnline: OSS: Created online subsystem instance for: NULL [2023.07.06-19.51.38:258][729]LogOnline: OSS: TryLoadSubsystemAndSetDefault: Loaded subsystem for module [NULL] [2023.07.06-19.51.38:258][729]LogPlayLevel: Creating play world package: /Game/eg_cpp_mooc2/Maps/UEDPIE_0_map0 [2023.07.06-19.51.38:274][729]LogPlayLevel: PIE: StaticDuplicateObject took: (0.015206s) [2023.07.06-19.51.38:274][729]LogPlayLevel: PIE: Created PIE world by copying editor world from /Game/eg_cpp_mooc2/Maps/map0.map0 to /Game/eg_cpp_mooc2/Maps/UEDPIE_0_map0.map0 (0.015254s) [2023.07.06-19.51.38:274][729]LogWorldSubsystemInput: UEnhancedInputDeveloperSettings::bEnableWorldSubsystem is false, the world subsystem will not be created! [2023.07.06-19.51.38:274][729]LogChaos: FPhysicsSolverBase::AsyncDt:-1.000000 [2023.07.06-19.51.38:274][729]LogAIModule: Creating AISystem for world map0 [2023.07.06-19.51.38:275][729]LogWorldPartition: ULevel::OnLevelLoaded(map0)(bIsOwningWorldGameWorld=1, bIsOwningWorldPartitioned=1, bIsValidLevelInstance=0, InitializeForMainWorld=1, InitializeForEditor=0, InitializeForGame=1) [2023.07.06-19.51.38:275][729]LogWorldPartition: Display: WorldPartition initialize started... [2023.07.06-19.51.38:275][729]LogWorldPartition: UWorldPartition::Initialize(Asset=map0, IsEditor=0, bPIEWorldTravel=0 IsGame=0, IsCooking=0) [2023.07.06-19.51.38:278][729]LogContentBundle: [map0(Standalone)] Creating new contrainer. [2023.07.06-19.51.38:278][729]LogWorldPartition: Display: WorldPartition initialize took 3 ms (total: 342 ms) [2023.07.06-19.51.38:278][729]LogPlayLevel: PIE: World Init took: (0.005085s) [2023.07.06-19.51.38:288][729]LogUObjectHash: Compacting FUObjectHashTables data took 0.38ms [2023.07.06-19.51.38:290][729]LogAudio: Display: Creating Audio Device: Id: 2, Scope: Unique, Realtime: True [2023.07.06-19.51.38:290][729]LogAudioMixer: Display: Audio Mixer Platform Settings: [2023.07.06-19.51.38:290][729]LogAudioMixer: Display: Sample Rate: 48000 [2023.07.06-19.51.38:290][729]LogAudioMixer: Display: Callback Buffer Frame Size Requested: 1024 [2023.07.06-19.51.38:290][729]LogAudioMixer: Display: Callback Buffer Frame Size To Use: 1024 [2023.07.06-19.51.38:290][729]LogAudioMixer: Display: Number of buffers to queue: 2 [2023.07.06-19.51.38:290][729]LogAudioMixer: Display: Max Channels (voices): 0 [2023.07.06-19.51.38:290][729]LogAudioMixer: Display: Number of Async Source Workers: 0 [2023.07.06-19.51.38:290][729]LogAudio: Display: AudioDevice MaxSources: 32 [2023.07.06-19.51.38:290][729]LogAudio: Display: Audio Spatialization Plugin: None (built-in). [2023.07.06-19.51.38:290][729]LogAudio: Display: Audio Reverb Plugin: None (built-in). [2023.07.06-19.51.38:290][729]LogAudio: Display: Audio Occlusion Plugin: None (built-in). [2023.07.06-19.51.38:290][729]LogAudioMixerSDL: Display: Initialized SDL using pulseaudio platform API backend. [2023.07.06-19.51.38:290][729]LogAudioMixer: Display: Initializing audio mixer using platform API: 'SDL2' [2023.07.06-19.51.38:598][729]LogAudioMixerSDL: Opening default audio device (device index -1) [2023.07.06-19.51.38:598][729]LogAudioMixerSDL: Opening default audio device (device index -1) [2023.07.06-19.51.38:602][729]LogAudioMixer: Display: Using Audio Hardware Device sof-hda-dsp HDMI / DisplayPort 3 Output [2023.07.06-19.51.38:603][729]LogAudioMixer: Display: Initializing Sound Submixes... [2023.07.06-19.51.38:603][729]LogAudioMixer: Display: Creating Master Submix 'MasterSubmixDefault' [2023.07.06-19.51.38:603][729]LogAudioMixer: Display: Creating Master Submix 'MasterReverbSubmixDefault' [2023.07.06-19.51.38:605][729]LogAudioMixer: Display: Output buffers initialized: Frames=1024, Channels=6, Samples=6144, InstanceID=2 [2023.07.06-19.51.38:606][729]LogAudioMixer: Display: Starting AudioMixerPlatformInterface::RunInternal(), InstanceID=2 [2023.07.06-19.51.38:606][729]LogInit: FAudioDevice initialized with ID 2. [2023.07.06-19.51.38:606][729]LogAudio: Display: Audio Device (ID: 2) registered with world 'map0'. [2023.07.06-19.51.38:606][729]LogAudioMixer: Initializing Audio Bus Subsystem for audio device with ID 2 [2023.07.06-19.51.38:610][729]LogLoad: Game class is 'GameModeBase' [2023.07.06-19.51.38:611][729]LogWorld: Bringing World /Game/eg_cpp_mooc2/Maps/UEDPIE_0_map0.map0 up for play (max tick rate 0) at 2023.07.06-15.51.38 [2023.07.06-19.51.38:611][729]LogWorld: Bringing up level for play took: 0.000918 [2023.07.06-19.51.38:612][729]LogOnline: OSS: Created online subsystem instance for: :Context_1 [2023.07.06-19.51.38:637][729]LogWorldPartition: UWorldPartitionStreamingPolicy: CellsToActivate(39), CellsToLoad(0), CellsToUnload(0) [2023.07.06-19.51.38:637][729]LogWorldPartition: UWorldPartitionStreamingPolicy: Sources[0] = X=542.474 Y=1.911 Z=318.370,P=-0.000000 Y=-179.798175 R=-0.000000 [2023.07.06-19.51.38:650][729]LogStaticMesh: Display: Waiting on static mesh StaticMesh /Game/__ExternalActors__/eg_cpp_mooc2/Maps/map0/D/GI/LW1MQTGY45VW5ZFQX08AE3.StaticMesh_HLOD0_Instancing_1 being ready before playing [2023.07.06-19.51.38:650][729]LogStaticMesh: Display: Waiting on static mesh StaticMesh /Game/__ExternalActors__/eg_cpp_mooc2/Maps/map0/D/Z5/KI7ALR4HECGL1B4N3ASJ7N.StaticMesh_HLOD0_Instancing_1 being ready before playing [2023.07.06-19.51.38:650][729]LogStaticMesh: Display: Waiting on static mesh StaticMesh /Game/__ExternalActors__/eg_cpp_mooc2/Maps/map0/D/J8/QAV8IHVL4FRWH46N59LPU2.StaticMesh_HLOD0_Instancing_1 being ready before playing [2023.07.06-19.51.38:650][729]LogStaticMesh: Display: Waiting on static mesh StaticMesh /Game/__ExternalActors__/eg_cpp_mooc2/Maps/map0/D/0R/ZO84RY3QI4IR85A9BYCOMJ.StaticMesh_HLOD0_Instancing_1 being ready before playing : [2023.07.06-19.51.38:659][729]LogStreaming: Display: FlushAsyncLoading(-1): 38 QueuedPackages, 0 AsyncPackages [2023.07.06-19.51.38:891][729]LogTexture: Display: Waiting for textures to be ready 0/456 (/Memory/UEDPIE_0_map0_MainGrid_L0_X0_Y-1_InstanceOf_/Game/__ExternalActors__/eg_cpp_mooc2/Maps/map0/E/R1/GQ3F26WUQ7VB5PWB9XA35Y) ... [2023.07.06-19.51.41:034][729]LogMeshUtilities: Finished distance field build in 2.4s - 126x126x126 sparse distance field, 1.5Mb total, 0.1Mb always loaded, 39% occupied, 96 triangles, StaticMesh_HLOD0_Instancing_1 [2023.07.06-19.51.41:339][729]PIE: Server logged in [2023.07.06-19.51.41:340][729]PIE: Play in editor total start time 3.214 seconds. [2023.07.06-19.51.41:397][729]LogPackageName: Warning: DoesPackageExist called on PackageName that will always return false. Reason: Input '' was empty. [2023.07.06-19.51.41:400][729]LogPackageName: Warning: DoesPackageExist called on PackageName that will always return false. Reason: Input '' was empty. [2023.07.06-19.51.41:403][729]LogPackageName: Warning: DoesPackageExist called on PackageName that will always return false. Reason: Input '' was empty. [2023.07.06-19.51.41:405][729]LogPackageName: Warning: DoesPackageExist called on PackageName that will always return false. Reason: Input '' was empty. [2023.07.06-19.51.41:408][729]LogPackageName: Warning: DoesPackageExist called on PackageName that will always return false. Reason: Input '' was empty. [2023.07.06-19.51.41:412][729]LogPackageName: Warning: DoesPackageExist called on PackageName that will always return false. Reason: Input '' was empty. [2023.07.06-19.51.41:414][729]LogPackageName: Warning: DoesPackageExist called on PackageName that will always return false. Reason: Input '' was empty. [2023.07.06-19.51.41:474][730]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=65536.00Kb MemTypeIndex=1 [2023.07.06-19.51.41:648][730]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=131072.00Kb MemTypeIndex=1 [2023.07.06-19.51.41:654][730]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=22776.00Kb MemTypeIndex=1 [2023.07.06-19.51.42:308][730]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=131072.00Kb MemTypeIndex=1 [2023.07.06-19.51.42:309][730]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=131072.00Kb MemTypeIndex=1 [2023.07.06-19.51.42:310][730]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=4464.00Kb MemTypeIndex=1 [2023.07.06-19.51.42:310][730]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=8192.00Kb MemTypeIndex=1 [2023.07.06-19.51.42:685][730]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=8192.00Kb MemTypeIndex=1 [2023.07.06-19.51.42:689][730]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=8928.00Kb MemTypeIndex=1 [2023.07.06-19.51.42:745][730]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=2256.00Kb MemTypeIndex=1 [2023.07.06-19.51.42:762][730]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=8192.00Kb MemTypeIndex=1 [2023.07.06-19.51.43:826][730]LogPackageName: Warning: DoesPackageExist called on PackageName that will always return false. Reason: Input '' was empty. [2023.07.06-19.51.43:828][730]LogPackageName: Warning: DoesPackageExist called on PackageName that will always return false. Reason: Input '' was empty. [2023.07.06-19.51.43:829][730]LogPackageName: Warning: DoesPackageExist called on PackageName that will always return false. Reason: Input '' was empty. [2023.07.06-19.51.43:830][730]LogPackageName: Warning: DoesPackageExist called on PackageName that will always return false. Reason: Input '' was empty. [2023.07.06-19.51.43:832][730]LogPackageName: Warning: DoesPackageExist called on PackageName that will always return false. Reason: Input '' was empty. [2023.07.06-19.51.43:834][730]LogPackageName: Warning: DoesPackageExist called on PackageName that will always return false. Reason: Input '' was empty. [2023.07.06-19.51.43:835][730]LogPackageName: Warning: DoesPackageExist called on PackageName that will always return false. Reason: Input '' was empty. [2023.07.06-19.51.43:841][731]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=524288.00Kb MemTypeIndex=1 [2023.07.06-19.51.45:037][731]LogMeshUtilities: Finished distance field build in 3.9s - 126x126x126 sparse distance field, 1.7Mb total, 0.1Mb always loaded, 47% occupied, 96 triangles, StaticMesh_HLOD0_Instancing_1 [2023.07.06-19.51.45:063][731]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=65536.00Kb MemTypeIndex=1 [2023.07.06-19.51.45:198][731]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=131072.00Kb MemTypeIndex=1 [2023.07.06-19.51.45:198][731]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=8192.00Kb MemTypeIndex=1 [2023.07.06-19.51.45:198][731]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=131072.00Kb MemTypeIndex=1 [2023.07.06-19.51.45:198][731]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=8192.00Kb MemTypeIndex=1 [2023.07.06-19.51.45:198][731]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=131072.00Kb MemTypeIndex=1 [2023.07.06-19.51.45:199][731]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=8192.00Kb MemTypeIndex=1 [2023.07.06-19.51.45:205][731]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=2232.00Kb MemTypeIndex=1 [2023.07.06-19.51.45:256][731]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=8192.00Kb MemTypeIndex=1 [2023.07.06-19.51.45:257][731]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=1128.00Kb MemTypeIndex=1 [2023.07.06-19.51.45:451][731]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=131072.00Kb MemTypeIndex=1 [2023.07.06-19.51.45:451][731]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=31296.00Kb MemTypeIndex=1 [2023.07.06-19.51.45:451][731]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=131072.00Kb MemTypeIndex=1 [2023.07.06-19.51.45:451][731]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=8520.00Kb MemTypeIndex=1 [2023.07.06-19.51.45:915][731]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=8192.00Kb MemTypeIndex=1 [2023.07.06-19.51.45:917][731]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=1152.00Kb MemTypeIndex=1 [2023.07.06-19.51.46:988][731]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=8192.00Kb MemTypeIndex=1 [2023.07.06-19.51.46:988][731]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=1152.00Kb MemTypeIndex=1 [2023.07.06-19.51.47:037][731]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=131072.00Kb MemTypeIndex=1 [2023.07.06-19.51.47:037][731]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=31296.00Kb MemTypeIndex=1 Signal 11 caught. Malloc Size=262146 LargeMemoryPoolOffset=262162 CommonUnixCrashHandler: Signal=11 [2023.07.06-19.51.47:293][731]LogCore: === Critical error: === Unhandled Exception: SIGSEGV: invalid attempt to read memory at address 0x0000000000000150 [2023.07.06-19.51.47:293][731]LogCore: Fatal error! [2023.07.06-19.51.47:293][731]LogCore: Fatal error! 0x00007f51bc6ae594 libGLX_nvidia.so.0!UnknownFunction(0x9f594) 0x00007f51bc691673 libGLX_nvidia.so.0!UnknownFunction(0x82672) 0x00007f517e92424e libnvidia-glcore.so.535.54.03!UnknownFunction(0x152c24d) 0x00007f51bc665089 libGLX_nvidia.so.0!UnknownFunction(0x56088) 0x00007f517ec36f0e libnvidia-glcore.so.535.54.03!UnknownFunction(0x183ef0d) 0x00007f517ec39d2f libnvidia-glcore.so.535.54.03!UnknownFunction(0x1841d2e) 0x00007f517ec5d118 libnvidia-glcore.so.535.54.03!UnknownFunction(0x1865117) 0x00007f51bc6abb20 libGLX_nvidia.so.0!UnknownFunction(0x9cb1f) 0x00007f51bc76ac4e libvulkan.so.1!UnknownFunction(0x34c4d) 0x00007f51bc9ba65c libUnrealEditor-VulkanRHI.so!FVulkanSwapChain::FVulkanSwapChain(VkInstance_T*, FVulkanDevice&, void*, EPixelFormat&, unsigned int, unsigned int, bool, unsigned int*, TArray >&, signed char, FVulkanSwapChainRecreateInfo*) [/m nt/horde/++UE5/Sync/Engine/Source/./Runtime/VulkanRHI/Private/VulkanSwapChain.cpp:534] 0x00007f51bc9f5422 libUnrealEditor-VulkanRHI.so!FVulkanViewport::CreateSwapchain(FVulkanSwapChainRecreateInfo*) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/VulkanRHI/Private/VulkanViewport.cpp:627] 0x00007f51bc9f50b9 libUnrealEditor-VulkanRHI.so!FVulkanViewport::FVulkanViewport(FVulkanDynamicRHI*, FVulkanDevice*, void*, unsigned int, unsigned int, bool, EPixelFormat) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/VulkanRHI/Private/VulkanViewport.cpp:132] 0x00007f51bc9fbfb7 libUnrealEditor-VulkanRHI.so!FVulkanDynamicRHI::RHICreateViewport(void*, unsigned int, unsigned int, bool, EPixelFormat) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/VulkanRHI/Private/VulkanViewport.cpp:1040] 0x00007f5278582f49 libUnrealEditor-SlateRHIRenderer.so!FSlateRHIRenderer::CreateViewport(TSharedRef) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/SlateRHIRenderer/Private/SlateRHIRenderer.cpp:417] 0x00007f52917c6d20 libUnrealEditor-SlateCore.so!SWindow::ShowWindow() [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/SlateCore/Private/Widgets/SWindow.cpp:1411] 0x00007f5291c4b6d9 libUnrealEditor-Slate.so!FSlateApplication::AddWindowAsNativeChild(TSharedRef, TSharedRef, bool) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/Slate/Private/Framework/Application/SlateApplication.cpp:2137] 0x00007f5291df8d0d libUnrealEditor-Slate.so!FSlateNotificationManager::CreateStackForArea(FSlateRect const&, TSharedPtr) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/Slate/Private/Framework/Notifications/NotificationManager.cpp:155] 0x00007f5291df98c9 libUnrealEditor-Slate.so!FSlateNotificationManager::AddNotification(FNotificationInfo const&) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/Slate/Private/Framework/Notifications/NotificationManager.cpp:215] 0x00007f52818028dc libUnrealEditor-StatusBar.so!SStatusBar::UpdateProgressStatus() [/mnt/horde/++UE5/Sync/Engine/Source/./Editor/StatusBar/Private/SStatusBar.cpp:945] 0x00007f528180311a libUnrealEditor-StatusBar.so!SStatusBar::UpdateProgressNotification(FProgressNotificationHandle, int, int, FText) [/mnt/horde/++UE5/Sync/Engine/Source/./Editor/StatusBar/Private/SStatusBar.cpp:698] 0x00007f528180f85a libUnrealEditor-StatusBar.so!UStatusBarSubsystem::UpdateProgressNotification(FProgressNotificationHandle, int, int, FText) [/mnt/horde/++UE5/Sync/Engine/Source/./Editor/StatusBar/Private/StatusBarSubsystem.cpp:630] 0x00007f5291df9c83 libUnrealEditor-Slate.so!FSlateNotificationManager::UpdateProgressNotification(FProgressNotificationHandle, int, int, FText) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/Slate/Private/Framework/Notifications/NotificationManager.cpp:245] 0x00007f52953f4ca6 libUnrealEditor-Engine.so!FAsyncCompilationNotification::Update(int) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/Engine/Private/AsyncCompilationHelpers.cpp:64] 0x00007f5295a2046a libUnrealEditor-Engine.so!FDistanceFieldAsyncQueue::ProcessAsyncTasks(bool) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/Engine/Private/DistanceFieldAtlas.cpp:846] 0x00007f52953c5b52 libUnrealEditor-Engine.so!FAssetCompilingManager::ProcessAsyncTasks(bool) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/Engine/Private/AssetCompilingManager.cpp:518] 0x000000000023d96c UnrealEditor!FEngineLoop::Tick() [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/Launch/Private/LaunchEngineLoop.cpp:5852] 0x000000000024a20a UnrealEditor!GuardedMain(char16_t const*) [/mnt/horde/++UE5/Sync/Engine/Source/./Runtime/Launch/Private/Launch.cpp:190] 0x00007f5299e1a9ba libUnrealEditor-UnixCommonStartup.so!CommonUnixMain(int, char**, int (*)(char16_t const*), void (*)()) [/mnt/horde/++UE5/Sync/Engine/Source/Runtime/Unix/UnixCommonStartup/Private/UnixCommonStartup.cpp:269] 0x00007f528e0ecd90 libc.so.6!UnknownFunction(0x29d8f) 0x00007f528e0ece40 libc.so.6!__libc_start_main(+0x7f) 0x0000000000236749 UnrealEditor!_start() [2023.07.06-19.51.47:303][731]LogExit: Executing StaticShutdownAfterError Malloc Size=178422 LargeMemoryPoolOffset=440614 LogICUInternationalization: ICU TimeZone Detection - Raw Offset: -5:00, Platform Override: '' LogInit: ExecutableName: CrashReportClient LogInit: Build: ++UE5+Release-5.2-CL-26001984 LogInit: Engine Version: 5.2.1-26001984+++UE5+Release-5.2 LogInit: Compatible Engine Version: 5.2.0-25360045+++UE5+Release-5.2 LogInit: Net CL: 25360045 LogInit: OS: Ubuntu 22.04.2 LTS (5.14.0-1058-oem), CPU: 12th Gen Intel(R) Core(TM) i7-1270P, GPU: NVIDIA T550 Laptop GPU (NVIDIA UNIX x86_64 Kernel Module 535.54.03 Tue Jun 6 22:20:39 UTC 2023) LogInit: Compiled (64-bit): Jun 15 2023 04:27:55 LogInit: Architecture: x64 LogInit: Compiled with Clang: 15.0.1 LogInit: Build Configuration: Shipping LogInit: Branch Name: ++UE5+Release-5.2 LogInit: Command Line: -Abslog="/home/n130s/.config/Epic/UnrealEngine/5.2/Saved/Logs/eg_cpp_mooc2-CRC.log" "/home/n130s/.config/Epic/UnrealEngine/5.2/Saved/Crashes/crashinfo-eg_cpp_mooc2-pid-19188-34AAE3DD30314E7C9D85CEE2D0D729A9/" LogInit: Base Directory: /home/n130s/pg/unreal-engine/Engine/Binaries/Linux/ LogInit: Allocator: Mimalloc LogInit: Installed Engine Build: 1 LogInit: Presizing for max 100000 objects, including 0 objects not considered by GC, pre-allocating 0 bytes for permanent pool. LogInit: Object subsystem initialized [2023.07.06-19.51.47:547][ 0]LogConfig: Applying CVar settings from Section [ConsoleVariables] File [Engine] [2023.07.06-19.51.47:547][ 0]LogInit: Unix hardware info: [2023.07.06-19.51.47:547][ 0]LogInit: - we are the first instance of this executable [2023.07.06-19.51.47:547][ 0]LogInit: - this process' id (pid) is 20262, parent process' id (ppid) is 19188 [2023.07.06-19.51.47:547][ 0]LogInit: - we are not running under debugger [2023.07.06-19.51.47:547][ 0]LogInit: - machine network name is '130s-p16s' [2023.07.06-19.51.47:547][ 0]LogInit: - user name is 'n130s' (n130s) [2023.07.06-19.51.47:547][ 0]LogInit: - we're logged in locally [2023.07.06-19.51.47:547][ 0]LogInit: - we're running with rendering [2023.07.06-19.51.47:547][ 0]LogInit: - CPU: GenuineIntel '12th Gen Intel(R) Core(TM) i7-1270P' (signature: 0x906A3) [2023.07.06-19.51.47:547][ 0]LogInit: - Number of physical cores available for the process: 12 [2023.07.06-19.51.47:547][ 0]LogInit: - Number of logical cores available for the process: 16 [2023.07.06-19.51.47:547][ 0]LogInit: - GPU Brand Info: NVIDIA T550 Laptop GPU (NVIDIA UNIX x86_64 Kernel Module 535.54.03 Tue Jun 6 22:20:39 UTC 2023) [2023.07.06-19.51.47:547][ 0]LogInit: - Memory allocator used: Mimalloc [2023.07.06-19.51.47:547][ 0]LogInit: - This binary is optimized with LTO: no, PGO: no, instrumented for PGO data collection: no [2023.07.06-19.51.47:547][ 0]LogInit: - This is an internal build. [2023.07.06-19.51.47:547][ 0]LogCore: Skipped benchmarking clocks because the engine is running in a standalone program mode - CLOCK_MONOTONIC will be used. [2023.07.06-19.51.47:547][ 0]LogInit: Unix-specific commandline switches: [2023.07.06-19.51.47:547][ 0]LogInit: -ansimalloc - use malloc()/free() from libc (useful for tools like valgrind and electric fence) [2023.07.06-19.51.47:548][ 0]LogInit: -jemalloc - use jemalloc for all memory allocation [2023.07.06-19.51.47:548][ 0]LogInit: -binnedmalloc - use binned malloc for all memory allocation [2023.07.06-19.51.47:548][ 0]LogInit: -filemapcachesize=NUMBER - set the size for case-sensitive file mapping cache [2023.07.06-19.51.47:548][ 0]LogInit: -useksm - uses kernel same-page mapping (KSM) for mapped memory (OFF) [2023.07.06-19.51.47:548][ 0]LogInit: -ksmmergeall - marks all mmap'd memory pages suitable for KSM (OFF) [2023.07.06-19.51.47:548][ 0]LogInit: -preloadmodulesymbols - Loads the main module symbols file into memory (OFF) [2023.07.06-19.51.47:548][ 0]LogInit: -sigdfl=SIGNAL - Allows a specific signal to be set to its default handler rather then ignoring the signal [2023.07.06-19.51.47:548][ 0]LogInit: -crashhandlerstacksize - Allows setting crash handler stack sizes (204800) [2023.07.06-19.51.47:548][ 0]LogInit: -noexclusivelockonwrite - disables marking files created by the engine as exclusive locked while the engine has them opened [2023.07.06-19.51.47:548][ 0]LogInit: -httpproxy=ADDRESS:PORT - redirects HTTP requests to a proxy (only supported if compiled with libcurl) [2023.07.06-19.51.47:548][ 0]LogInit: -reuseconn - allow libcurl to reuse HTTP connections (only matters if compiled with libcurl) [2023.07.06-19.51.47:548][ 0]LogInit: -virtmemkb=NUMBER - sets process virtual memory (address space) limit (overrides VirtualMemoryLimitInKB value from .ini) [2023.07.06-19.51.47:548][ 0]LogInit: -allowsyscallfilterfile=PATH_TO_FILE - sets up a system call filter allow list. any invalid syscall in this list *will* cause a crash [2023.07.06-19.51.47:548][ 0]LogInit: - Physical RAM available (not considering process quota): 32 GB (31817 MB, 32580688 KB, 33362624512 bytes) [2023.07.06-19.51.47:548][ 0]LogInit: - VirtualMemoryAllocator pools will grow at scale 1.4 [2023.07.06-19.51.47:548][ 0]LogInit: - MemoryRangeDecommit() will be a no-op (re-run with -vmapoolevict to change) [2023.07.06-19.51.47:548][ 0]LogInit: - PageSize 4096 [2023.07.06-19.51.47:548][ 0]LogInit: - BinnedPageSize 65536 [2023.07.06-19.51.47:551][ 0]LogUObjectArray: 427 objects as part of root set at end of initial load. [2023.07.06-19.51.47:551][ 0]LogUObjectAllocator: 89664 out of 0 bytes used by permanent object pool. [2023.07.06-19.51.47:551][ 0]LogUObjectArray: CloseDisregardForGC: 0/0 objects in disregard for GC pool [2023.07.06-19.51.47:551][ 0]LogInit: Using OS detected language (en-US). [2023.07.06-19.51.47:551][ 0]LogInit: Using OS detected locale (en-US). [2023.07.06-19.51.47:551][ 0]LogTextLocalizationManager: No specific localization for 'en-US' exists, so 'en' will be used for the language. [2023.07.06-19.51.47:588][ 0]LogInit: Using OS detected language (en-US). [2023.07.06-19.51.47:588][ 0]LogInit: Using OS detected locale (en-US). [2023.07.06-19.51.47:588][ 0]LogTextLocalizationManager: No localization for 'en-US' exists, so 'en' will be used for the language. [2023.07.06-19.51.47:588][ 0]LogTextLocalizationManager: No localization for 'en-US' exists, so 'en' will be used for the locale. [2023.07.06-19.51.47:588][ 0]LogPackageLocalizationCache: Processed 2 localized package path(s) for 1 prioritized culture(s) in 0.000040 seconds [2023.07.06-19.51.47:588][ 0]CrashReportCoreLog: CrashReportClientVersion=1.0 [2023.07.06-19.51.47:588][ 0]CrashReportCoreLog: CrashReportReceiver disabled [2023.07.06-19.51.47:588][ 0]CrashReportCoreLog: DataRouterUrl: https://datarouter.ol.epicgames.com/datarouter/api/v1/public/data [2023.07.06-19.51.47:605][ 0]LogInit: Using libcurl 7.83.1 [2023.07.06-19.51.47:605][ 0]LogInit: - built for Linux [2023.07.06-19.51.47:605][ 0]LogInit: - supports SSL with OpenSSL/1.1.1n [2023.07.06-19.51.47:605][ 0]LogInit: - supports HTTP deflate (compression) using libz 1.2.12 [2023.07.06-19.51.47:605][ 0]LogInit: - other features: [2023.07.06-19.51.47:605][ 0]LogInit: CURL_VERSION_SSL [2023.07.06-19.51.47:605][ 0]LogInit: CURL_VERSION_LIBZ [2023.07.06-19.51.47:605][ 0]LogInit: CURL_VERSION_IPV6 [2023.07.06-19.51.47:605][ 0]LogInit: CURL_VERSION_ASYNCHDNS [2023.07.06-19.51.47:605][ 0]LogInit: CURL_VERSION_LARGEFILE [2023.07.06-19.51.47:605][ 0]LogInit: CurlRequestOptions (configurable via config and command line): [2023.07.06-19.51.47:605][ 0]LogInit: - bVerifyPeer = false - Libcurl will NOT verify peer certificate [2023.07.06-19.51.47:605][ 0]LogInit: - bUseHttpProxy = false - Libcurl will NOT use HTTP proxy [2023.07.06-19.51.47:606][ 0]LogInit: - bDontReuseConnections = false - Libcurl will reuse connections [2023.07.06-19.51.47:606][ 0]LogInit: - MaxHostConnections = 16 - Libcurl will limit the number of connections to a host [2023.07.06-19.51.47:606][ 0]LogInit: - LocalHostAddr = Default [2023.07.06-19.51.47:606][ 0]LogInit: - BufferSize = 65536 [2023.07.06-19.51.47:606][ 0]LogAnalytics: Display: [CrashReporter.Release] APIServer = https://datarouter.ol.epicgames.com/. AppVersion = ++UE5+Release-5.2-CL-26001984 [2023.07.06-19.51.47:608][ 0]LogInit: Initializing SDL. [2023.07.06-19.51.47:673][ 0]LogInit: Initialized SDL 2.24.0 revision: (compiled against 2.24.0) [2023.07.06-19.51.47:673][ 0]LogInit: Using SDL video driver 'x11' [2023.07.06-19.51.47:700][ 0]LogSlate: New Slate User Created. Platform User Id 0, User Index 0, Is Virtual User: 0 [2023.07.06-19.51.47:700][ 0]LogSlate: Slate User Registered. User Index 0, Is Virtual User: 0 [2023.07.06-19.51.47:703][ 0]LogSlate: Using FreeType 2.10.0 [2023.07.06-19.51.47:703][ 0]LogSlate: SlateFontServices - WITH_FREETYPE: 1, WITH_HARFBUZZ: 1 [2023.07.06-19.51.47:703][ 0]LogInit: Using SDL_WINDOW_OPENGL [2023.07.06-19.51.47:794][ 0]LogInit: FSlateOpenGLContext::Initialize - creating OpenGL 2.1 context [2023.07.06-19.51.47:847][ 0]CrashReportCoreLog: Initial state = Unknown UploadState value [2023.07.06-19.51.47:847][ 0]CrashReportCoreLog: Initial state = Unknown UploadState value [2023.07.06-19.51.47:858][ 0]LogInit: FSlateOpenGLContext::Initialize - creating OpenGL 2.1 context [2023.07.06-19.51.47:866][ 0]LogSlate: Took 0.000106 seconds to synchronously load lazily loaded font '../../../Engine/Content/Slate/Fonts/Roboto-Regular.ttf' (155K) [2023.07.06-19.51.47:867][ 0]LogSlate: Took 0.000072 seconds to synchronously load lazily loaded font '../../../Engine/Content/Slate/Fonts/Roboto-Bold.ttf' (160K) [2023.07.06-19.51.47:871][ 0]LogSlate: Took 0.000059 seconds to synchronously load lazily loaded font '../../../Engine/Content/Slate/Fonts/Roboto-Italic.ttf' (157K) - Existing per-process limit (soft=1048576, hard=1048576) is enough for us (need only 1048576) Increasing per-process limit of core file size to infinity. - Existing per-process limit (soft=18446744073709551615, hard=18446744073709551615) is enough for us (need only 18446744073709551615) [2023.07.06-19.52.02:228][ 0]CrashReportCoreLog: Got 4 pending files to upload from 'crashinfo-eg_cpp_mooc2-pid-19188-34AAE3DD30314E7C9D85CEE2D0D729A9' [2023.07.06-19.52.02:228][ 0]CrashReportCoreLog: State change from Ready to SendingFiles [2023.07.06-19.52.02:228][ 0]CrashReportCoreLog: CompressAndSendData have 4 pending files [2023.07.06-19.52.02:228][ 0]CrashReportCoreLog: CompressAndSendData compressing 178422 bytes ('/home/n130s/.config/Epic/UnrealEngine/5.2/Saved/Crashes/crashinfo-eg_cpp_mooc2-pid-19188-34AAE3DD30314E7C9D85CEE2D0D729A9/eg_cpp_mooc2.log') [2023.07.06-19.52.02:228][ 0]CrashReportCoreLog: CompressAndSendData compressing 4738 bytes ('/home/n130s/.config/Epic/UnrealEngine/5.2/Saved/Crashes/crashinfo-eg_cpp_mooc2-pid-19188-34AAE3DD30314E7C9D85CEE2D0D729A9/Diagnostics.txt') [2023.07.06-19.52.02:228][ 0]CrashReportCoreLog: CompressAndSendData compressing 33971 bytes ('/home/n130s/.config/Epic/UnrealEngine/5.2/Saved/Crashes/crashinfo-eg_cpp_mooc2-pid-19188-34AAE3DD30314E7C9D85CEE2D0D729A9/CrashContext.runtime-xml') [2023.07.06-19.52.02:228][ 0]CrashReportCoreLog: CompressAndSendData compressing 133 bytes ('/home/n130s/.config/Epic/UnrealEngine/5.2/Saved/Crashes/crashinfo-eg_cpp_mooc2-pid-19188-34AAE3DD30314E7C9D85CEE2D0D729A9/CrashReportClient.ini') [2023.07.06-19.52.02:232][ 0]CrashReportCoreLog: Sending HTTP request: https://datarouter.ol.epicgames.com/datarouter/api/v1/public/data?AppID=CrashReporter&AppVersion=5.2.1-26001984%2B%2B%2BUE5%2BRelease-5.2&AppEnvironment=Release&UploadType=crashreports&UserID=27f86798a6f142a68d 1d994f95f0f4f3-000003e9%7C%7C27f86798a6f142a68d1d994f95f0f4f3 LogInit: Display: Running engine without a game LogCore: Initializing trace... LogCore: Display: Requested channels: 'cpu,gpu,frame,log,bookmark,screenshot' LogCore: Finished trace initialization. LogCsvProfiler: Display: Metadata set : platform="Linux" LogCsvProfiler: Display: Metadata set : config="Development" LogCsvProfiler: Display: Metadata set : buildversion="++UE5+Release-5.2-CL-26001984" LogCsvProfiler: Display: Metadata set : engineversion="5.2.1-26001984+++UE5+Release-5.2" LogCsvProfiler: Display: Metadata set : os="Ubuntu 22.04.2 LTS 5.14.0-1058-oem" LogCsvProfiler: Display: Metadata set : cpu="GenuineIntel|12th Gen Intel(R) Core(TM) i7-1270P" LogCsvProfiler: Display: Metadata set : pgoenabled="0" LogCsvProfiler: Display: Metadata set : asan="0" LogCsvProfiler: Display: Metadata set : commandline="""" LogCsvProfiler: Display: Metadata set : loginid="27f86798a6f142a68d1d994f95f0f4f3-000003e9" LogCsvProfiler: Display: Metadata set : llm="0" LogInit: Display: Loading recent project file: ../../../../../link/git_repos/130s/unreal_prjs/eg_cpp_mooc2/eg_cpp_mooc2.uproject LogStats: Stats thread started at 0.073125 LogICUInternationalization: ICU TimeZone Detection - Raw Offset: -5:00, Platform Override: '' LogInit: Session CrashGUID >==================================================== Session CrashGUID > UECC-Linux-52802093613D43C093258BC8AB87E289 Session CrashGUID >==================================================== LogConfig: Display: Loading HoloLens ini files took 0.31 seconds LogConfig: Display: Loading Windows ini files took 0.34 seconds LogConfig: Display: Loading Mac ini files took 0.34 seconds LogConfig: Display: Loading Android ini files took 0.35 seconds LogConfig: Display: Loading IOS ini files took 0.36 seconds LogConfig: Display: Loading Unix ini files took 0.36 seconds LogConfig: Display: Loading VulkanPC ini files took 0.38 seconds LogConfig: Display: Loading TVOS ini files took 0.39 seconds LogConfig: Display: Loading LinuxArm64 ini files took 0.43 seconds LogConfig: Display: Loading Linux ini files took 0.43 seconds LogPluginManager: Mounting Engine plugin TraceUtilities LogPluginManager: Mounting Engine plugin XGEController LogPluginManager: Mounting Engine plugin EnhancedInput LogPluginManager: Found config from plugin[EnhancedInput] Input LogPluginManager: Mounting Engine plugin FastBuildController LogPluginManager: Mounting Engine plugin MeshPainting LogPluginManager: Mounting Engine plugin Niagara LogPluginManager: Mounting Engine plugin EnvironmentQueryEditor LogPluginManager: Mounting Engine plugin Paper2D LogPluginManager: Mounting Engine plugin ActorSequence LogPluginManager: Mounting Engine plugin SequencerScripting LogPluginManager: Mounting Engine plugin LevelSequenceEditor LogPluginManager: Mounting Engine plugin AISupport LogPluginManager: Mounting Engine plugin TemplateSequence LogPluginManager: Mounting Engine plugin OodleNetwork LogPluginManager: Mounting Engine plugin ChangelistReview LogPluginManager: Mounting Engine plugin CryptoKeys ```

Anyways, the build error might be gone? Closing for now though I'm not 100% sure yet.

130s commented 1 year ago

Reopening due to https://github.com/kinu-garage/hut_10sqft/issues/862#issuecomment-1631088557

130s commented 1 year ago

On VSC, installing "Unreal Engine 4 Snippets" (though it mentions UE4, not UE5). That is what was mentioned in https://github.com/kinu-garage/hut_10sqft/issues/858#issuecomment-1624246948 (rebooted VSC after intalling it) didn't seem to take an effect.

Oh btw I see this.

[7/11/2023, 12:12:08 PM] "PrintMessage.cpp" not found in "/home/noodler/unreal_prjs/eg_mooc_cpp5/.vscode/compileCommands_Default.json". 'includePath' from c_cpp_properties.json in folder 'eg_mooc_cpp5' will be used for this file instead.

But I don't see includePath defined anywhere in the workspace on VSC's config.

$ ack -ir includePath .vscode/
$

I then randomly ran into https://gist.github.com/pShota/439bc7a0dd3c726d1d5750856fb88cd8

Setup Unreal Engine 4.25 with Visual Studio Code

Normally you would use Visual Studio 2019 with UE4, but VS 2019 is somewhat "heavy", where Visual Studio Code is a decent alternative. However some fixes are needed before you can use it.

Step 1

First, you need to change Editor to VS Code in Unreal Engine Setting, after that you press generate VS Code project in UE4 menu. Modify file .vscode/c_cpp_properties.json from your project folder, it should look like this:

{
    "configurations": [
        {
            "name": "UnrealEngine",
            "includePath": [
                "/Users/Shared/Epic Games/UE_4.25/Engine/Source",
                "/Users/Shared/Epic Games/UE_4.25/Engine/Source/Runtime",
                ..............(a lot of paths)..............
                "/usr/local/include"
            ],
            "intelliSenseMode": "clang-x64",
            "macFrameworkPath": [
                "/System/Library/Frameworks",
                "/Library/Frameworks"
            ],
            "defines":[
            ],
            "compilerPath": "/usr/bin/clang",
            "cStandard": "c11",
            "cppStandard": "c++17"
        }
    ],
    "version": 4
}

I don't see in my conf configurations section for UE at all. Manually adding.

content ``` { "configurations": [ { "name": "eg_mooc_cpp5Editor Editor Linux Development (eg_mooc_cpp5)", "compilerPath": "/home/noodler/pg/unreal-engine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++", "compilerArgs": [ "-isysroot", "/home/noodler/pg/unreal-engine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu" ], "cStandard": "c17", "cppStandard": "c++17", "intelliSenseMode": "clang-x64", "configurationProvider": "epic.ue", "compileCommands": "/home/noodler/link/git_repos/130s/unreal_prjs/eg_mooc_cpp5/.vscode/compileCommands_eg_mooc_cpp5.json" }, { "name": "Linux", "compilerPath": "/home/noodler/pg/unreal-engine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++", "compilerArgs": [ "-isysroot", "/home/noodler/pg/unreal-engine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu" ], "cStandard": "c17", "cppStandard": "c++17", "intelliSenseMode": "clang-x64", "configurationProvider": "epic.ue", "compileCommands": "/home/noodler/link/git_repos/130s/unreal_prjs/eg_mooc_cpp5/.vscode/compileCommands_Default.json" }, { "name": "UnrealEngine", "includePath": [ "/home/noodler/pg/unreal-engine/Engine/Source", "/home/noodler/pg/unreal-engine/Engine/Source/Runtime", "/home/noodler/pg/unreal-engine/Engine/Source/Runtime/Core/Public", "/usr/local/include" ], "intelliSenseMode": "clang-x64", "defines":[ ], "compilerPath": "/usr/bin/clang", "cStandard": "c11", "cppStandard": "c++17" } ], "version": 4 } ```

The referencing error on VSC went away!

However I'm not sure if build is successful... ``` Setting up bundled DotNet SDK Running command : dotnet Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.dll eg_mooc_cpp5 Linux Development /home/n130s/link/git_repos/130s/unreal_prjs/eg_mooc_cpp5/eg_mooc_cpp5.uproject -waitmutex Log file: /home/n130s/.config/Epic/UnrealBuildTool/Log.txt Creating makefile for eg_mooc_cpp5 (no existing makefile) ------- Build details -------- Using toolchain located at '/home/n130s/pg/unreal-engine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu'. Using clang (/home/n130s/pg/unreal-engine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++) version 'clang version 15.0.1 Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /home/n130s/pg/unreal-engine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu/bin' (string), 15 (major), 0 (minor), 1 (patch) Using bundled libc++ standard C++ library. Using lld linker Using llvm-ar (/home/n130s/pg/unreal-engine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu/bin/llvm-ar) version 'LLVM (http://llvm.org/): LLVM version 15.0.1 Optimized build. Default target: x86_64-unknown-linux-gnu Host CPU: alderlake (string)' Using fast way to relink circularly dependent libraries (no FixDeps). ------------------------------ Building eg_mooc_cpp5... [Upgrade] [Upgrade] Using backward-compatible include order. The latest version of UE has changed the order of includes, which may require code changes. The current setting is: [Upgrade] IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_1 [Upgrade] Suppress this message by setting 'IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_2;' in eg_mooc_cpp5.Target.cs. [Upgrade] Alternatively you can set this to 'EngineIncludeOrderVersion.Latest' to always use the latest include order. This will potentially cause compile errors when integrating new versions of the engine. [Upgrade] Determining max actions to execute in parallel (16 physical cores, 16 logical cores) Executing up to 16 processes, one per physical core Requested 1.5 GB free memory per action, 15.85 GB available: limiting max parallel actions to 10 Building 9 actions with 9 processes... [1/9] Compile SharedPCH.Engine.ShadowErrors.InclOrderUnreal5_1.h [2/9] Compile eg_mooc_cpp5.init.gen.cpp [3/9] Compile PrintMessage.gen.cpp [4/9] Compile eg_mooc_cpp5GameModeBase.cpp [5/9] Compile eg_mooc_cpp5GameModeBase.gen.cpp [6/9] Compile PrintMessage.cpp [7/9] Compile eg_mooc_cpp5.cpp [8/9] Link (lld) eg_mooc_cpp5 [9/9] WriteMetadata eg_mooc_cpp5.target Total time in Parallel executor: 36.29 seconds Total execution time: 38.38 seconds * Terminal will be reused by tasks, press any key to close it. * Executing task in folder eg_mooc_cpp5: Engine/Build/BatchFiles/Linux/Build.sh eg_mooc_cpp5 Linux Development /home/n130s/link/git_repos/130s/unreal_prjs/eg_mooc_cpp5/eg_mooc_cpp5.uproject -waitmutex Setting up bundled DotNet SDK Running command : dotnet Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.dll eg_mooc_cpp5 Linux Development /home/n130s/link/git_repos/130s/unreal_prjs/eg_mooc_cpp5/eg_mooc_cpp5.uproject -waitmutex Log file: /home/n130s/.config/Epic/UnrealBuildTool/Log.txt Target is up to date Total execution time: 0.61 seconds * Terminal will be reused by tasks, press any key to close it. ```

Playing the level on UE doesn't seem to take a new effect. Moving on to step-2 and further in https://gist.github.com/pShota/439bc7a0dd3c726d1d5750856fb88cd8

Full file content by now: ``` { "configurations": [ { "name": "eg_mooc_cpp5Editor Editor Linux Development (eg_mooc_cpp5)", "compilerPath": "/home/n130s/pg/unreal-engine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++", "compilerArgs": [ "-isysroot", "/home/n130s/pg/unreal-engine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu" ], "cStandard": "c17", "cppStandard": "c++17", "intelliSenseMode": "clang-x64", "configurationProvider": "epic.ue", "compileCommands": "/home/n130s/link/git_repos/130s/unreal_prjs/eg_mooc_cpp5/.vscode/compileCommands_eg_mooc_cpp5.json" }, { "name": "Linux", "compilerPath": "/home/n130s/pg/unreal-engine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++", "compilerArgs": [ "-isysroot", "/home/n130s/pg/unreal-engine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu" ], "cStandard": "c17", "cppStandard": "c++17", "intelliSenseMode": "clang-x64", "configurationProvider": "epic.ue", "compileCommands": "/home/n130s/link/git_repos/130s/unreal_prjs/eg_mooc_cpp5/.vscode/compileCommands_Default.json" }, { "name": "UnrealEngine", "includePath": [ "/home/n130s/pg/unreal-engine/Engine/Source", "/home/n130s/pg/unreal-engine/Engine/Source/Runtime", "/home/n130s/pg/unreal-engine/Engine/Source/Runtime/Core/Public", "/home/n130s/pg/unreal-engine//Engine/Source/ThirdParty/MaterialX/Deploy/MaterialX-1.38.5/include/MaterialXCore", "/usr/local/include" ], "intelliSenseMode": "clang-x64", "defines":[ "IS_PROGRAM=0", "UE_EDITOR=1", "ENABLE_PGO_PROFILE=0", "USE_VORBIS_FOR_STREAMING=1", "USE_XMA2_FOR_STREAMING=1", "WITH_DEV_AUTOMATION_TESTS=1", "WITH_PERF_AUTOMATION_TESTS=1", "UNICODE", "_UNICODE", "__UNREAL__", "IS_MONOLITHIC=0", "WITH_ENGINE=1", "WITH_UNREAL_DEVELOPER_TOOLS=1", "WITH_APPLICATION_CORE=1", "WITH_COREUOBJECT=1", "USE_STATS_WITHOUT_ENGINE=0", "WITH_PLUGIN_SUPPORT=0", "WITH_ACCESSIBILITY=1", "WITH_PERFCOUNTERS=1", "USE_LOGGING_IN_SHIPPING=0", "WITH_LOGGING_TO_MEMORY=0", "USE_CACHE_FREED_OS_ALLOCS=1", "USE_CHECKS_IN_SHIPPING=0", "WITH_EDITOR=1", "WITH_SERVER_CODE=1", "WITH_CEF3=1", "WITH_LIVE_CODING=1", "WITH_XGE_CONTROLLER=1", "UBT_MODULE_MANIFEST=\"UE4Editor.modules\"", "UBT_MODULE_MANIFEST_DEBUGGAME=\"UE4Editor-Win64-DebugGame.modules\"", "UBT_COMPILED_PLATFORM=Win64", "UBT_COMPILED_TARGET=Editor", "UE_APP_NAME=\"UE4Editor\"", "NDIS_MINIPORT_MAJOR_VERSION=0", "WIN32=1", "_WIN32_WINNT=0x0601", "WINVER=0x0601", "PLATFORM_WINDOWS=1", "OVERRIDE_PLATFORM_HEADER_NAME=Windows", "NDEBUG=1", "UE_BUILD_DEVELOPMENT=1", "UE_IS_ENGINE_MODULE=0", "IMPLEMENT_ENCRYPTION_KEY_REGISTRATION()=", "IMPLEMENT_SIGNING_KEY_REGISTRATION()=", "DEPRECATED_FORGAME=DEPRECATED", "UE_DEPRECATED_FORGAME=UE_DEPRECATED", "UE_ENABLE_ICU=1", "WITH_VS_PERF_PROFILER=0", "WITH_DIRECTXMATH=0", "WITH_MALLOC_STOMP=1", "CORE_VTABLE=DLLIMPORT_VTABLE", "CORE_API=", "TRACELOG_VTABLE=DLLIMPORT_VTABLE", "TRACELOG_API=", "COREUOBJECT_VTABLE=DLLIMPORT_VTABLE", "COREUOBJECT_API=", "INCLUDE_CHAOS=0", "WITH_PHYSX=1", "WITH_CHAOS=0", "WITH_CHAOS_NEEDS_TO_BE_FIXED=0", "PHYSICS_INTERFACE_LLIMMEDIATE=0", "PHYSICS_INTERFACE_PHYSX=1", "WITH_APEX=1", "WITH_APEX_CLOTHING=1", "WITH_CLOTH_COLLISION_DETECTION=1", "WITH_PHYSX_COOKING=1", "WITH_NVCLOTH=1", "WITH_CUSTOM_SQ_STRUCTURE=0", "WITH_IMMEDIATE_PHYSX=0", "GPUPARTICLE_LOCAL_VF_ONLY=0", "ENGINE_VTABLE=DLLIMPORT_VTABLE", "ENGINE_API=", "APPLICATIONCORE_VTABLE=DLLIMPORT_VTABLE", "APPLICATIONCORE_API=", "RHI_VTABLE=DLLIMPORT_VTABLE", "RHI_API=", "JSON_VTABLE=DLLIMPORT_VTABLE", "JSON_API=", "WITH_FREETYPE=1", "SLATECORE_VTABLE=DLLIMPORT_VTABLE", "SLATECORE_API=", "INPUTCORE_VTABLE=DLLIMPORT_VTABLE", "INPUTCORE_API=", "SLATE_VTABLE=DLLIMPORT_VTABLE", "SLATE_API=", "WITH_UNREALPNG=1", "WITH_UNREALJPEG=1", "WITH_UNREALEXR=1", "IMAGEWRAPPER_VTABLE=DLLIMPORT_VTABLE", "IMAGEWRAPPER_API=", "MESSAGING_VTABLE=DLLIMPORT_VTABLE", "MESSAGING_API=", "MESSAGINGCOMMON_VTABLE=DLLIMPORT_VTABLE", "MESSAGINGCOMMON_API=", "RENDERCORE_VTABLE=DLLIMPORT_VTABLE", "RENDERCORE_API=", "SOCKETS_PACKAGE=1", "SOCKETS_VTABLE=DLLIMPORT_VTABLE", "SOCKETS_API=", "UTILITYSHADERS_VTABLE=DLLIMPORT_VTABLE", "UTILITYSHADERS_API=", "ASSETREGISTRY_VTABLE=DLLIMPORT_VTABLE", "ASSETREGISTRY_API=", "ENGINEMESSAGES_VTABLE=DLLIMPORT_VTABLE", "ENGINEMESSAGES_API=", "ENGINESETTINGS_VTABLE=DLLIMPORT_VTABLE", "ENGINESETTINGS_API=", "SYNTHBENCHMARK_VTABLE=DLLIMPORT_VTABLE", "SYNTHBENCHMARK_API=", "RENDERER_VTABLE=DLLIMPORT_VTABLE", "RENDERER_API=", "GAMEPLAYTAGS_VTABLE=DLLIMPORT_VTABLE", "GAMEPLAYTAGS_API=", "PACKETHANDLER_VTABLE=DLLIMPORT_VTABLE", "PACKETHANDLER_API=", "RELIABILITYHANDLERCOMPONENT_VTABLE=DLLIMPORT_VTABLE", "RELIABILITYHANDLERCOMPONENT_API=", "AUDIOPLATFORMCONFIGURATION_VTABLE=DLLIMPORT_VTABLE", "AUDIOPLATFORMCONFIGURATION_API=", "MESHDESCRIPTION_VTABLE=DLLIMPORT_VTABLE", "MESHDESCRIPTION_API=", "PAKFILE_VTABLE=DLLIMPORT_VTABLE", "PAKFILE_API=", "RSA_VTABLE=DLLIMPORT_VTABLE", "RSA_API=", "NETWORKREPLAYSTREAMING_VTABLE=DLLIMPORT_VTABLE", "NETWORKREPLAYSTREAMING_API=", "PHYSICSCORE_VTABLE=DLLIMPORT_VTABLE", "PHYSICSCORE_API=", "WITH_PHYSX_RELEASE=0", "UE_PHYSX_SUFFIX=PROFILE", "PHYSICSSQ_VTABLE=DLLIMPORT_VTABLE", "PHYSICSSQ_API=", "COMPILE_WITHOUT_UNREAL_SUPPORT=0", "CHAOSSOLVERS_VTABLE=DLLIMPORT_VTABLE", "CHAOSSOLVERS_API=", "CHAOS_VTABLE=DLLIMPORT_VTABLE", "CHAOS_API=", "CHAOSCORE_VTABLE=DLLIMPORT_VTABLE", "CHAOSCORE_API=", "INTEL_ISPC=1", "VORONOI_VTABLE=DLLIMPORT_VTABLE", "VORONOI_API=", "FIELDSYSTEMCORE_VTABLE=DLLIMPORT_VTABLE", "FIELDSYSTEMCORE_API=", "GEOMETRYCOLLECTIONCORE_VTABLE=DLLIMPORT_VTABLE", "GEOMETRYCOLLECTIONCORE_API=", "GEOMETRYCOLLECTIONSIMULATIONCORE_VTABLE=DLLIMPORT_VTABLE", "GEOMETRYCOLLECTIONSIMULATIONCORE_API=", "WITH_RECAST=1", "UNREALED_VTABLE=DLLIMPORT_VTABLE", "UNREALED_API=", "BSPMODE_VTABLE=DLLIMPORT_VTABLE", "BSPMODE_API=", "DIRECTORYWATCHER_VTABLE=DLLIMPORT_VTABLE", "DIRECTORYWATCHER_API=", "DOCUMENTATION_VTABLE=DLLIMPORT_VTABLE", "DOCUMENTATION_API=", "LOAD_PLUGINS_FOR_TARGET_PLATFORMS=1", "PROJECTS_VTABLE=DLLIMPORT_VTABLE", "PROJECTS_API=", "SANDBOXFILE_VTABLE=DLLIMPORT_VTABLE", "SANDBOXFILE_API=", "EDITORSTYLE_VTABLE=DLLIMPORT_VTABLE", "EDITORSTYLE_API=", "SOURCE_CONTROL_WITH_SLATE=1", "SOURCECONTROL_VTABLE=DLLIMPORT_VTABLE", "SOURCECONTROL_API=", "UNREALEDMESSAGES_VTABLE=DLLIMPORT_VTABLE", "UNREALEDMESSAGES_API=", "GAMEPLAYDEBUGGER_VTABLE=DLLIMPORT_VTABLE", "GAMEPLAYDEBUGGER_API=", "BLUEPRINTGRAPH_VTABLE=DLLIMPORT_VTABLE", "BLUEPRINTGRAPH_API=", "EDITORSUBSYSTEM_VTABLE=DLLIMPORT_VTABLE", "EDITORSUBSYSTEM_API=", "HTTP_PACKAGE=1", "CURL_ENABLE_DEBUG_CALLBACK=1", "CURL_ENABLE_NO_TIMEOUTS_OPTION=1", "HTTP_VTABLE=DLLIMPORT_VTABLE", "HTTP_API=", "UNREALAUDIO_VTABLE=DLLIMPORT_VTABLE", "UNREALAUDIO_API=", "FUNCTIONALTESTING_VTABLE=DLLIMPORT_VTABLE", "FUNCTIONALTESTING_API=", "AUTOMATIONCONTROLLER_VTABLE=DLLIMPORT_VTABLE", "AUTOMATIONCONTROLLER_API=", "LOCALIZATION_VTABLE=DLLIMPORT_VTABLE", "LOCALIZATION_API=", "WITH_SNDFILE_IO=1", "AUDIOEDITOR_VTABLE=DLLIMPORT_VTABLE", "AUDIOEDITOR_API=", "AUDIOMIXER_VTABLE=DLLIMPORT_VTABLE", "AUDIOMIXER_API=", "TARGETPLATFORM_VTABLE=DLLIMPORT_VTABLE", "TARGETPLATFORM_API=", "UELIBSAMPLERATE_VTABLE=DLLIMPORT_VTABLE", "UELIBSAMPLERATE_API=", "LEVELEDITOR_VTABLE=DLLIMPORT_VTABLE", "LEVELEDITOR_API=", "SETTINGS_VTABLE=DLLIMPORT_VTABLE", "SETTINGS_API=", "INTROTUTORIALS_VTABLE=DLLIMPORT_VTABLE", "INTROTUTORIALS_API=", "HEADMOUNTEDDISPLAY_VTABLE=DLLIMPORT_VTABLE", "HEADMOUNTEDDISPLAY_API=", "VREDITOR_VTABLE=DLLIMPORT_VTABLE", "VREDITOR_API=", "COMMONMENUEXTENSIONS_VTABLE=DLLIMPORT_VTABLE", "COMMONMENUEXTENSIONS_API=", "LANDSCAPE_VTABLE=DLLIMPORT_VTABLE", "LANDSCAPE_API=", "PROPERTYEDITOR_VTABLE=DLLIMPORT_VTABLE", "PROPERTYEDITOR_API=", "ACTORPICKERMODE_VTABLE=DLLIMPORT_VTABLE", "ACTORPICKERMODE_API=", "SCENEDEPTHPICKERMODE_VTABLE=DLLIMPORT_VTABLE", "SCENEDEPTHPICKERMODE_API=", "DETAILCUSTOMIZATIONS_VTABLE=DLLIMPORT_VTABLE", "DETAILCUSTOMIZATIONS_API=", "CLASSVIEWER_VTABLE=DLLIMPORT_VTABLE", "CLASSVIEWER_API=", "GRAPHEDITOR_VTABLE=DLLIMPORT_VTABLE", "GRAPHEDITOR_API=", "STRUCTVIEWER_VTABLE=DLLIMPORT_VTABLE", "STRUCTVIEWER_API=", "CONTENTBROWSER_VTABLE=DLLIMPORT_VTABLE", "CONTENTBROWSER_API=", "ENABLE_HTTP_FOR_NFS=1", "NETWORKFILESYSTEM_VTABLE=DLLIMPORT_VTABLE", "NETWORKFILESYSTEM_API=", "UMG_VTABLE=DLLIMPORT_VTABLE", "UMG_API=", "MOVIESCENE_VTABLE=DLLIMPORT_VTABLE", "MOVIESCENE_API=", "TIMEMANAGEMENT_VTABLE=DLLIMPORT_VTABLE", "TIMEMANAGEMENT_API=", "MOVIESCENETRACKS_VTABLE=DLLIMPORT_VTABLE", "MOVIESCENETRACKS_API=", "ANIMATIONCORE_VTABLE=DLLIMPORT_VTABLE", "ANIMATIONCORE_API=", "PROPERTYPATH_VTABLE=DLLIMPORT_VTABLE", "PROPERTYPATH_API=", "NAVIGATIONSYSTEM_VTABLE=DLLIMPORT_VTABLE", "NAVIGATIONSYSTEM_API=", "GEOMETRYCOLLECTIONENGINE_VTABLE=DLLIMPORT_VTABLE", "GEOMETRYCOLLECTIONENGINE_API=", "UE_APEX_SUFFIX=PROFILE", "APEX_UE4=1", "APEX_STATICALLY_LINKED=0", "WITH_APEX_LEGACY=1", "FIELDSYSTEMENGINE_VTABLE=DLLIMPORT_VTABLE", "FIELDSYSTEMENGINE_API=", "CHAOSSOLVERENGINE_VTABLE=DLLIMPORT_VTABLE", "CHAOSSOLVERENGINE_API=", "FIELDSYSTEMSIMULATIONCORE_VTABLE=DLLIMPORT_VTABLE", "FIELDSYSTEMSIMULATIONCORE_API=", "MESHDESCRIPTIONOPERATIONS_VTABLE=DLLIMPORT_VTABLE", "MESHDESCRIPTIONOPERATIONS_API=", "MESHBUILDER_VTABLE=DLLIMPORT_VTABLE", "MESHBUILDER_API=", "MATERIALSHADERQUALITYSETTINGS_VTABLE=DLLIMPORT_VTABLE", "MATERIALSHADERQUALITYSETTINGS_API=", "WITH_OGGVORBIS=1", "XAUDIO2_VTABLE=DLLIMPORT_VTABLE", "XAUDIO2_API=", "AUDIOMIXERXAUDIO2_VTABLE=DLLIMPORT_VTABLE", "AUDIOMIXERXAUDIO2_API=", "COLLECTIONMANAGER_VTABLE=DLLIMPORT_VTABLE", "COLLECTIONMANAGER_API=", "ADDCONTENTDIALOG_VTABLE=DLLIMPORT_VTABLE", "ADDCONTENTDIALOG_API=", "USE_EMBREE=1", "MESHUTILITIES_VTABLE=DLLIMPORT_VTABLE", "MESHUTILITIES_API=", "MESHMERGEUTILITIES_VTABLE=DLLIMPORT_VTABLE", "MESHMERGEUTILITIES_API=", "HIERARCHICALLODUTILITIES_VTABLE=DLLIMPORT_VTABLE", "HIERARCHICALLODUTILITIES_API=", "MESHREDUCTIONINTERFACE_VTABLE=DLLIMPORT_VTABLE", "MESHREDUCTIONINTERFACE_API=", "ASSETTOOLS_VTABLE=DLLIMPORT_VTABLE", "ASSETTOOLS_API=", "KISMETCOMPILER_VTABLE=DLLIMPORT_VTABLE", "KISMETCOMPILER_API=", "GAMEPLAYTASKS_VTABLE=DLLIMPORT_VTABLE", "GAMEPLAYTASKS_API=", "WITH_GAMEPLAY_DEBUGGER=1", "AIMODULE_VTABLE=DLLIMPORT_VTABLE", "AIMODULE_API=", "KISMET_VTABLE=DLLIMPORT_VTABLE", "KISMET_API=", "CLOTHINGSYSTEMRUNTIMEINTERFACE_VTABLE=DLLIMPORT_VTABLE", "CLOTHINGSYSTEMRUNTIMEINTERFACE_API=", "UE_PROJECT_NAME=eg_mooc_cpp5", "EG_MOOC_CPP5_VTABLE=DLLEXPORT_VTABLE", "EG_MOOC_CPP5_V2_API=", ], "compilerPath": "/usr/bin/clang", "cStandard": "c11", "cppStandard": "c++17" } ], "version": 4 } ```

On UE I'm seeing this so at least the actor is added on UE, but I still don't see the intended print msg.

:
Cmd: DELETE
Cmd: ACTOR DELETE
LogEditorActor: Deleted Actor: PrintMessage
LogUObjectHash: Compacting FUObjectHashTables data took   0.73ms
LogEditorActor: Deleted 1 Actors (0.027 secs)
LogEditor: Attempting to add actor of class 'PrintMessage' to level at 70.00,150.00,0.00
LogPackageName: Warning: DoesPackageExist called on PackageName that will always return false. Reason: Input '' was empty.
LogEditor: Attempting to add actor of class 'PrintMessage' to level at -370.00,-570.00,0.00
:

For now closing this, and move on to look into other errors/warnings that are seen on UEditor.