# C++

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

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

**Page:** 48

---

## [Questions about K2Nodes](https://forums.unrealengine.com/t/questions-about-k2nodes/2384246)

<div class="topic-metadata">

**Author:** [@Kotaru\_1](https://forums.unrealengine.com/u/Kotaru_1)\
**Replies:** 1\
**Last updated:** [March 11, 2025, 1:05am UTC](https://forums.unrealengine.com/t/questions-about-k2nodes/2384246 "2025-03-11T01:05:10Z")

</div>

I’m learning about K2 nodes and have a couple of questions of how they work. I can find most information about actually setting up a node from reading through existing K2 nodes just fine, however there are a few things …

---

## [Non-linear movement with UInterpToMovementComponent](https://forums.unrealengine.com/t/non-linear-movement-with-uinterptomovementcomponent/2380762)

<div class="topic-metadata">

**Author:** [@volumetrix](https://forums.unrealengine.com/u/volumetrix)\
**Replies:** 1\
**Last updated:** [March 11, 2025, 12:59am UTC](https://forums.unrealengine.com/t/non-linear-movement-with-uinterptomovementcomponent/2380762 "2025-03-11T00:59:45Z")

</div>

Is it possible to have non-linear movement using UInterpToMovementComponent in C++? For example using easing profiles such as https://easings.net/

---

## [Getting errors in build, after I include torch in my cpp file](https://forums.unrealengine.com/t/getting-errors-in-build-after-i-include-torch-in-my-cpp-file/2382196)

<div class="topic-metadata">

**Author:** [@KKJMJ9](https://forums.unrealengine.com/u/KKJMJ9)\
**Replies:** 5\
**Last updated:** [March 10, 2025, 5:25pm UTC](https://forums.unrealengine.com/t/getting-errors-in-build-after-i-include-torch-in-my-cpp-file/2382196 "2025-03-10T17:25:29Z")

</div>

When i add # include \<torch/torch.h\> and then build project i get errors/warns like: Unreal Projects\\NoxViridus\\eLibs\\libtorch\\include\\c10\\macros\\Macros.h(495): error C4668: \_\_GNUC\_\_ is not defined as a preprocessor mac…

---

## [UE5 - How would I expose these Enums to Blueprints?](https://forums.unrealengine.com/t/ue5-how-would-i-expose-these-enums-to-blueprints/510950)

<div class="topic-metadata">

**Author:** [@jakebaker865](https://forums.unrealengine.com/u/jakebaker865)\
**Replies:** 1\
**Last updated:** [March 10, 2025, 4:49pm UTC](https://forums.unrealengine.com/t/ue5-how-would-i-expose-these-enums-to-blueprints/510950 "2025-03-10T16:49:51Z")

</div>

I want to be able to expose the enums in the Chaos CacheManager to Blueprints. I’ve tried adding them to a UProperty and UFunction, but can’t seem to get any code to work. Thank you for the assistance.

---

## [How to get 5.2.3 I need it for school\> ](https://forums.unrealengine.com/t/how-to-get-5-2-3-i-need-it-for-school/2383460)

<div class="topic-metadata">

**Author:** [@tamperience](https://forums.unrealengine.com/u/tamperience)\
**Replies:** 0\
**Last updated:** [March 10, 2025, 2:09pm UTC](https://forums.unrealengine.com/t/how-to-get-5-2-3-i-need-it-for-school/2383460 "2025-03-10T14:09:27Z")

</div>

Can anyone help with a link to 5.2.3

---

## [Can't get c++ to work on ue5 ](https://forums.unrealengine.com/t/cant-get-c-to-work-on-ue5/2380830)

<div class="topic-metadata">

**Author:** [@vaniew](https://forums.unrealengine.com/u/vaniew)\
**Replies:** 1\
**Last updated:** [March 10, 2025, 1:34pm UTC](https://forums.unrealengine.com/t/cant-get-c-to-work-on-ue5/2380830 "2025-03-10T13:34:13Z")

</div>

No errors shown but when i try to compile it keeps telling me it can’t debug even though I didn’t set it to debug. Converting from blueprint to c++ doesn’t work either for different problems which are: something is not …

---

## [Launching automation test outside of the editor (on a packaged build)](https://forums.unrealengine.com/t/launching-automation-test-outside-of-the-editor-on-a-packaged-build/257877)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_b9143c27](https://forums.unrealengine.com/u/anonymous_user_b9143c27)\
**Replies:** 2\
**Last updated:** [March 10, 2025, 6:49am UTC](https://forums.unrealengine.com/t/launching-automation-test-outside-of-the-editor-on-a-packaged-build/257877 "2025-03-10T06:49:42Z")

</div>

Hello everyone! Me and my team are working on a newcoming game and based on good development practices as well as Jessica Baker’s article on creating tests on unreal as well as several very good presentations about CI/C…

---

## [What exactly is the "Stack" when defining custom thunks?](https://forums.unrealengine.com/t/what-exactly-is-the-stack-when-defining-custom-thunks/2382496)

<div class="topic-metadata">

**Author:** [@Kotaru\_1](https://forums.unrealengine.com/u/Kotaru_1)\
**Replies:** 1\
**Last updated:** [March 9, 2025, 10:40pm UTC](https://forums.unrealengine.com/t/what-exactly-is-the-stack-when-defining-custom-thunks/2382496 "2025-03-09T22:40:16Z")

</div>

I get the idea behind thunks, but I’m struggling at understanding some details. What exactly is the Stack? I mean I know what a stack is, but not how it’s being used in this context. Sometimes it seems to be explained …

---

## [Super bright light problem.](https://forums.unrealengine.com/t/super-bright-light-problem/2381985)

<div class="topic-metadata">

**Author:** [@Tarkin1230](https://forums.unrealengine.com/u/Tarkin1230)\
**Replies:** 2\
**Last updated:** [March 9, 2025, 3:26pm UTC](https://forums.unrealengine.com/t/super-bright-light-problem/2381985 "2025-03-09T15:26:39Z")

</div>

Hello, i am struggling with setting “normal” light, that is not super bright like the default one. So here is my light: As you can see it’s super bright, even if i set Intensity to low amount of lux is either really da…

---

## [Access to Collider in a Character Class](https://forums.unrealengine.com/t/access-to-collider-in-a-character-class/2381094)

<div class="topic-metadata">

**Author:** [@Ayloy\_05](https://forums.unrealengine.com/u/Ayloy_05)\
**Replies:** 3\
**Last updated:** [March 9, 2025, 1:19pm UTC](https://forums.unrealengine.com/t/access-to-collider-in-a-character-class/2381094 "2025-03-09T13:19:52Z")

</div>

So I built a character Controller based on the Character Class. Now I have to do two things I have to access the collider inside the code to filter what my player can collide with and not. I tried to acces with a UCaps…

---

## [Execute another control rig node from custom node c++ class](https://forums.unrealengine.com/t/execute-another-control-rig-node-from-custom-node-c-class/2381200)

<div class="topic-metadata">

**Author:** [@yateam](https://forums.unrealengine.com/u/yateam)\
**Replies:** 1\
**Last updated:** [March 8, 2025, 11:36pm UTC](https://forums.unrealengine.com/t/execute-another-control-rig-node-from-custom-node-c-class/2381200 "2025-03-08T23:36:54Z")

</div>

Hello, I am trying to create a custom control rig node C++ class to put all my control rig blueprint code in there. The first thing I need to do is to wrap existing nodes in C++ code. For instance, I have Full Body IK …

---

## [Error : Invalid BlueprintType enum base - currently only uint8 supported](https://forums.unrealengine.com/t/error-invalid-blueprinttype-enum-base-currently-only-uint8-supported/386812)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_c3e48f52](https://forums.unrealengine.com/u/anonymous_user_c3e48f52)\
**Replies:** 4\
**Last updated:** [March 8, 2025, 10:11pm UTC](https://forums.unrealengine.com/t/error-invalid-blueprinttype-enum-base-currently-only-uint8-supported/386812 "2025-03-08T22:11:49Z")

</div>

Simple replace line 3 with: enum class EMyState : uint8 This ensures your enum derives from uint8, just like 4.15 wants.

---

## [DebugGame Editor Link Errors](https://forums.unrealengine.com/t/debuggame-editor-link-errors/2377931)

<div class="topic-metadata">

**Author:** [@Reaper\_The\_One](https://forums.unrealengine.com/u/Reaper_The_One)\
**Replies:** 1\
**Last updated:** [March 8, 2025, 4:47pm UTC](https://forums.unrealengine.com/t/debuggame-editor-link-errors/2377931 "2025-03-08T16:47:16Z")

</div>

So all of a sudden I started to have this issue with linker errors. The project was fine, working and packing no problem. I used DebugGame Editor config. I added new actor component class in C++ and my solution stopped …

---

## [Changing Property of Custom UShapeComponent (Custom Collision) with Mouse Drag Causes Crash](https://forums.unrealengine.com/t/changing-property-of-custom-ushapecomponent-custom-collision-with-mouse-drag-causes-crash/2373291)

<div class="topic-metadata">

**Author:** [@eray\_ozr](https://forums.unrealengine.com/u/eray_ozr)\
**Replies:** 1\
**Last updated:** [March 8, 2025, 3:46pm UTC](https://forums.unrealengine.com/t/changing-property-of-custom-ushapecomponent-custom-collision-with-mouse-drag-causes-crash/2373291 "2025-03-08T15:46:59Z")

</div>

I created a custom UShapeComponent class to spawn custom shaped collisions like this. It works but I have a weird problem. If I change LineThickness or ShapeColor with mouse drag in editor before using keyboard, it tr…

---

## [How Do I Iterate Quickly (on macOS)?](https://forums.unrealengine.com/t/how-do-i-iterate-quickly-on-macos/2378802)

<div class="topic-metadata">

**Author:** [@ramen2000](https://forums.unrealengine.com/u/ramen2000)\
**Replies:** 1\
**Last updated:** [March 8, 2025, 2:58pm UTC](https://forums.unrealengine.com/t/how-do-i-iterate-quickly-on-macos/2378802 "2025-03-08T14:58:49Z")

</div>

Hello, A few notes about my environment: Platform: macOS Using Unreal 5.4 Compiled engine from source Context for this question: I’m trying to iterate quickly on macOS. Hotreloading C++ on macOS takes around 15 sect…

---

## [How to use compute shaders in Unreal Engine 5? ](https://forums.unrealengine.com/t/how-to-use-compute-shaders-in-unreal-engine-5/2380385)

<div class="topic-metadata">

**Author:** [@sharkeylaser](https://forums.unrealengine.com/u/sharkeylaser)\
**Replies:** 0\
**Last updated:** [March 8, 2025, 4:55am UTC](https://forums.unrealengine.com/t/how-to-use-compute-shaders-in-unreal-engine-5/2380385 "2025-03-08T04:55:51Z")

</div>

Hi! I am working on a game in Unreal Engine 5 but I am stuck with what should be a simple task: implementing compute shaders in game. To preface, I am new to Unreal Engine, so I’ve been using ChatGPT to help guide me. Wh…

---

## [Players are unable to join my map! ](https://forums.unrealengine.com/t/players-are-unable-to-join-my-map/2379534)

<div class="topic-metadata">

**Author:** [@YxnnickZ](https://forums.unrealengine.com/u/YxnnickZ)\
**Replies:** 0\
**Last updated:** [March 7, 2025, 4:05pm UTC](https://forums.unrealengine.com/t/players-are-unable-to-join-my-map/2379534 "2025-03-07T16:05:19Z")

</div>

Hello, I have a problem. I have a fortnite creative map that I want to publish. I already made it public in the past but over time, after a few changes on the map, my map always gets declined by this specific rule: 1.14 S…

---

## [Adding ANY CPP+ class to project renders it BROKEN and UNRECOVERABLE](https://forums.unrealengine.com/t/adding-any-cpp-class-to-project-renders-it-broken-and-unrecoverable/240760)

<div class="topic-metadata">

**Author:** [@Sarapuka](https://forums.unrealengine.com/u/Sarapuka)\
**Replies:** 8\
**Last updated:** [March 7, 2025, 2:47pm UTC](https://forums.unrealengine.com/t/adding-any-cpp-class-to-project-renders-it-broken-and-unrecoverable/240760 "2025-03-07T14:47:06Z")

</div>

I create empty Blank project with 4.26.2, I select target platform as Windows 64 in Project Setting, I run package. All good. I add either default C++ class based on None or I enable OnlineSubsystemSteam, I restart - I…

---

## [I would like to know the coordinates of the left and right side of the actor, within the Y axis.](https://forums.unrealengine.com/t/i-would-like-to-know-the-coordinates-of-the-left-and-right-side-of-the-actor-within-the-y-axis/2379060)

<div class="topic-metadata">

**Author:** [@ViaCognita](https://forums.unrealengine.com/u/ViaCognita)\
**Replies:** 1\
**Last updated:** [March 7, 2025, 9:52am UTC](https://forums.unrealengine.com/t/i-would-like-to-know-the-coordinates-of-the-left-and-right-side-of-the-actor-within-the-y-axis/2379060 "2025-03-07T09:52:02Z")

</div>

Hi! I’m trying to understand how GetActorBounds works. To do it I have this actor: It consists of two static meshes of 50x50x50. The pivot point is on the middle of the left cube. The distance of each face is 25. A…

---

## [C++ RPC question](https://forums.unrealengine.com/t/c-rpc-question/2378800)

<div class="topic-metadata">

**Author:** [@doswls1](https://forums.unrealengine.com/u/doswls1)\
**Replies:** 1\
**Last updated:** [March 7, 2025, 9:21am UTC](https://forums.unrealengine.com/t/c-rpc-question/2378800 "2025-03-07T09:21:45Z")

</div>

i am sending and receiving big arraydata using RPC and i heard there is a way to optimize it with custom serialization using struct is RPC normally handling this? or i need to make it for optimizing network transfer

---

## [PostEditMove doesn't work with Child Actors](https://forums.unrealengine.com/t/posteditmove-doesnt-work-with-child-actors/2378764)

<div class="topic-metadata">

**Author:** [@iNeptuno](https://forums.unrealengine.com/u/iNeptuno)\
**Replies:** 0\
**Last updated:** [March 7, 2025, 2:41am UTC](https://forums.unrealengine.com/t/posteditmove-doesnt-work-with-child-actors/2378764 "2025-03-07T02:41:28Z")

</div>

Basically, I need to check when a child actor is moving inside the editor. I have a Blueprint Class with a child Actor which is a “AMovableActor” class. This Class has the following .cpp: include “DistanceMeasure.h” #…

---

## [Build failed after adding new C++ class](https://forums.unrealengine.com/t/build-failed-after-adding-new-c-class/2377855)

<div class="topic-metadata">

**Author:** [@Davy88MM](https://forums.unrealengine.com/u/Davy88MM)\
**Replies:** 6\
**Last updated:** [March 6, 2025, 3:54pm UTC](https://forums.unrealengine.com/t/build-failed-after-adding-new-c-class/2377855 "2025-03-06T15:54:52Z")

</div>

Hey guys, I want to create a new c++ class in Unreal engine 5.4. When i click on ‘create class’. I see the class appaering in Visual Studio Code with alot of errors. And i get a message in Unreal Editor that the build …

---

## [Adding libtorch to the ue5.5 project](https://forums.unrealengine.com/t/adding-libtorch-to-the-ue5-5-project/2377862)

<div class="topic-metadata">

**Author:** [@KKJMJ9](https://forums.unrealengine.com/u/KKJMJ9)\
**Replies:** 0\
**Last updated:** [March 6, 2025, 2:30pm UTC](https://forums.unrealengine.com/t/adding-libtorch-to-the-ue5-5-project/2377862 "2025-03-06T14:30:38Z")

</div>

Hi, i need to implement libtorch to my projekt, but i don’t really know what i need to do so it’s propertly done and i didn’t find any tutorial on how to do it. What files i need do implement in build.cs and do i must m…

---

## [Visibility properties not updating in 5.4 when track created through C++](https://forums.unrealengine.com/t/visibility-properties-not-updating-in-5-4-when-track-created-through-c/2034207)

<div class="topic-metadata">

**Author:** [@PaulHunter](https://forums.unrealengine.com/u/PaulHunter)\
**Replies:** 3\
**Last updated:** [March 6, 2025, 2:16pm UTC](https://forums.unrealengine.com/t/visibility-properties-not-updating-in-5-4-when-track-created-through-c/2034207 "2025-03-06T14:16:50Z")

</div>

Hi to the wonderfull people at UDN, I’ve been developing a tool (C++) to import an entire cutscene sequence into Unreal with a single button press. This creates a sequence and populates it with all relevant tracks to dr…

---

## [How does FORCEINLINE\_DEBUGGABLE work?](https://forums.unrealengine.com/t/how-does-forceinline-debuggable-work/623774)

<div class="topic-metadata">

**Author:** [@NameOccupied](https://forums.unrealengine.com/u/NameOccupied)\
**Replies:** 4\
**Last updated:** [March 6, 2025, 8:32am UTC](https://forums.unrealengine.com/t/how-does-forceinline-debuggable-work/623774 "2025-03-06T08:32:45Z")

</div>

According to the source code(UE4.26.2) // Engine/Source/Runtime/Core/Public/Misc/CoreMiscDefines.h #if UE\_BUILD\_DEBUG #define FORCEINLINE\_DEBUGGABLE FORCEINLINE\_DEBUGGABLE\_ACTUAL #else #define FORCEINLINE\_DEBUGGABLE F…

---

## [Error LNK2019 : unresolved external symbol Error](https://forums.unrealengine.com/t/error-lnk2019-unresolved-external-symbol-error/2377058)

<div class="topic-metadata">

**Author:** [@JMilton5](https://forums.unrealengine.com/u/JMilton5)\
**Replies:** 4\
**Last updated:** [March 6, 2025, 2:45am UTC](https://forums.unrealengine.com/t/error-lnk2019-unresolved-external-symbol-error/2377058 "2025-03-06T02:45:03Z")

</div>

I’m an experienced programmer new to Unreal and C++ programming. I’m getting this link error and I can’t figure out what I’m doing wrong. Error LNK2019 : unresolved external symbol "public: void \_\_cdecl FAddUnrealObject…

---

## [How to get information about Primary Data Asset without loading it?](https://forums.unrealengine.com/t/how-to-get-information-about-primary-data-asset-without-loading-it/2375362)

<div class="topic-metadata">

**Author:** [@blAddddDe](https://forums.unrealengine.com/u/blAddddDe)\
**Replies:** 7\
**Last updated:** [March 6, 2025, 1:25am UTC](https://forums.unrealengine.com/t/how-to-get-information-about-primary-data-asset-without-loading-it/2375362 "2025-03-06T01:25:52Z")

</div>

Hello! I am writing an inventory system using AssetManager and have encountered a very frustrating thing: the inability to retrieve data without loading. There is this code: ... if (HasEmptySlot()) { FStreamableMana…

---

## [New to unreal and overwhelmed by so many things ](https://forums.unrealengine.com/t/new-to-unreal-and-overwhelmed-by-so-many-things/2364907)

<div class="topic-metadata">

**Author:** [@Yahya\_Khan1254](https://forums.unrealengine.com/u/Yahya_Khan1254)\
**Replies:** 3\
**Last updated:** [March 6, 2025, 12:49am UTC](https://forums.unrealengine.com/t/new-to-unreal-and-overwhelmed-by-so-many-things/2364907 "2025-03-06T00:49:03Z")

</div>

I am new to unreal and unable to understand where to start I want to make games using C++ and unreal

---

## [Can't find AnimationBlueprintLibrary.generated.h when packaging plugin](https://forums.unrealengine.com/t/cant-find-animationblueprintlibrary-generated-h-when-packaging-plugin/112533)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_a95c0d08](https://forums.unrealengine.com/u/anonymous_user_a95c0d08)\
**Replies:** 1\
**Last updated:** [March 5, 2025, 8:42pm UTC](https://forums.unrealengine.com/t/cant-find-animationblueprintlibrary-generated-h-when-packaging-plugin/112533 "2025-03-05T20:42:22Z")

</div>

Hey, I’ve been trying to package my plugin for quite a while but I can’t fix the following error : "fatal error C1083: Cannot open include file: 'AnimationBlueprintLibrary.generated.h': No such file or directory" I’…

---

## [How to add global functionality to the game world?](https://forums.unrealengine.com/t/how-to-add-global-functionality-to-the-game-world/2364393)

<div class="topic-metadata">

**Author:** [@volumetrix](https://forums.unrealengine.com/u/volumetrix)\
**Replies:** 12\
**Last updated:** [March 5, 2025, 8:07pm UTC](https://forums.unrealengine.com/t/how-to-add-global-functionality-to-the-game-world/2364393 "2025-03-05T20:07:31Z")

</div>

I haven’t come across objects which are not either located in the game world or attached to actors. How can I add functionality to the game without creating physical representation in the game world using C++? For examp…

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

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