# C++

**URL:** https://forums.unrealengine.com/c/development-discussion/programming-scripting/c-programming/29.md?page=44

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

**Page:** 45

---

## [How to handle child components](https://forums.unrealengine.com/t/how-to-handle-child-components/677396)

<div class="topic-metadata">

**Author:** [@Whitent](https://forums.unrealengine.com/u/Whitent)\
**Replies:** 5\
**Last updated:** [March 27, 2025, 4:31pm UTC](https://forums.unrealengine.com/t/how-to-handle-child-components/677396 "2025-03-27T16:31:01Z")

</div>

Hello. I am completely new to Unreal Engine 5, but I have some experience with C++. I was trying stuff out with Unreal, and I wanted to make a Planet with a Moon that revolves around it while the Planet and the Moon itse…

---

## [\[UE5.4-5.5\]How to dock two SDockTab together programmatically using Slate](https://forums.unrealengine.com/t/ue5-4-5-5-how-to-dock-two-sdocktab-together-programmatically-using-slate/2421760)

<div class="topic-metadata">

**Author:** [@Altrue](https://forums.unrealengine.com/u/Altrue)\
**Replies:** 0\
**Last updated:** [March 27, 2025, 3:31pm UTC](https://forums.unrealengine.com/t/ue5-4-5-5-how-to-dock-two-sdocktab-together-programmatically-using-slate/2421760 "2025-03-27T15:31:13Z")

</div>

Hi, When using FGlobalTabmanager::Get()-\>TryInvokeTab twice, the two tabs that pop up spawn automatically in separate windows. I’m wondering how to make them spawn docked together, two tabs under a single window. My g…

---

## [LNK2005 Error When Packaging - conflicting plugins](https://forums.unrealengine.com/t/lnk2005-error-when-packaging-conflicting-plugins/2421605)

<div class="topic-metadata">

**Author:** [@cmccormick](https://forums.unrealengine.com/u/cmccormick)\
**Replies:** 0\
**Last updated:** [March 27, 2025, 2:23pm UTC](https://forums.unrealengine.com/t/lnk2005-error-when-packaging-conflicting-plugins/2421605 "2025-03-27T14:23:19Z")

</div>

I’m trying to package my game but I get a bunch of LNK2005 errors. The problem is that I’m using two conflicting plugins: DirectExcel and RuntimeArchiver. Example of a full error message: UATHelper: Packaging (Windows…

---

## [Extend Class Settings](https://forums.unrealengine.com/t/extend-class-settings/2418458)

<div class="topic-metadata">

**Author:** [@\_lash](https://forums.unrealengine.com/u/_lash)\
**Replies:** 5\
**Last updated:** [March 27, 2025, 1:15pm UTC](https://forums.unrealengine.com/t/extend-class-settings/2418458 "2025-03-27T13:15:07Z")

</div>

Hello, does anyone know if it’s possible to extend the Class Settings menu of a “MyCustomObject” class to include a bool? Thanks in advance

---

## [If the player kills the NPC, it crashes](https://forums.unrealengine.com/t/if-the-player-kills-the-npc-it-crashes/2418619)

<div class="topic-metadata">

**Author:** [@sehwa](https://forums.unrealengine.com/u/sehwa)\
**Replies:** 4\
**Last updated:** [March 27, 2025, 10:52am UTC](https://forums.unrealengine.com/t/if-the-player-kills-the-npc-it-crashes/2418619 "2025-03-27T10:52:41Z")

</div>

Hi, I’m trying to pop up a UI that says I won if the player killed the NPC. But now I have a problem. Crash has occurred. Let me show you the crash first. LoginId:c94d24654bb053080c17c2ad5040f05a EpicAccountId:fcced…

---

## [FObjectInitializer in UE5](https://forums.unrealengine.com/t/fobjectinitializer-in-ue5/2420501)

<div class="topic-metadata">

**Author:** [@Rokukkkk](https://forums.unrealengine.com/u/Rokukkkk)\
**Replies:** 2\
**Last updated:** [March 27, 2025, 6:33am UTC](https://forums.unrealengine.com/t/fobjectinitializer-in-ue5/2420501 "2025-03-27T06:33:51Z")

</div>

There are serval posts talking about FObjectInitializer in UE4, but I found out the default template of C++ in UE5 no longer using:AClassName(const FObjectInitializer& ObjectInitializer = ObjectInitializer::Get()) anymor…

---

## [Having issues generating project files ](https://forums.unrealengine.com/t/having-issues-generating-project-files/2417284)

<div class="topic-metadata">

**Author:** [@Fuuubuki](https://forums.unrealengine.com/u/Fuuubuki)\
**Replies:** 5\
**Last updated:** [March 26, 2025, 7:35pm UTC](https://forums.unrealengine.com/t/having-issues-generating-project-files/2417284 "2025-03-26T19:35:34Z")

</div>

Hello everyone, im having a problem with a project I’m working on with a friend. The issue is my friend added some plugins to the project and it works fine on his computer, however I can’t even open the project now. It f…

---

## [Wierd screen space artifacts ](https://forums.unrealengine.com/t/wierd-screen-space-artifacts/2419008)

<div class="topic-metadata">

**Author:** [@LyR0826](https://forums.unrealengine.com/u/LyR0826)\
**Replies:** 0\
**Last updated:** [March 26, 2025, 3:40pm UTC](https://forums.unrealengine.com/t/wierd-screen-space-artifacts/2419008 "2025-03-26T15:40:49Z")

</div>

Hello everyone, I am using UE5.4 screen space reflection for my demo, but I have no idea why the artifacts appear in the red rectangle of the image? Could someone give me some hints about why this appear and how can I…

---

## [C++ Delegate not being called in BP ](https://forums.unrealengine.com/t/c-delegate-not-being-called-in-bp/2418892)

<div class="topic-metadata">

**Author:** [@sinBanditendikka](https://forums.unrealengine.com/u/sinBanditendikka)\
**Replies:** 0\
**Last updated:** [March 26, 2025, 2:50pm UTC](https://forums.unrealengine.com/t/c-delegate-not-being-called-in-bp/2418892 "2025-03-26T14:50:46Z")

</div>

i used the first person template and wanted to try(for learning purposes that you would have to be pressing E while standing in the weapon sphere) but my code doesnt work unfortunately. the delegate is normally called in…

---

## [native window in app](https://forums.unrealengine.com/t/native-window-in-app/2418616)

<div class="topic-metadata">

**Author:** [@celebro011](https://forums.unrealengine.com/u/celebro011)\
**Replies:** 0\
**Last updated:** [March 26, 2025, 11:57am UTC](https://forums.unrealengine.com/t/native-window-in-app/2418616 "2025-03-26T11:57:10Z")

</div>

Hello everyone! When we create an application, it can run in a window. Is it possible to add additional native panels to this window (for example, Maya has a rendering area and a user interface)? Slate is not exactly wh…

---

## [Blueprint path from C++ base class](https://forums.unrealengine.com/t/blueprint-path-from-c-base-class/1092624)

<div class="topic-metadata">

**Author:** [@phil123456](https://forums.unrealengine.com/u/phil123456)\
**Replies:** 13\
**Last updated:** [March 25, 2025, 8:06pm UTC](https://forums.unrealengine.com/t/blueprint-path-from-c-base-class/1092624 "2025-03-25T20:06:02Z")

</div>

Hi, I have a BP that has a custom cpp parent class inside that parent class code, I need to know the asset path of that very blueprint GetFolderName() returns “none” How can I get the ‘\\Game.…\\Asset.Asset’ path of th…

---

## [Why is my UI not showing in packaged build?](https://forums.unrealengine.com/t/why-is-my-ui-not-showing-in-packaged-build/2400252)

<div class="topic-metadata">

**Author:** [@Speed576](https://forums.unrealengine.com/u/Speed576)\
**Replies:** 9\
**Last updated:** [March 25, 2025, 2:48pm UTC](https://forums.unrealengine.com/t/why-is-my-ui-not-showing-in-packaged-build/2400252 "2025-03-25T14:48:17Z")

</div>

So I am making a local multiplayer game and I have this system where it would put out a number on the top of the player, showing which player you are. For some reason, this number system works in editor but when I build …

---

## [Maximizing Your Data Recovery with Exchange Recovery Manager ](https://forums.unrealengine.com/t/maximizing-your-data-recovery-with-exchange-recovery-manager/2416290)

<div class="topic-metadata">

**Author:** [@Bruce\_Wayne00100](https://forums.unrealengine.com/u/Bruce_Wayne00100)\
**Replies:** 0\
**Last updated:** [March 25, 2025, 1:58pm UTC](https://forums.unrealengine.com/t/maximizing-your-data-recovery-with-exchange-recovery-manager/2416290 "2025-03-25T13:58:50Z")

</div>

Introduction Loss of data can be a huge setback for organizations in today’s digital age. Whether as a result of accidental loss, corruption, or MS Exchange crash, there has never been more of a necessity for effective …

---

## [v5.5 Starting a new project Fails with this output, worked with v5.4](https://forums.unrealengine.com/t/v5-5-starting-a-new-project-fails-with-this-output-worked-with-v5-4/2415208)

<div class="topic-metadata">

**Author:** [@ChristopherRaven](https://forums.unrealengine.com/u/ChristopherRaven)\
**Replies:** 2\
**Last updated:** [March 25, 2025, 12:40pm UTC](https://forums.unrealengine.com/t/v5-5-starting-a-new-project-fails-with-this-output-worked-with-v5-4/2415208 "2025-03-25T12:40:21Z")

</div>

Running D:/Program Files/Epic Games/UE\_5.5/Engine/Build/BatchFiles/Build.bat -projectfiles -project=“D:/Projects/HF\_Wonder/HF\_Wonder.uproject” -game -rocket -progress Using bundled DotNet SDK version: 8.0.300 Running …

---

## [Can't compile 5.4 Projects anymore, I need help.](https://forums.unrealengine.com/t/cant-compile-5-4-projects-anymore-i-need-help/2138002)

<div class="topic-metadata">

**Author:** [@RougueBear](https://forums.unrealengine.com/u/RougueBear)\
**Replies:** 26\
**Last updated:** [March 25, 2025, 9:29am UTC](https://forums.unrealengine.com/t/cant-compile-5-4-projects-anymore-i-need-help/2138002 "2025-03-25T09:29:06Z")

</div>

So a while back I started getting this message from the engine whenever I tried creating a new project in unreal engine 5.4. C:\\Program Files\\Epic Games\\UE\_5.4\\Engine\\Source\\Runtime\\Core\\Public\\Experimental\\ConcurrentL…

---

## [Packaging game server fails using Unreal Engine source build](https://forums.unrealengine.com/t/packaging-game-server-fails-using-unreal-engine-source-build/153421)

<div class="topic-metadata">

**Author:** [@X6Herbius](https://forums.unrealengine.com/u/X6Herbius)\
**Replies:** 9\
**Last updated:** [March 25, 2025, 8:47am UTC](https://forums.unrealengine.com/t/packaging-game-server-fails-using-unreal-engine-source-build/153421 "2025-03-25T08:47:30Z")

</div>

I’m attempting to package the server version of the Unreal Shooter Game for UE 4.24.3 Win64, and am getting some strange errors relating to HoloLens (which I wasn’t even aware I was linking against). My packaging log lo…

---

## [DECLARE\_DYNAMIC\_DELEGATE\_ThreeParams() Error](https://forums.unrealengine.com/t/declare-dynamic-delegate-threeparams-error/448468)

<div class="topic-metadata">

**Author:** [@Bazzy2000](https://forums.unrealengine.com/u/Bazzy2000)\
**Replies:** 4\
**Last updated:** [June 3, 2024, 7:19pm UTC](https://forums.unrealengine.com/t/declare-dynamic-delegate-threeparams-error/448468 "2024-06-03T19:19:22Z")

</div>

I’m getting an error every time I try to include DECLARE\_DYNAMIC\_DELEGATE\_ThreeParams(); into my .h file. The error says “this declaration has no storage class or type specifier” and that FOnProgress is undefined. I’ve t…

---

## [Debug a packaged game](https://forums.unrealengine.com/t/debug-a-packaged-game/144755)

<div class="topic-metadata">

**Author:** [@hzhenk](https://forums.unrealengine.com/u/hzhenk)\
**Replies:** 6\
**Last updated:** [March 23, 2025, 6:36pm UTC](https://forums.unrealengine.com/t/debug-a-packaged-game/144755 "2025-03-23T18:36:21Z")

</div>

I have a prototype multiplayer C++ game in UE4.25.0. If I play the game in the editor. No problem. If I package for Win64 no error. Than if I start the packaged build. Nothing happens even with -log. How can I debug th…

---

## [UnrealHeaderTool System.AccessViolationException: Attempted to read or write protected memory](https://forums.unrealengine.com/t/unrealheadertool-system-accessviolationexception-attempted-to-read-or-write-protected-memory/2414224)

<div class="topic-metadata">

**Author:** [@GribUser](https://forums.unrealengine.com/u/GribUser)\
**Replies:** 0\
**Last updated:** [March 24, 2025, 5:30pm UTC](https://forums.unrealengine.com/t/unrealheadertool-system-accessviolationexception-attempted-to-read-or-write-protected-memory/2414224 "2025-03-24T17:30:08Z")

</div>

So, 5.5.4. Upgrading project from the latest 5.3. I get random memory access errors from UHT. Sometimes all is fine, but usually all is not. Error texts and stack differ, for example: ▶ Random error 0 ▶ Random error 1 ▶ R…

---

## [Project: Paper2D](https://forums.unrealengine.com/t/project-paper2d/3179)

<div class="topic-metadata">

**Author:** [@Michael\_Noland](https://forums.unrealengine.com/u/Michael_Noland)\
**Replies:** 806\
**Last updated:** [March 24, 2025, 3:21pm UTC](https://forums.unrealengine.com/t/project-paper2d/3179 "2025-03-24T15:21:16Z")

</div>

As you may have noticed, there was an unsupported experimental named Paper2D already present in 4.0 launch. I’m very happy to announce that we’re going to be taking it from experimental to a supported engine feature o…

---

## [How can I throw a Blueprint compile error from a CustomThunk?](https://forums.unrealengine.com/t/how-can-i-throw-a-blueprint-compile-error-from-a-customthunk/2412283)

<div class="topic-metadata">

**Author:** [@Kotaru\_1](https://forums.unrealengine.com/u/Kotaru_1)\
**Replies:** 3\
**Last updated:** [March 24, 2025, 1:37pm UTC](https://forums.unrealengine.com/t/how-can-i-throw-a-blueprint-compile-error-from-a-customthunk/2412283 "2025-03-24T13:37:53Z")

</div>

How can I throw a Blueprint compile error from a CustomThunk?

---

## [Issues with Saving Texture with UEditorLoadingAndSavingUtils::SavePackages ](https://forums.unrealengine.com/t/issues-with-saving-texture-with-ueditorloadingandsavingutils-savepackages/2413691)

<div class="topic-metadata">

**Author:** [@lichmark](https://forums.unrealengine.com/u/lichmark)\
**Replies:** 0\
**Last updated:** [March 24, 2025, 1:08pm UTC](https://forums.unrealengine.com/t/issues-with-saving-texture-with-ueditorloadingandsavingutils-savepackages/2413691 "2025-03-24T13:08:45Z")

</div>

I have an usual issue where I try to serialize a texture, it supposedly successfully writes to disk but when reloading the asset it the old version shows up. I’m working on a tool in editor (5.4.4) that requires working…

---

## [How is the license revenue level verified? What documents are required?](https://forums.unrealengine.com/t/how-is-the-license-revenue-level-verified-what-documents-are-required/2396654)

<div class="topic-metadata">

**Author:** [@SVHatfield](https://forums.unrealengine.com/u/SVHatfield)\
**Replies:** 1\
**Last updated:** [March 23, 2025, 3:52pm UTC](https://forums.unrealengine.com/t/how-is-the-license-revenue-level-verified-what-documents-are-required/2396654 "2025-03-23T15:52:54Z")

</div>

How is the license revenue level verified for the Royalty-Based pricing? What documents are required?

---

## [how to package c++ asset for mod?](https://forums.unrealengine.com/t/how-to-package-c-asset-for-mod/2410339)

<div class="topic-metadata">

**Author:** [@\_2287](https://forums.unrealengine.com/u/_2287)\
**Replies:** 0\
**Last updated:** [March 23, 2025, 10:05am UTC](https://forums.unrealengine.com/t/how-to-package-c-asset-for-mod/2410339 "2025-03-23T10:05:00Z")

</div>

Hello everyone, I continue to make a mod for atomic heart, I started making a launcher through c++, I made the launcher myself, and it’s ready, but it’s time to integrate it with the game, so I created a c++ class that c…

---

## [Question about UAttributeSet](https://forums.unrealengine.com/t/question-about-uattributeset/2384576)

<div class="topic-metadata">

**Author:** [@FFCMY](https://forums.unrealengine.com/u/FFCMY)\
**Replies:** 2\
**Last updated:** [March 23, 2025, 8:33am UTC](https://forums.unrealengine.com/t/question-about-uattributeset/2384576 "2025-03-23T08:33:43Z")

</div>

I’m new to the Gameplay Ability System, and I’m trying to figure out how to use UAttributeSet. It seems like UAttributeSet should only contain sets of FGameplayAttributeData. But FGameplayAttributeData represents float d…

---

## [Error: Couldn't start: CreateProcess() returned 2. This happens when I try to run my UE4 .exe on a computer separate from the one I built it on](https://forums.unrealengine.com/t/error-couldnt-start-createprocess-returned-2-this-happens-when-i-try-to-run-my-ue4-exe-on-a-computer-separate-from-the-one-i-built-it-on/485578)

<div class="topic-metadata">

**Author:** [@ShoeShineShiloh](https://forums.unrealengine.com/u/ShoeShineShiloh)\
**Replies:** 2\
**Last updated:** [March 22, 2025, 10:55pm UTC](https://forums.unrealengine.com/t/error-couldnt-start-createprocess-returned-2-this-happens-when-i-try-to-run-my-ue4-exe-on-a-computer-separate-from-the-one-i-built-it-on/485578 "2025-03-22T22:55:47Z")

</div>

The gist is in the title. I created a little demo game in UE 4.26 that runs perfectly both in the editor, and from the packaged .exe as long as it’s on the same computer. Once I send the .exe to other computers I get the…

---

## [Resetting Preview Rendering Level after changing it causes crash on boot](https://forums.unrealengine.com/t/resetting-preview-rendering-level-after-changing-it-causes-crash-on-boot/471398)

<div class="topic-metadata">

**Author:** [@FloodAnxiety](https://forums.unrealengine.com/u/FloodAnxiety)\
**Replies:** 8\
**Last updated:** [March 22, 2025, 10:11pm UTC](https://forums.unrealengine.com/t/resetting-preview-rendering-level-after-changing-it-causes-crash-on-boot/471398 "2025-03-22T22:11:28Z")

</div>

I tried changing my “Preview Rendering Level” to “Android Vulkan”, and it crashed the editor. Now opening my project crashes. Source control indicates that I haven’t made any changes. Does anyone know where this setti…

---

## [Stuttering when initializing UDynamicMeshComponent mesh](https://forums.unrealengine.com/t/stuttering-when-initializing-udynamicmeshcomponent-mesh/2409059)

<div class="topic-metadata">

**Author:** [@Viniccius007](https://forums.unrealengine.com/u/Viniccius007)\
**Replies:** 0\
**Last updated:** [March 22, 2025, 8:42pm UTC](https://forums.unrealengine.com/t/stuttering-when-initializing-udynamicmeshcomponent-mesh/2409059 "2025-03-22T20:42:27Z")

</div>

I’m trying to create a voxel world with UDynamicMeshComponent, but I noticed some stuttering when first creating the meshes, specially on this part which runs at the end of the frame: I already run all the mesh initi…

---

## [Unreal Engine cannot open compiler intermediate file ](https://forums.unrealengine.com/t/unreal-engine-cannot-open-compiler-intermediate-file/2408786)

<div class="topic-metadata">

**Author:** [@Ku\_Ka\_Re\_Ky](https://forums.unrealengine.com/u/Ku_Ka_Re_Ky)\
**Replies:** 0\
**Last updated:** [March 22, 2025, 7:23pm UTC](https://forums.unrealengine.com/t/unreal-engine-cannot-open-compiler-intermediate-file/2408786 "2025-03-22T19:23:00Z")

</div>

Can anyone help me? Unreal Engine says like Blockquote Running C:/Program Files/Epic Games/UE\_5.5/Engine/Build/BatchFiles/Build.bat Development Win64 -Project=“C:/Users/Данил/Documents/Unreal Projects/test/test.uproject…

---

## [I'm constantly getting unknown crashes in my project could it be corrupt?](https://forums.unrealengine.com/t/im-constantly-getting-unknown-crashes-in-my-project-could-it-be-corrupt/2407717)

<div class="topic-metadata">

**Author:** [@Justrenis](https://forums.unrealengine.com/u/Justrenis)\
**Replies:** 2\
**Last updated:** [March 22, 2025, 5:28pm UTC](https://forums.unrealengine.com/t/im-constantly-getting-unknown-crashes-in-my-project-could-it-be-corrupt/2407717 "2025-03-22T17:28:43Z")

</div>

For the last few weeks we are getting unknown crashes that lead to mimalloc, and we do not know what to do, we tried fixing UI problems where it could crash, but we are getting unknown crashes in Slate, SkeletalMesh, Nia…

[Previous page](https://forums.unrealengine.com/c/development-discussion/programming-scripting/c-programming/29.md?page=43)

[Next page](https://forums.unrealengine.com/c/development-discussion/programming-scripting/c-programming/29.md?page=45)
