# C++

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

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

**Page:** 12

---

## [UE 5.7 K2Node async : FString parameter in DECLARE\_DYNAMIC\_MULTICAST\_DELEGATE does not generate output pin on the BP node ](https://forums.unrealengine.com/t/ue-5-7-k2node-async-fstring-parameter-in-declare-dynamic-multicast-delegate-does-not-generate-output-pin-on-the-bp-node/2719209)

<div class="topic-metadata">

**Author:** [@pandagaume](https://forums.unrealengine.com/u/pandagaume)\
**Replies:** 1\
**Last updated:** [April 30, 2026, 10:55pm UTC](https://forums.unrealengine.com/t/ue-5-7-k2node-async-fstring-parameter-in-declare-dynamic-multicast-delegate-does-not-generate-output-pin-on-the-bp-node/2719209 "2026-04-30T22:55:07Z")

</div>

I have a UBlueprintAsyncActionBase-derived proxy class with two BlueprintAssignable multicast delegates : DECLARE\_DYNAMIC\_MULTICAST\_DELEGATE\_OneParam( FMyCompletedDelegate, const TArray\<float\>&, Output); DECL…

---

## [The Epic Games Launcher - Launching the shittiest shitt launcher in the history of humanity](https://forums.unrealengine.com/t/the-epic-games-launcher-launching-the-shittiest-shitt-launcher-in-the-history-of-humanity/2719177)

<div class="topic-metadata">

**Author:** [@Mar\_Olaf](https://forums.unrealengine.com/u/Mar_Olaf)\
**Replies:** 0\
**Last updated:** [April 30, 2026, 1:22pm UTC](https://forums.unrealengine.com/t/the-epic-games-launcher-launching-the-shittiest-shitt-launcher-in-the-history-of-humanity/2719177 "2026-04-30T13:22:30Z")

</div>

HELLO. As you have read in the title: 2 Days ago I set out to download Fortnite to download UEFN. (2 FUCKN DAYS AGO) I have started the download, IT IS DOWNLOADING AT LESS THAN 1% OF MY INTERNET SPEED! (1Mbps) Someti…

---

## [Question about actor component dependencies and notifications](https://forums.unrealengine.com/t/question-about-actor-component-dependencies-and-notifications/2718409)

<div class="topic-metadata">

**Author:** [@SINtuition](https://forums.unrealengine.com/u/SINtuition)\
**Replies:** 4\
**Last updated:** [April 28, 2026, 9:17pm UTC](https://forums.unrealengine.com/t/question-about-actor-component-dependencies-and-notifications/2718409 "2026-04-28T21:17:02Z")

</div>

I work with runtime added components very often. I run into situations where component A is dependent on component B, however, component B is not available when component A executes begin play. This creates a situation w…

---

## [How to select a Section in the Outliner of the Sequencer Editor with C++?](https://forums.unrealengine.com/t/how-to-select-a-section-in-the-outliner-of-the-sequencer-editor-with-c/2717410)

<div class="topic-metadata">

**Author:** [@dariac](https://forums.unrealengine.com/u/dariac)\
**Replies:** 1\
**Last updated:** [April 28, 2026, 3:19pm UTC](https://forums.unrealengine.com/t/how-to-select-a-section-in-the-outliner-of-the-sequencer-editor-with-c/2717410 "2026-04-28T15:19:57Z")

</div>

Hello :slight\_smile: Does anyone know a way to select a section in the outliner of the level sequence editor with C++? I need to switch between sections and use the shortcuts “,” and “.” to jump between the keyframes in…

---

## [UE5.3 - Compile error in BlackboardKey.h when compiling a class inheriting from UBTTaskNode](https://forums.unrealengine.com/t/ue5-3-compile-error-in-blackboardkey-h-when-compiling-a-class-inheriting-from-ubttasknode/1723447)

<div class="topic-metadata">

**Author:** [@ThomasBousquet](https://forums.unrealengine.com/u/ThomasBousquet)\
**Replies:** 1\
**Last updated:** [April 28, 2026, 2:49pm UTC](https://forums.unrealengine.com/t/ue5-3-compile-error-in-blackboardkey-h-when-compiling-a-class-inheriting-from-ubttasknode/1723447 "2026-04-28T14:49:24Z")

</div>

I’ve been stuck a few days on this: I created the new class through the editor and without adding any new code, I get the following error: 1\>\[1/5\] Compile \[x64\] TTBTask\_RangedAttack.gen.cpp 1\>C:\\Dev\\UE\_5.3\\Engine\\Source…

---

## [Ray Tracing Causes Crash On Linux ](https://forums.unrealengine.com/t/ray-tracing-causes-crash-on-linux/2717039)

<div class="topic-metadata">

**Author:** [@nsalberg](https://forums.unrealengine.com/u/nsalberg)\
**Replies:** 1\
**Last updated:** [April 27, 2026, 3:48pm UTC](https://forums.unrealengine.com/t/ray-tracing-causes-crash-on-linux/2717039 "2026-04-27T15:48:43Z")

</div>

I’m creating multiple CineCamera’s each with a CineCameraSceneCaptureComponent attached and all are rendering to a render target. After moving the camera’s around eventually the VulkanRHI will segfault. I’m on Ubuntu 2…

---

## [Response to Custom Trace Channel not working UE5.1 C++](https://forums.unrealengine.com/t/response-to-custom-trace-channel-not-working-ue5-1-c/1162916)

<div class="topic-metadata">

**Author:** [@SteveDM](https://forums.unrealengine.com/u/SteveDM)\
**Replies:** 2\
**Last updated:** [April 27, 2026, 2:51pm UTC](https://forums.unrealengine.com/t/response-to-custom-trace-channel-not-working-ue5-1-c/1162916 "2026-04-27T14:51:13Z")

</div>

I have a custom trace channel which is set to ignore by default and have created a C++ class with a static mesh component in it as follows: MeshComp-\>SetCollisionResponseToChannel(ECC\_EngineTraceChannel2, ECR\_Block); T…

---

## [Any reliable event / function when PlayerController possesses a pawn?](https://forums.unrealengine.com/t/any-reliable-event-function-when-playercontroller-possesses-a-pawn/270104)

<div class="topic-metadata">

**Author:** [@NEVQ151](https://forums.unrealengine.com/u/NEVQ151)\
**Replies:** 4\
**Last updated:** [April 27, 2026, 11:43am UTC](https://forums.unrealengine.com/t/any-reliable-event-function-when-playercontroller-possesses-a-pawn/270104 "2026-04-27T11:43:00Z")

</div>

Hi, in my PlayerController I want to bind to a delegate of my player character. First I thought to put this in BeginPlay() of the PlayerController but I noticed that in my networking game, the clients will not possess a…

---

## [Does anyone else feel the same way? Version 5.7 seems to be more laggy than previous versions.](https://forums.unrealengine.com/t/does-anyone-else-feel-the-same-way-version-5-7-seems-to-be-more-laggy-than-previous-versions/2718199)

<div class="topic-metadata">

**Author:** [@15530175137](https://forums.unrealengine.com/u/15530175137)\
**Replies:** 0\
**Last updated:** [April 27, 2026, 3:55am UTC](https://forums.unrealengine.com/t/does-anyone-else-feel-the-same-way-version-5-7-seems-to-be-more-laggy-than-previous-versions/2718199 "2026-04-27T03:55:33Z")

</div>

Does anyone else feel the same way? Version 5.7 seems to be more laggy than previous versions.

---

## [EOS Voice Chat Implementation - OnlineVoiceInterface.h Include Error](https://forums.unrealengine.com/t/eos-voice-chat-implementation-onlinevoiceinterface-h-include-error/2544127)

<div class="topic-metadata">

**Author:** [@HorizonNK](https://forums.unrealengine.com/u/HorizonNK)\
**Replies:** 2\
**Last updated:** [April 26, 2026, 9:04pm UTC](https://forums.unrealengine.com/t/eos-voice-chat-implementation-onlinevoiceinterface-h-include-error/2544127 "2026-04-26T21:04:47Z")

</div>

EOS Voice Chat Implementation - OnlineVoiceInterface.h Include Error Engine Version: UE 5.5 Platform: Windows The Issue I’m trying to implement EOS Voice Chat in my project, but I’m having issues with including the Onli…

---

## [Write string to open file handle](https://forums.unrealengine.com/t/write-string-to-open-file-handle/2718114)

<div class="topic-metadata">

**Author:** [@toomuchabstracti](https://forums.unrealengine.com/u/toomuchabstracti)\
**Replies:** 0\
**Last updated:** [April 26, 2026, 4:20pm UTC](https://forums.unrealengine.com/t/write-string-to-open-file-handle/2718114 "2026-04-26T16:20:41Z")

</div>

I’m making a custom logging library, to work around the fact that UE force-disables logs in “Shipping” build config (I really don’t want to deal with building the engine from its source code). Problem: the IFileHandle::W…

---

## [AssetRegistrySearchable enum](https://forums.unrealengine.com/t/assetregistrysearchable-enum/2717969)

<div class="topic-metadata">

**Author:** [@NullBlack](https://forums.unrealengine.com/u/NullBlack)\
**Replies:** 1\
**Last updated:** [April 26, 2026, 1:57am UTC](https://forums.unrealengine.com/t/assetregistrysearchable-enum/2717969 "2026-04-26T01:57:01Z")

</div>

is it there a way to make an enum UProperty AssetRegistrySearchable? Obviously, I can give it the tag, but both GetTagValue and GetTagValueRef cause compiler errors if I use them with the enum itself, and they give the …

---

## [Cinecamera how to set offcenterprojectionoffset](https://forums.unrealengine.com/t/cinecamera-how-to-set-offcenterprojectionoffset/274726)

<div class="topic-metadata">

**Author:** [@sfjohnston](https://forums.unrealengine.com/u/sfjohnston)\
**Replies:** 5\
**Last updated:** [April 25, 2026, 9:52pm UTC](https://forums.unrealengine.com/t/cinecamera-how-to-set-offcenterprojectionoffset/274726 "2026-04-25T21:52:05Z")

</div>

I would like to change the offcenterprojectionoffset of a cinecamera. In a blueprint, I can GET the values from an fminimialviewinfo, but I don’t know how to SET the values on a cinecamera.

---

## [Camera Intrinsic to unreal Camera Actor](https://forums.unrealengine.com/t/camera-intrinsic-to-unreal-camera-actor/252358)

<div class="topic-metadata">

**Author:** [@vickylzy](https://forums.unrealengine.com/u/vickylzy)\
**Replies:** 1\
**Last updated:** [April 25, 2026, 8:57pm UTC](https://forums.unrealengine.com/t/camera-intrinsic-to-unreal-camera-actor/252358 "2026-04-25T20:57:10Z")

</div>

I’m currently working on AR in Unreal. I have my camera intrinsic matrix by calibrating real camera. I am able to import fx,fy to Unreal camera by setting its FOV and aspect ratio. I wonder how can I set cx,cy for Unre…

---

## [How to control Order of Components (C++) in Blueprint's Components Tab?](https://forums.unrealengine.com/t/how-to-control-order-of-components-c-in-blueprints-components-tab/676845)

<div class="topic-metadata">

**Author:** [@DevKaiUnreal](https://forums.unrealengine.com/u/DevKaiUnreal)\
**Replies:** 3\
**Last updated:** [April 23, 2026, 8:01am UTC](https://forums.unrealengine.com/t/how-to-control-order-of-components-c-in-blueprints-components-tab/676845 "2026-04-23T08:01:25Z")

</div>

Hi there, I have actually three related questions: How am I able to control Order of Components (C++) in Blueprint’s Components Tab? What is preferred the preferred way to attach UActorComponents, MyComponent-\>Registe…

---

## [C++ Asset Action Utility Not Appearing in Editor Context Menu](https://forums.unrealengine.com/t/c-asset-action-utility-not-appearing-in-editor-context-menu/1935464)

<div class="topic-metadata">

**Author:** [@4JAYates](https://forums.unrealengine.com/u/4JAYates)\
**Replies:** 9\
**Last updated:** [April 22, 2026, 1:42am UTC](https://forums.unrealengine.com/t/c-asset-action-utility-not-appearing-in-editor-context-menu/1935464 "2026-04-22T01:42:53Z")

</div>

Hello, I am having some issues with the UAssetActionUtility class. Creating a subclass in editor has no issues and everything works as expected. However I am trying to create a subclass purely within C++ and am clearly …

---

## [If the actor is removed, then WeakPrt.IsValid() = false for all components](https://forums.unrealengine.com/t/if-the-actor-is-removed-then-weakprt-isvalid-false-for-all-components/2716001)

<div class="topic-metadata">

**Author:** [@Babush61](https://forums.unrealengine.com/u/Babush61)\
**Replies:** 2\
**Last updated:** [April 22, 2026, 12:45am UTC](https://forums.unrealengine.com/t/if-the-actor-is-removed-then-weakprt-isvalid-false-for-all-components/2716001 "2026-04-22T00:45:07Z")

</div>

Hello. I have an array containing pointers to an actor’s components: TArray \< TWeakObjectPtr\< USceneComponent\>\> SelectedComponents; If I remove an actor from the scene, will WeakPrt.IsValid() == false for all its co…

---

## [With CommonUI and EnhancedInput enabled, how can I properly use InputActions with Started and Competed events?](https://forums.unrealengine.com/t/with-commonui-and-enhancedinput-enabled-how-can-i-properly-use-inputactions-with-started-and-competed-events/2715805)

<div class="topic-metadata">

**Author:** [@Tuerer](https://forums.unrealengine.com/u/Tuerer)\
**Replies:** 1\
**Last updated:** [April 20, 2026, 11:44am UTC](https://forums.unrealengine.com/t/with-commonui-and-enhancedinput-enabled-how-can-i-properly-use-inputactions-with-started-and-competed-events/2715805 "2026-04-20T11:44:05Z")

</div>

Without CommonUI, I can directly use an EnhancedInputAction in the widget blueprint with its Started, Completed etc. events firing off when expected. However, with CommonUI input routing this is no longer possible. I’ve…

---

## [Execution calculation never being reached when a client is activating an ability](https://forums.unrealengine.com/t/execution-calculation-never-being-reached-when-a-client-is-activating-an-ability/2716464)

<div class="topic-metadata">

**Author:** [@markowo](https://forums.unrealengine.com/u/markowo)\
**Replies:** 0\
**Last updated:** [April 18, 2026, 9:51pm UTC](https://forums.unrealengine.com/t/execution-calculation-never-being-reached-when-a-client-is-activating-an-ability/2716464 "2026-04-18T21:51:16Z")

</div>

I’m trying to activate an ability on the client, but no matter what I tried (different ability net execution and security policies, debugging for validity), it just won’t reach my execution calculation class, and I made …

---

## [With CommonUI and EnhancedInput enabled, how can I properly use InputActions with Started and Competed events? ](https://forums.unrealengine.com/t/with-commonui-and-enhancedinput-enabled-how-can-i-properly-use-inputactions-with-started-and-competed-events/2715900)

<div class="topic-metadata">

**Author:** [@Adncoach](https://forums.unrealengine.com/u/Adncoach)\
**Replies:** 0\
**Last updated:** [April 16, 2026, 2:55pm UTC](https://forums.unrealengine.com/t/with-commonui-and-enhancedinput-enabled-how-can-i-properly-use-inputactions-with-started-and-competed-events/2715900 "2026-04-16T14:55:06Z")

</div>

Without CommonUI, I can directly use an EnhancedInputAction in the widget blueprint with its Started, Completed etc. events firing off when expected. However, with CommonUI input routing this is no longer possible. I’ve…

---

## [USE\_NULL\_RHI question HELP!](https://forums.unrealengine.com/t/use-null-rhi-question-help/2715809)

<div class="topic-metadata">

**Author:** [@JYT0](https://forums.unrealengine.com/u/JYT0)\
**Replies:** 1\
**Last updated:** [April 16, 2026, 9:41am UTC](https://forums.unrealengine.com/t/use-null-rhi-question-help/2715809 "2026-04-16T09:41:36Z")

</div>

LogUObjectHash: Compacting FUObjectHashTables data took 0.74ms LogUObjectHash: Compacting FUObjectHashTables data took 0.73ms LogMonitoredProcess: Running Serialized UAT: \[ cmd.exe /c ““D:/Program Files/UE/UE\_5.5/U…

---

## [Managing 300 Characters](https://forums.unrealengine.com/t/managing-300-characters/2715399)

<div class="topic-metadata">

**Author:** [@pterafier1](https://forums.unrealengine.com/u/pterafier1)\
**Replies:** 3\
**Last updated:** [April 16, 2026, 3:30am UTC](https://forums.unrealengine.com/t/managing-300-characters/2715399 "2026-04-16T03:30:54Z")

</div>

The CMC is expensive. See this graph for proof. I’m trying to be as lazy as possible while still having (at most) 300 characters running around at any given time for my zombie game. I’m also using object pooling and …

---

## [How to read from a RTF\_R32f rendertarget](https://forums.unrealengine.com/t/how-to-read-from-a-rtf-r32f-rendertarget/430146)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_897e28be](https://forums.unrealengine.com/u/anonymous_user_897e28be)\
**Replies:** 4\
**Last updated:** [April 15, 2026, 2:57pm UTC](https://forums.unrealengine.com/t/how-to-read-from-a-rtf-r32f-rendertarget/430146 "2026-04-15T14:57:21Z")

</div>

Hello everyone, I’m having a bit of a problem with getting the data out of a TextureRenderTarget2D with the format RTF\_R32f. I can’t find a perfect match for that problem in the methods of any related class and when I d…

---

## [Can't see USceneComponent array in editor](https://forums.unrealengine.com/t/cant-see-uscenecomponent-array-in-editor/2715125)

<div class="topic-metadata">

**Author:** [@peanut13th](https://forums.unrealengine.com/u/peanut13th)\
**Replies:** 8\
**Last updated:** [April 15, 2026, 11:55am UTC](https://forums.unrealengine.com/t/cant-see-uscenecomponent-array-in-editor/2715125 "2026-04-15T11:55:19Z")

</div>

Hello, I have a ship object that I want to add scene components to in the blueprint editor and add them to an array but I can’t see the array in the editor. this is what i currently have in the .h file UPROPERTY(EditAny…

---

## [UE\_LOG only once?](https://forums.unrealengine.com/t/ue-log-only-once/873701)

<div class="topic-metadata">

**Author:** [@Lucas\_Stern](https://forums.unrealengine.com/u/Lucas_Stern)\
**Replies:** 3\
**Last updated:** [April 14, 2026, 5:20pm UTC](https://forums.unrealengine.com/t/ue-log-only-once/873701 "2026-04-14T17:20:10Z")

</div>

When using UE\_LOG to log an information on output log, there is a way to write the log only once, even if the UE\_LOG is inside a TICK() function, without having do any kind of execution flow control with a if statement?

---

## [How to propagate plugin settings to created objects?](https://forums.unrealengine.com/t/how-to-propagate-plugin-settings-to-created-objects/2715005)

<div class="topic-metadata">

**Author:** [@volumetrix](https://forums.unrealengine.com/u/volumetrix)\
**Replies:** 2\
**Last updated:** [April 14, 2026, 6:56am UTC](https://forums.unrealengine.com/t/how-to-propagate-plugin-settings-to-created-objects/2715005 "2026-04-14T06:56:38Z")

</div>

Working on a custom plugin that defines a new actor component and looking to implement global settings to control the initial values of newly created objects. The main question is how to connect the settings with the co…

---

## [Dynamic Gameplay Effects being deprecated?](https://forums.unrealengine.com/t/dynamic-gameplay-effects-being-deprecated/2714661)

<div class="topic-metadata">

**Author:** [@PivotPull1](https://forums.unrealengine.com/u/PivotPull1)\
**Replies:** 0\
**Last updated:** [April 11, 2026, 5:10pm UTC](https://forums.unrealengine.com/t/dynamic-gameplay-effects-being-deprecated/2714661 "2026-04-11T17:10:09Z")

</div>

Is Epic beginning to deprecate creating Gameplay Effects dynamically at runtime? I ask because I recently the compiler is complaining about the line: Effect-\>StackingType = EGameplayEffectStackingType::AggregateBySource…

---

## [Reading a .mp4 directly onto a Render Target without a RenderTexture?   ](https://forums.unrealengine.com/t/reading-a-mp4-directly-onto-a-render-target-without-a-rendertexture/2714306)

<div class="topic-metadata">

**Author:** [@LoFTF666](https://forums.unrealengine.com/u/LoFTF666)\
**Replies:** 1\
**Last updated:** [April 11, 2026, 4:04am UTC](https://forums.unrealengine.com/t/reading-a-mp4-directly-onto-a-render-target-without-a-rendertexture/2714306 "2026-04-11T04:04:18Z")

</div>

Hi ! I’m wondering of there is a way that I could play a video directly onto a Render Target, without having to go through a Media Player → Media Texture →Copy onto the Render Target ? My goal is to use the video as an…

---

## [How to create assignable reference to component in c++?](https://forums.unrealengine.com/t/how-to-create-assignable-reference-to-component-in-c/2713294)

<div class="topic-metadata">

**Author:** [@Mdohr\_Vof\_Ismoeh](https://forums.unrealengine.com/u/Mdohr_Vof_Ismoeh)\
**Replies:** 5\
**Last updated:** [April 10, 2026, 11:28am UTC](https://forums.unrealengine.com/t/how-to-create-assignable-reference-to-component-in-c/2713294 "2026-04-10T11:28:18Z")

</div>

A have AEnemy c++ class. Based on that class I crate BP\_Enemy. Now in PB\_Enemy Details panel I want to have field to which I want to assign one of components (component will be create in blueprint). In other words: in …

---

## [UE5.6.1 with Visual Studio 2026 bug and hack.](https://forums.unrealengine.com/t/ue5-6-1-with-visual-studio-2026-bug-and-hack/2688792)

<div class="topic-metadata">

**Author:** [@Slipbit](https://forums.unrealengine.com/u/Slipbit)\
**Replies:** 2\
**Last updated:** [April 10, 2026, 8:02am UTC](https://forums.unrealengine.com/t/ue5-6-1-with-visual-studio-2026-bug-and-hack/2688792 "2026-04-10T08:02:34Z")

</div>

Just upgraded to Win11 and was presented with no options for VS-2022 (would have waited if I had known.) So this is what I did to get my UE5.6.1 project to compile successfully using VS-2026. Major breaking errors encou…

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

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