# C++

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

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

**Page:** 49

---

## [WidgetComponent does not move along with actor](https://forums.unrealengine.com/t/widgetcomponent-does-not-move-along-with-actor/453138)

<div class="topic-metadata">

**Author:** [@FunnyBrod](https://forums.unrealengine.com/u/FunnyBrod)\
**Replies:** 10\
**Last updated:** [March 5, 2025, 3:51pm UTC](https://forums.unrealengine.com/t/widgetcomponent-does-not-move-along-with-actor/453138 "2025-03-05T15:51:03Z")

</div>

I added a WidgetComponent via C++ in my actor class and it does not move along with my actor, when I move it. The Widget just stuck at the place where it was spawned. If do the same in the actor blueprint and add Widge…

---

## [Shader compilation loading screen](https://forums.unrealengine.com/t/shader-compilation-loading-screen/2376242)

<div class="topic-metadata">

**Author:** [@aimbotRaz](https://forums.unrealengine.com/u/aimbotRaz)\
**Replies:** 1\
**Last updated:** [March 5, 2025, 2:44pm UTC](https://forums.unrealengine.com/t/shader-compilation-loading-screen/2376242 "2025-03-05T14:44:22Z")

</div>

Following Game Engines & Shader Stuttering: UE’s Solution | Epic Developer Community It advise to use FShaderPipelineCache::NumPrecompilesRemaining() to show the number of the precompilations remaining. I wanted to use …

---

## [FTaskEvent as explicit task completion trigger. When is the convenient timing?](https://forums.unrealengine.com/t/ftaskevent-as-explicit-task-completion-trigger-when-is-the-convenient-timing/2375834)

<div class="topic-metadata">

**Author:** [@Yuri9447](https://forums.unrealengine.com/u/Yuri9447)\
**Replies:** 0\
**Last updated:** [March 5, 2025, 7:13am UTC](https://forums.unrealengine.com/t/ftaskevent-as-explicit-task-completion-trigger-when-is-the-convenient-timing/2375834 "2025-03-05T07:13:34Z")

</div>

Consider the following code: FTaskEvent Event{ UE\_SOURCE\_LOCATION }; auto OuterTask = Launch( UE\_SOURCE\_LOCATION, \[&Event\] { //Adds the event as a nested task of the launched task AddNested(Event); }, ETaskPrio…

---

## [Ordering subsystem execution](https://forums.unrealengine.com/t/ordering-subsystem-execution/1430830)

<div class="topic-metadata">

**Author:** [@gabout18](https://forums.unrealengine.com/u/gabout18)\
**Replies:** 5\
**Last updated:** [March 5, 2025, 2:25am UTC](https://forums.unrealengine.com/t/ordering-subsystem-execution/1430830 "2025-03-05T02:25:37Z")

</div>

Can we control the execution order of subsystem in unreal ? Any idea ?

---

## [UUserWidget Running But Nothing Visible](https://forums.unrealengine.com/t/uuserwidget-running-but-nothing-visible/150185)

<div class="topic-metadata">

**Author:** [@GreatMAK](https://forums.unrealengine.com/u/GreatMAK)\
**Replies:** 11\
**Last updated:** [March 5, 2025, 2:00am UTC](https://forums.unrealengine.com/t/uuserwidget-running-but-nothing-visible/150185 "2025-03-05T02:00:49Z")

</div>

hey lads, as you know you can do your basic UMG stuff like creating a UTextBlock etc. in c++ but the thing is (based on most tutors i saw) you have to make blueprint based on that c++ code and have those pointers referen…

---

## [Issue with Missing Enqueue Call in PresenceOSSAdapter::QueryPresence (OnlineServicesOSSAdapter Plugin)](https://forums.unrealengine.com/t/issue-with-missing-enqueue-call-in-presenceossadapter-querypresence-onlineservicesossadapter-plugin/2375578)

<div class="topic-metadata">

**Author:** [@nexus\_jain](https://forums.unrealengine.com/u/nexus_jain)\
**Replies:** 0\
**Last updated:** [March 5, 2025, 1:51am UTC](https://forums.unrealengine.com/t/issue-with-missing-enqueue-call-in-presenceossadapter-querypresence-onlineservicesossadapter-plugin/2375578 "2025-03-05T01:51:55Z")

</div>

Hello, We are encountering an issue with the OnlineServicesOSSAdapter plugin in Unreal Engine, specifically in the PresenceOSSAdapter.cpp file. It appears that for TOnlineAsyncOpRef operations, in functions like QueryPr…

---

## [AssetRegistrySearchable(GetTagValue) doesnt work](https://forums.unrealengine.com/t/assetregistrysearchable-gettagvalue-doesnt-work/2375450)

<div class="topic-metadata">

**Author:** [@blAddddDe](https://forums.unrealengine.com/u/blAddddDe)\
**Replies:** 0\
**Last updated:** [March 4, 2025, 11:42pm UTC](https://forums.unrealengine.com/t/assetregistrysearchable-gettagvalue-doesnt-work/2375450 "2025-03-04T23:42:03Z")

</div>

UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "General", AssetRegistrySearchable) int32 StackSize = 1; FAssetData AssetData; UAssetManager::Get().GetPrimaryAssetData(ItemID, AssetData); int32 ItemStackSize =…

---

## [Is there a good resource that teaches how to create my plugin?](https://forums.unrealengine.com/t/is-there-a-good-resource-that-teaches-how-to-create-my-plugin/2372822)

<div class="topic-metadata">

**Author:** [@FFCMY](https://forums.unrealengine.com/u/FFCMY)\
**Replies:** 4\
**Last updated:** [March 4, 2025, 5:16pm UTC](https://forums.unrealengine.com/t/is-there-a-good-resource-that-teaches-how-to-create-my-plugin/2372822 "2025-03-04T17:16:53Z")

</div>

I want to modify my animation files and do the same processing for each animation, such as clearing the Hip data, extracting the Root Motion data, etc. I want to learn how to make a plugin for it. I created an Editor Sta…

---

## [When is the IPlacementModeModule Loaded?](https://forums.unrealengine.com/t/when-is-the-iplacementmodemodule-loaded/210880)

<div class="topic-metadata">

**Author:** [@Raja.Haris](https://forums.unrealengine.com/u/Raja.Haris)\
**Replies:** 3\
**Last updated:** [March 4, 2025, 11:18am UTC](https://forums.unrealengine.com/t/when-is-the-iplacementmodemodule-loaded/210880 "2025-03-04T11:18:43Z")

</div>

Hi, I have created an Editor Module and I want to access IPlacementModeModule Functions in order to Register Category into Place Actors tab. problem is the IPlacementModeModule::IsAvailable() is never true it seems tha…

---

## [Enhanced Input doesn't work when used in multiplayer ](https://forums.unrealengine.com/t/enhanced-input-doesnt-work-when-used-in-multiplayer/2372031)

<div class="topic-metadata">

**Author:** [@FirstCool](https://forums.unrealengine.com/u/FirstCool)\
**Replies:** 0\
**Last updated:** [March 3, 2025, 2:27pm UTC](https://forums.unrealengine.com/t/enhanced-input-doesnt-work-when-used-in-multiplayer/2372031 "2025-03-03T14:27:43Z")

</div>

Hello! I’ve got a Player controller class, implemented using Enhanced Input system. It handles all inputs and then performs respective actions on possessed pawn. Originally developed for singleplayer I decided to test h…

---

## [How to add custom define macro to Unreal Engine?](https://forums.unrealengine.com/t/how-to-add-custom-define-macro-to-unreal-engine/2368026)

<div class="topic-metadata">

**Author:** [@amirullahizzan](https://forums.unrealengine.com/u/amirullahizzan)\
**Replies:** 1\
**Last updated:** [March 3, 2025, 10:16am UTC](https://forums.unrealengine.com/t/how-to-add-custom-define-macro-to-unreal-engine/2368026 "2025-03-03T10:16:45Z")

</div>

I wanted to shorten the UE\_LOG cause its too long. how do I use this properly? It seems working without calling any header file but the intellisense gives red squiggly line ///////////// ProjectHeader.h #define LOG(ms…

---

## [pass custom data to base pass](https://forums.unrealengine.com/t/pass-custom-data-to-base-pass/2363510)

<div class="topic-metadata">

**Author:** [@Ytarameaiden](https://forums.unrealengine.com/u/Ytarameaiden)\
**Replies:** 2\
**Last updated:** [March 3, 2025, 9:14am UTC](https://forums.unrealengine.com/t/pass-custom-data-to-base-pass/2363510 "2025-03-03T09:14:19Z")

</div>

heya, i wanna make a per actor(or primitive component) clip plane, how would I go about doing that? any clues, any help would be appreciated

---

## [Why Unreal Engine templates are so... messy?](https://forums.unrealengine.com/t/why-unreal-engine-templates-are-so-messy/2353440)

<div class="topic-metadata">

**Author:** [@Tarkin1230](https://forums.unrealengine.com/u/Tarkin1230)\
**Replies:** 6\
**Last updated:** [March 3, 2025, 5:30am UTC](https://forums.unrealengine.com/t/why-unreal-engine-templates-are-so-messy/2353440 "2025-03-03T05:30:09Z")

</div>

Hi! I was using the templates from epic, but i have question about their aesthetics, they are a good place to start, but shouldn’t they make it clean? Random comments, multiple public/protect scopes in one file… why is t…

---

## [Inheriting from AChaosSolverActor with a custom class - why can't I link to the external symbols of the pure virtual functions?](https://forums.unrealengine.com/t/inheriting-from-achaossolveractor-with-a-custom-class-why-cant-i-link-to-the-external-symbols-of-the-pure-virtual-functions/2345573)

<div class="topic-metadata">

**Author:** [@dankrusi](https://forums.unrealengine.com/u/dankrusi)\
**Replies:** 6\
**Last updated:** [March 2, 2025, 8:25pm UTC](https://forums.unrealengine.com/t/inheriting-from-achaossolveractor-with-a-custom-class-why-cant-i-link-to-the-external-symbols-of-the-pure-virtual-functions/2345573 "2025-03-02T20:25:55Z")

</div>

I must be too tired or something, but for the life of me I can’t figure out how to link a simple inheriting class AMyChaosSolverActor? I always get linking errors such as when I call the base class functions: error LNK…

---

## [FString from a single TCHAR](https://forums.unrealengine.com/t/fstring-from-a-single-tchar/629217)

<div class="topic-metadata">

**Author:** [@KaidoomDev](https://forums.unrealengine.com/u/KaidoomDev)\
**Replies:** 3\
**Last updated:** [March 2, 2025, 7:37pm UTC](https://forums.unrealengine.com/t/fstring-from-a-single-tchar/629217 "2025-03-02T19:37:32Z")

</div>

Hi, I’ve been trying to find a way to construct a FString from a single TCHAR so far this is what I’ve come up with and I’d like to know if you guys have any better methods. First method: TCHAR c = 'A'; FString str = …

---

## [Game crashed after package, when I look at the mesh I just generated... ](https://forums.unrealengine.com/t/game-crashed-after-package-when-i-look-at-the-mesh-i-just-generated/2369167)

<div class="topic-metadata">

**Author:** [@DarthSoluke](https://forums.unrealengine.com/u/DarthSoluke)\
**Replies:** 0\
**Last updated:** [March 2, 2025, 2:10pm UTC](https://forums.unrealengine.com/t/game-crashed-after-package-when-i-look-at-the-mesh-i-just-generated/2369167 "2025-03-02T14:10:52Z")

</div>

Hi, everyone. I have integrated some functions of Point Cloud Library into a plugin of unreal engine, one of the most important of them is surface reconstruction. All the steps works great except the last stage, which is…

---

## [Can't include "LevelSequence.h" because of "GENERATE\_BODY()"](https://forums.unrealengine.com/t/cant-include-levelsequence-h-because-of-generate-body/2367441)

<div class="topic-metadata">

**Author:** [@Ayloy\_05](https://forums.unrealengine.com/u/Ayloy_05)\
**Replies:** 1\
**Last updated:** [March 2, 2025, 1:18pm UTC](https://forums.unrealengine.com/t/cant-include-levelsequence-h-because-of-generate-body/2367441 "2025-03-02T13:18:38Z")

</div>

I want to include “LevelSequence.h” but it doesnt work cause of a GNERATE\_BODY(). According to my research this is a common mistake over the years. Seems to be cause of the Line in which #includeX.generated.h and GENERAT…

---

## [Collision missing my characters head while using physical animation component blending/impulses.](https://forums.unrealengine.com/t/collision-missing-my-characters-head-while-using-physical-animation-component-blending-impulses/2356222)

<div class="topic-metadata">

**Author:** [@xsmokumsx](https://forums.unrealengine.com/u/xsmokumsx)\
**Replies:** 9\
**Last updated:** [March 2, 2025, 4:21am UTC](https://forums.unrealengine.com/t/collision-missing-my-characters-head-while-using-physical-animation-component-blending-impulses/2356222 "2025-03-02T04:21:06Z")

</div>

I was wondering if anyone here could possibly help me figure out why exactly my collisions arent activating properly on my characters head? He seems to miss the head/jaw and if I get close enough, it will hit the shoulde…

---

## [Stream UE 5.5 metahuman in a web app ](https://forums.unrealengine.com/t/stream-ue-5-5-metahuman-in-a-web-app/2347746)

<div class="topic-metadata">

**Author:** [@Tripolarhz](https://forums.unrealengine.com/u/Tripolarhz)\
**Replies:** 1\
**Last updated:** [March 2, 2025, 3:19am UTC](https://forums.unrealengine.com/t/stream-ue-5-5-metahuman-in-a-web-app/2347746 "2025-03-02T03:19:52Z")

</div>

So I am using UE 5.5 and I want to stream a real time metahuman into my web app. I know that I should use pixel streaming and I have already cloned the pixel streaming repo from github. However, I don’t know what is the …

---

## [how to make property filter?](https://forums.unrealengine.com/t/how-to-make-property-filter/2270075)

<div class="topic-metadata">

**Author:** [@JulioJerez](https://forums.unrealengine.com/u/JulioJerez)\
**Replies:** 5\
**Last updated:** [March 1, 2025, 8:27pm UTC](https://forums.unrealengine.com/t/how-to-make-property-filter/2270075 "2025-03-01T20:27:43Z")

</div>

I have this class UCLASS(ClassGroup=(NewtonJoints), meta=(BlueprintSpawnableComponent)) class UNewtonJointFix : public UNewtonJoint { GENERATED\_BODY() public: // Sets default values for this component's properties …

---

## [Gameplay Ability System Course Project - Development Blog](https://forums.unrealengine.com/t/gameplay-ability-system-course-project-development-blog/1419542)

<div class="topic-metadata">

**Author:** [@DevinSherry](https://forums.unrealengine.com/u/DevinSherry)\
**Replies:** 20\
**Last updated:** [March 1, 2025, 4:33pm UTC](https://forums.unrealengine.com/t/gameplay-ability-system-course-project-development-blog/1419542 "2025-03-01T16:33:13Z")

</div>

Hello everyone! My name is Devin Sherry and I am a Senior Gameplay Designer at CD Projekt Red working on the next generation Witcher series. I’ve also worked at People Can Fly on the Outriders and Outriders: Worldslayer…

---

## [Using Row from DataTable in OnConstruction c++ resulting in error: " EXCEPTION\_ACCESS\_VIOLATION"](https://forums.unrealengine.com/t/using-row-from-datatable-in-onconstruction-c-resulting-in-error-exception-access-violation/2365937)

<div class="topic-metadata">

**Author:** [@Tarkin1230](https://forums.unrealengine.com/u/Tarkin1230)\
**Replies:** 0\
**Last updated:** [March 1, 2025, 8:54am UTC](https://forums.unrealengine.com/t/using-row-from-datatable-in-onconstruction-c-resulting-in-error-exception-access-violation/2365937 "2025-03-01T08:54:29Z")

</div>

Hello there. I’m following a tutorial from the YouTube, a guy make it in blueprint and im trying to make a copy of it in c++. He created FunctionLibrary Blueprint with getting data row like this: And later on, he use…

---

## [How Do I start a C++ project for a Film/Video Project?](https://forums.unrealengine.com/t/how-do-i-start-a-c-project-for-a-film-video-project/2365310)

<div class="topic-metadata">

**Author:** [@JMilton5](https://forums.unrealengine.com/u/JMilton5)\
**Replies:** 1\
**Last updated:** [February 28, 2025, 11:58pm UTC](https://forums.unrealengine.com/t/how-do-i-start-a-c-project-for-a-film-video-project/2365310 "2025-02-28T23:58:02Z")

</div>

Hi, I’m new to C++ development in Unreal. I’m learning how to start a C++ project for Games. There is an option when creating a new project. What is the best way to start a C++ project for a Film / Video project? I’m c…

---

## [Cannot include ProceduralMeshComponent.h](https://forums.unrealengine.com/t/cannot-include-proceduralmeshcomponent-h/520721)

<div class="topic-metadata">

**Author:** [@Thoomas](https://forums.unrealengine.com/u/Thoomas)\
**Replies:** 10\
**Last updated:** [February 28, 2025, 3:49pm UTC](https://forums.unrealengine.com/t/cannot-include-proceduralmeshcomponent-h/520721 "2025-02-28T15:49:27Z")

</div>

Since UE5.0 released, I haven’t been able to include/use UProceduralMeshComponent at all. Has the include directory changed? I can’t find a solution anywhere and I’ve tried restarting my project many times. I also checke…

---

## [Strange Access violation reading landscape texture](https://forums.unrealengine.com/t/strange-access-violation-reading-landscape-texture/2364509)

<div class="topic-metadata">

**Author:** [@KaiserJohan](https://forums.unrealengine.com/u/KaiserJohan)\
**Replies:** 0\
**Last updated:** [February 28, 2025, 2:49pm UTC](https://forums.unrealengine.com/t/strange-access-violation-reading-landscape-texture/2364509 "2025-02-28T14:49:19Z")

</div>

Hello, I’ve got a plugin that reads the landscape heightmap into a texture and then extracts the texture data. It reads the heightmap into a texture but then trying to read its contents into CPU causes an access violat…

---

## [EnhancedInput Action "Started" doesnt work on C++?](https://forums.unrealengine.com/t/enhancedinput-action-started-doesnt-work-on-c/2361228)

<div class="topic-metadata">

**Author:** [@no\_reply](https://forums.unrealengine.com/u/no_reply)\
**Replies:** 4\
**Last updated:** [February 28, 2025, 12:50pm UTC](https://forums.unrealengine.com/t/enhancedinput-action-started-doesnt-work-on-c/2361228 "2025-02-28T12:50:20Z")

</div>

When I use ‘Triggered’ instead of ‘Started’ everything works. But I specifically need ‘Started’. I did the same thing on blueprints and everything works. Where is the issue?

---

## [Need advice about Chaos Destruction](https://forums.unrealengine.com/t/need-advice-about-chaos-destruction/2360502)

<div class="topic-metadata">

**Author:** [@gyartt4x4](https://forums.unrealengine.com/u/gyartt4x4)\
**Replies:** 2\
**Last updated:** [February 28, 2025, 12:07pm UTC](https://forums.unrealengine.com/t/need-advice-about-chaos-destruction/2360502 "2025-02-28T12:07:36Z")

</div>

Hello! I need a huge advise or maybe a real mentor which will help me learning stuff. I learnt some basis of C++ and i want to learn UE5 for game development. My main passion is to create cool destructions (like r6 sieg…

---

## [FName - Pass by value or pass by reference](https://forums.unrealengine.com/t/fname-pass-by-value-or-pass-by-reference/139755)

<div class="topic-metadata">

**Author:** [@Doumbaga](https://forums.unrealengine.com/u/Doumbaga)\
**Replies:** 14\
**Last updated:** [February 28, 2025, 3:43am UTC](https://forums.unrealengine.com/t/fname-pass-by-value-or-pass-by-reference/139755 "2025-02-28T03:43:23Z")

</div>

Hi, My question is simple, should I pass FName by value or by reference ? I realize that in the engine code, most of the time FName are passed by value. But functions in FName class pass FName by reference. As a C++…

---

## [Procedural Mesh Component Lighting Issue](https://forums.unrealengine.com/t/procedural-mesh-component-lighting-issue/2363660)

<div class="topic-metadata">

**Author:** [@ChaseVelez](https://forums.unrealengine.com/u/ChaseVelez)\
**Replies:** 0\
**Last updated:** [February 28, 2025, 2:10am UTC](https://forums.unrealengine.com/t/procedural-mesh-component-lighting-issue/2363660 "2025-02-28T02:10:31Z")

</div>

I’m having some issues with lighting when I’m using the procedural mesh component in C++. I’ve tried all kinds of debugging and fixes like winding order and normals/tangent normals double sided faces, among other things…

---

## [Issue with lag when loading Datasmith files at runtime](https://forums.unrealengine.com/t/issue-with-lag-when-loading-datasmith-files-at-runtime/2328549)

<div class="topic-metadata">

**Author:** [@qiuter](https://forums.unrealengine.com/u/qiuter)\
**Replies:** 2\
**Last updated:** [February 28, 2025, 12:37am UTC](https://forums.unrealengine.com/t/issue-with-lag-when-loading-datasmith-files-at-runtime/2328549 "2025-02-28T00:37:56Z")

</div>

I’d like to ask how you deal with the problem of lag when loading Datasmith files at runtime. When I use the load file node in the DatasmithRuntime plugin to load the scene, there will be lag. Then I put the logic in the…

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

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