# C++

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

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

**Page:** 33

---

## [Permanently apply Core Redirects for UAssets to c++?](https://forums.unrealengine.com/t/permanently-apply-core-redirects-for-uassets-to-c/501617)

<div class="topic-metadata">

**Author:** [@Roy\_Wierer.Seda145](https://forums.unrealengine.com/u/Roy_Wierer.Seda145)\
**Replies:** 9\
**Last updated:** [July 9, 2025, 6:52pm UTC](https://forums.unrealengine.com/t/permanently-apply-core-redirects-for-uassets-to-c/501617 "2025-07-09T18:52:02Z")

</div>

Is it possible to permanently apply a Core Redirect so I can replace Blueprint asset references with c++ classes?

---

## [Replay System buffer problem](https://forums.unrealengine.com/t/replay-system-buffer-problem/2598246)

<div class="topic-metadata">

**Author:** [@DDongJu](https://forums.unrealengine.com/u/DDongJu)\
**Replies:** 0\
**Last updated:** [July 9, 2025, 9:59am UTC](https://forums.unrealengine.com/t/replay-system-buffer-problem/2598246 "2025-07-09T09:59:53Z")

</div>

“Reliable buffer overflow” occurs in the replay system. As a result, it seems to be caused by the accumulation of “NumOutRec”. This variable is increased and used simultaneously in PrepBunch() and SendBunch() of the ch…

---

## [Where can i download the C++ API documentation locally ?](https://forums.unrealengine.com/t/where-can-i-download-the-c-api-documentation-locally/114193)

<div class="topic-metadata">

**Author:** [@SeleDreams](https://forums.unrealengine.com/u/SeleDreams)\
**Replies:** 3\
**Last updated:** [July 8, 2025, 8:34pm UTC](https://forums.unrealengine.com/t/where-can-i-download-the-c-api-documentation-locally/114193 "2025-07-08T20:34:32Z")

</div>

Hello, I am using Unreal Engine in order to help me to make my game, but since it’s almost impossible to remember 100% of the unreal engine API, i tend to often need the API reference, unfortunately it looks like the api…

---

## [how to make OnBeginCursorOver on several identical components in C++?](https://forums.unrealengine.com/t/how-to-make-onbegincursorover-on-several-identical-components-in-c/2597238)

<div class="topic-metadata">

**Author:** [@glados10382](https://forums.unrealengine.com/u/glados10382)\
**Replies:** 0\
**Last updated:** [July 8, 2025, 4:11pm UTC](https://forums.unrealengine.com/t/how-to-make-onbegincursorover-on-several-identical-components-in-c/2597238 "2025-07-08T16:11:51Z")

</div>

I need OnBeginCursorOver to be triggered when I hover over the component. Thanks in advance!

---

## [Asset Editor Toolkit: select spawned actor](https://forums.unrealengine.com/t/asset-editor-toolkit-select-spawned-actor/2596925)

<div class="topic-metadata">

**Author:** [@Darth\_Syron](https://forums.unrealengine.com/u/Darth_Syron)\
**Replies:** 0\
**Last updated:** [July 8, 2025, 11:51am UTC](https://forums.unrealengine.com/t/asset-editor-toolkit-select-spawned-actor/2596925 "2025-07-08T11:51:24Z")

</div>

Hello everyone! Recently I have been following this Unreal Fest tutorial where they explain how to code a custom asset editor for a custom asset type, using the asset editor toolkit, implemented in the Unreal Engine cod…

---

## [How is DataLayerManager load actors from its unload state in runtime? About OnDataLayerInstance RuntimeStateChanged](https://forums.unrealengine.com/t/how-is-datalayermanager-load-actors-from-its-unload-state-in-runtime-about-ondatalayerinstance-runtimestatechanged/2585027)

<div class="topic-metadata">

**Author:** [@QYQ\_OFFICIAL](https://forums.unrealengine.com/u/QYQ_OFFICIAL)\
**Replies:** 1\
**Last updated:** [July 8, 2025, 7:06am UTC](https://forums.unrealengine.com/t/how-is-datalayermanager-load-actors-from-its-unload-state-in-runtime-about-ondatalayerinstance-runtimestatechanged/2585027 "2025-07-08T07:06:28Z")

</div>

Hello everyone, I’m currently studying DataLayers and want to understand exactly how, at runtime, the DataLayer Manager unloads or loads each actor in a DataLayer from the level. By setting breakpoints, I observed that s…

---

## [HOW TO FIGURE OUT THE DELAY IN NDISPLAY WHEN DOING SIMULATOR](https://forums.unrealengine.com/t/how-to-figure-out-the-delay-in-ndisplay-when-doing-simulator/2591672)

<div class="topic-metadata">

**Author:** [@1be56bdae0004a048f6608e01e327eff](https://forums.unrealengine.com/u/1be56bdae0004a048f6608e01e327eff)\
**Replies:** 1\
**Last updated:** [July 8, 2025, 3:46am UTC](https://forums.unrealengine.com/t/how-to-figure-out-the-delay-in-ndisplay-when-doing-simulator/2591672 "2025-07-08T03:46:51Z")

</div>

Recently, I have been using the nDisplay module in UE5.1 to serve as the display for my own simulator. In terms of signal transmission, I configured a UDP transmission module to implement the movement of character coordi…

---

## [SetupAttachment doesnt work properly?](https://forums.unrealengine.com/t/setupattachment-doesnt-work-properly/396453)

<div class="topic-metadata">

**Author:** [@Jesse\_Clark](https://forums.unrealengine.com/u/Jesse_Clark)\
**Replies:** 10\
**Last updated:** [July 8, 2025, 3:38am UTC](https://forums.unrealengine.com/t/setupattachment-doesnt-work-properly/396453 "2025-07-08T03:38:02Z")

</div>

Greetings, fellow developers! Recently, i’ve encountered strange bug. Call SetupAttachment from CameraBoom component, the way like this: CameraBoom = CreateDefaultSubobject\<USpringArmComponent\>(TEXT("CameraBoom")); Cam…

---

## [Rebuild editor when changing plugins?](https://forums.unrealengine.com/t/rebuild-editor-when-changing-plugins/2596048)

<div class="topic-metadata">

**Author:** [@ShinyLopunny69](https://forums.unrealengine.com/u/ShinyLopunny69)\
**Replies:** 1\
**Last updated:** [July 7, 2025, 11:45pm UTC](https://forums.unrealengine.com/t/rebuild-editor-when-changing-plugins/2596048 "2025-07-07T23:45:13Z")

</div>

I installed Unreal 5 from github and edited some plugins, in particularly enabled the water plugin. Then I restarted the editor but it said it had to be rebuilt from visual studio… So I went to visual studio and in “De…

---

## [Enhanced input, move forward: Third Person template project.](https://forums.unrealengine.com/t/enhanced-input-move-forward-third-person-template-project/1245637)

<div class="topic-metadata">

**Author:** [@ViaCognita](https://forums.unrealengine.com/u/ViaCognita)\
**Replies:** 1\
**Last updated:** [July 7, 2025, 11:21pm UTC](https://forums.unrealengine.com/t/enhanced-input-move-forward-third-person-template-project/1245637 "2025-07-07T23:21:23Z")

</div>

Hi! I’m using Unreal 5.2.1 and I’m trying to understand Enhanced input with C++. I have create a test project which inherits from Third Persona Template. Reading the code, I don’t understand this: void AInputActionTe…

---

## [禁用GameFature和ModularGame之后，CPP代码无法通过执行](https://forums.unrealengine.com/t/gamefature-modulargame-cpp/1226793)

<div class="topic-metadata">

**Author:** [@Anonymous\_2b9b69bae3a38eacccc690848d3a42c9](https://forums.unrealengine.com/u/Anonymous_2b9b69bae3a38eacccc690848d3a42c9)\
**Replies:** 2\
**Last updated:** [July 7, 2025, 1:04pm UTC](https://forums.unrealengine.com/t/gamefature-modulargame-cpp/1226793 "2025-07-07T13:04:18Z")

</div>

我一开始启用GameFature和ModularGame两个插件，创建自己的GameFature插件，然后系统提示插件无法启用，插件内的DataAsset文件一旦设置已注册就会自动删除，且其他的选项也不能选择，然后我就把这两个插件关了，同时在目录下把Plugins文件删了。 后面我自己就创建了以下CPP文件，一开始编译没有报错，但是程序一旦执行就会出现异常。 异常信息：Exception 0x80000003 encoun…

---

## [m crosscompiling my game for linux. I have the C++ stuff for visual studio, and the proper version of Clang (v23\_clang-18.1.0-rockylinux8). I have to compile my solution for my game for linux development, but whenever I do I get this error. Can anyone hel ](https://forums.unrealengine.com/t/m-crosscompiling-my-game-for-linux-i-have-the-c-stuff-for-visual-studio-and-the-proper-version-of-clang-v23-clang-18-1-0-rockylinux8-i-have-to-compile-my-solution-for-my-game-for-linux-development-but-whenever-i-do-i-get-this-error-can-anyone-hel/2586533)

<div class="topic-metadata">

**Author:** [@GovindChainScrip](https://forums.unrealengine.com/u/GovindChainScrip)\
**Replies:** 0\
**Last updated:** [July 1, 2025, 1:06pm UTC](https://forums.unrealengine.com/t/m-crosscompiling-my-game-for-linux-i-have-the-c-stuff-for-visual-studio-and-the-proper-version-of-clang-v23-clang-18-1-0-rockylinux8-i-have-to-compile-my-solution-for-my-game-for-linux-development-but-whenever-i-do-i-get-this-error-can-anyone-hel/2586533 "2025-07-01T13:06:16Z")

</div>

I anm crosscompiling my game for linux. I have the C++ stuff for visual studio, and the proper version of Clang (v23\_clang-18.1.0-rockylinux8). I have to compile my solution for my game for linux development, but wheneve…

---

## [Error: an undefined class is not allowed as an argument to compiler intrinsic type trait '\_\_is\_trivially\_destructible'](https://forums.unrealengine.com/t/error-an-undefined-class-is-not-allowed-as-an-argument-to-compiler-intrinsic-type-trait-is-trivially-destructible/405074)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_07ba773b](https://forums.unrealengine.com/u/anonymous_user_07ba773b)\
**Replies:** 2\
**Last updated:** [July 6, 2025, 1:15pm UTC](https://forums.unrealengine.com/t/error-an-undefined-class-is-not-allowed-as-an-argument-to-compiler-intrinsic-type-trait-is-trivially-destructible/405074 "2025-07-06T13:15:04Z")

</div>

I’m getting an error I don’t understand. I have a struct called FLilaParameter, which I have defined in a file called LilaStructsAndEnums.h: LilaStructsAndEnums.h USTRUCT(BlueprintType) struct FLilaParameter { GENERA…

---

## [I want to get smartphone acceleration sensor values from C ++ in the Unreal Engine](https://forums.unrealengine.com/t/i-want-to-get-smartphone-acceleration-sensor-values-from-c-in-the-unreal-engine/432619)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_6a3cbe06](https://forums.unrealengine.com/u/anonymous_user_6a3cbe06)\
**Replies:** 3\
**Last updated:** [July 5, 2025, 9:10pm UTC](https://forums.unrealengine.com/t/i-want-to-get-smartphone-acceleration-sensor-values-from-c-in-the-unreal-engine/432619 "2025-07-05T21:10:02Z")

</div>

I want to import the smartphone accelerometer value from C ++ to the Unreal Engine, but I do not know how to code it. I would like to use the remote control to move the actors I used when my smartphone was moving, but I …

---

## [Basic C++ Code Template](https://forums.unrealengine.com/t/basic-c-code-template/2590354)

<div class="topic-metadata">

**Author:** [@Zimaell](https://forums.unrealengine.com/u/Zimaell)\
**Replies:** 1\
**Last updated:** [July 4, 2025, 2:58pm UTC](https://forums.unrealengine.com/t/basic-c-code-template/2590354 "2025-07-04T14:58:36Z")

</div>

good day everyone, I’m just starting to learn the engine, I used to write on Unity and now I’m switching to this engine. I’m interested in the basic structure of the code, that is, for example, I need to make a base cla…

---

## [The type or namespace name 'Channels' does not exist in the namespace 'System.ServiceModel' (are you missing an assembly reference?)](https://forums.unrealengine.com/t/the-type-or-namespace-name-channels-does-not-exist-in-the-namespace-system-servicemodel-are-you-missing-an-assembly-reference/2245080)

<div class="topic-metadata">

**Author:** [@adeel65](https://forums.unrealengine.com/u/adeel65)\
**Replies:** 2\
**Last updated:** [July 3, 2025, 12:09pm UTC](https://forums.unrealengine.com/t/the-type-or-namespace-name-channels-does-not-exist-in-the-namespace-system-servicemodel-are-you-missing-an-assembly-reference/2245080 "2025-07-03T12:09:14Z")

</div>

UE\_5.4\\Engine\\Source\\Programs\\AutomationTool\\XLocLocalization\\XLocService\\XLocApiService.cs(2088,46,2088,54): error CS0234: The type or namespace name ‘Channels’ does not exist in the namespace ‘System.ServiceModel’ (are…

---

## [How to convert byte array of uint8 to readable FString?](https://forums.unrealengine.com/t/how-to-convert-byte-array-of-uint8-to-readable-fstring/83564)

<div class="topic-metadata">

**Author:** [@Young\_Wolf](https://forums.unrealengine.com/u/Young_Wolf)\
**Replies:** 12\
**Last updated:** [July 2, 2025, 9:50pm UTC](https://forums.unrealengine.com/t/how-to-convert-byte-array-of-uint8-to-readable-fstring/83564 "2025-07-02T21:50:45Z")

</div>

Hello unreal engineers, I’m trying to write FString data to binary file in UE4, and I’ve been following Rama’s tutorial on writing data to files. Thanks to his help I managed to write those two functions: Save String …

---

## [Cooking and Packaging only one chunk?](https://forums.unrealengine.com/t/cooking-and-packaging-only-one-chunk/2245632)

<div class="topic-metadata">

**Author:** [@Raja.Haris](https://forums.unrealengine.com/u/Raja.Haris)\
**Replies:** 1\
**Last updated:** [July 2, 2025, 8:31pm UTC](https://forums.unrealengine.com/t/cooking-and-packaging-only-one-chunk/2245632 "2025-07-02T20:31:03Z")

</div>

Hello, Is it possible to package only one chunk? I essentially want to cook a plugin into a separate .pak and drop it in the project like a DLC or patch. Thanks in Advance!

---

## [How to enable AfterMath in UnrealEngine 5.1 ?](https://forums.unrealengine.com/t/how-to-enable-aftermath-in-unrealengine-5-1/1134757)

<div class="topic-metadata">

**Author:** [@wanmuxin](https://forums.unrealengine.com/u/wanmuxin)\
**Replies:** 1\
**Last updated:** [July 2, 2025, 2:38pm UTC](https://forums.unrealengine.com/t/how-to-enable-aftermath-in-unrealengine-5-1/1134757 "2025-07-02T14:38:35Z")

</div>

I am using UE5.1 and my operating system is Windows11. I wanna enable AfterMath for GPU crash debugging. But I failed to do it even though I search a lot by google. I notice that the AfterMath Log: \[Aftermath\] Aftermath…

---

## [Weirdest bug: Component set to null after constructor completes](https://forums.unrealengine.com/t/weirdest-bug-component-set-to-null-after-constructor-completes/116975)

<div class="topic-metadata">

**Author:** [@Slayemin](https://forums.unrealengine.com/u/Slayemin)\
**Replies:** 13\
**Last updated:** [July 2, 2025, 10:56am UTC](https://forums.unrealengine.com/t/weirdest-bug-component-set-to-null-after-constructor-completes/116975 "2025-07-02T10:56:02Z")

</div>

This is the weirdest bug I’ve found. This has happened to me on multiple occasions with different components and I have no idea what is happening. The long and short of it is that I have a component which gets initializ…

---

## [Mover interact with Physic](https://forums.unrealengine.com/t/mover-interact-with-physic/2587822)

<div class="topic-metadata">

**Author:** [@TANGRONGQI](https://forums.unrealengine.com/u/TANGRONGQI)\
**Replies:** 0\
**Last updated:** [July 2, 2025, 12:23pm UTC](https://forums.unrealengine.com/t/mover-interact-with-physic/2587822 "2025-07-02T12:23:14Z")

</div>

Mover use UMoverStandaloneLiaisonComponent, How can interact with Physic? I try to use Other Backend to Interact with Physic simulation Objects, Can I do this with UMoverStandaloneLiaisonComponent? Or I Must to use Cha…

---

## [OnBeginCursorOver not working, C++ & mouse hover](https://forums.unrealengine.com/t/onbegincursorover-not-working-c-mouse-hover/685956)

<div class="topic-metadata">

**Author:** [@Ettu\_R](https://forums.unrealengine.com/u/Ettu_R)\
**Replies:** 6\
**Last updated:** [July 2, 2025, 12:21pm UTC](https://forums.unrealengine.com/t/onbegincursorover-not-working-c-mouse-hover/685956 "2025-07-02T12:21:52Z")

</div>

I have this simple setup where I wish to test if I can trigger mouse hover effect on a Actor. After reading posts regarding this topic I came to the following code. AUnitBase is a Pawn Class, I create a StaticMesh compo…

---

## [Can't override Movie Graph Config variables in shipping builds](https://forums.unrealengine.com/t/cant-override-movie-graph-config-variables-in-shipping-builds/2586775)

<div class="topic-metadata">

**Author:** [@scotted8](https://forums.unrealengine.com/u/scotted8)\
**Replies:** 0\
**Last updated:** [July 1, 2025, 4:32pm UTC](https://forums.unrealengine.com/t/cant-override-movie-graph-config-variables-in-shipping-builds/2586775 "2025-07-01T16:32:50Z")

</div>

We are moving to Movie Render Graph. I’m trying to override some variables (filename, warm-up times, file type) to a Movie Graph Config. I’m using UMovieJobVariableAssignmentContainer to override variables without updati…

---

## [PCG - Blueprint Element - Get Spline Point didn't output the last point](https://forums.unrealengine.com/t/pcg-blueprint-element-get-spline-point-didnt-output-the-last-point/2587009)

<div class="topic-metadata">

**Author:** [@ANT0\_21](https://forums.unrealengine.com/u/ANT0_21)\
**Replies:** 3\
**Last updated:** [July 1, 2025, 9:06pm UTC](https://forums.unrealengine.com/t/pcg-blueprint-element-get-spline-point-didnt-output-the-last-point/2587009 "2025-07-01T21:06:21Z")

</div>

I was trying to make the spline points scale from 0 to 1 along spline length ( I then use it for spline mesh ), but i encounter a bug. GetSplinePoints node didn’t output the last points, no matter the number of points, …

---

## [I can't use the C++ for unreal ](https://forums.unrealengine.com/t/i-cant-use-the-c-for-unreal/2586695)

<div class="topic-metadata">

**Author:** [@Omprakash\_wagh](https://forums.unrealengine.com/u/Omprakash_wagh)\
**Replies:** 2\
**Last updated:** [July 1, 2025, 7:31pm UTC](https://forums.unrealengine.com/t/i-cant-use-the-c-for-unreal/2586695 "2025-07-01T19:31:02Z")

</div>

I’m new to unreal and wanted to see how C++ for unreal works so i downloaded the vs community 2022 and stuff but when i tried to make the first C++ project I got the first error, when i tried to make a C++ class I got th…

---

## [How does one upgrade a plugin from UE 5.3 to 5.5??](https://forums.unrealengine.com/t/how-does-one-upgrade-a-plugin-from-ue-5-3-to-5-5/2584843)

<div class="topic-metadata">

**Author:** [@KronoPhage](https://forums.unrealengine.com/u/KronoPhage)\
**Replies:** 4\
**Last updated:** [July 1, 2025, 11:26am UTC](https://forums.unrealengine.com/t/how-does-one-upgrade-a-plugin-from-ue-5-3-to-5-5/2584843 "2025-07-01T11:26:24Z")

</div>

Okay, hello! I want to use the LogitechSteeringWheel plugin, but it only supports up to Unreal Engine 5.3. My project, which I’ve already spent a significant amount of time on, is using UE 5.5. How can I get the plugin t…

---

## [Custom assertion for softptr fails even though it points to an asset](https://forums.unrealengine.com/t/custom-assertion-for-softptr-fails-even-though-it-points-to-an-asset/2585775)

<div class="topic-metadata">

**Author:** [@eliasfrost](https://forums.unrealengine.com/u/eliasfrost)\
**Replies:** 2\
**Last updated:** [July 1, 2025, 5:46am UTC](https://forums.unrealengine.com/t/custom-assertion-for-softptr-fails-even-though-it-points-to-an-asset/2585775 "2025-07-01T05:46:37Z")

</div>

Engine version: 4.27.2 Hi! I’m currently working on a game where I have data tables that stores information about various things in the game. In the code I have softpointers pointing to those data tables. To make sure t…

---

## [How to keep cursor in the middle of the screen with first person controls](https://forums.unrealengine.com/t/how-to-keep-cursor-in-the-middle-of-the-screen-with-first-person-controls/2585857)

<div class="topic-metadata">

**Author:** [@Loofa\_of\_Doom](https://forums.unrealengine.com/u/Loofa_of_Doom)\
**Replies:** 0\
**Last updated:** [June 30, 2025, 10:27pm UTC](https://forums.unrealengine.com/t/how-to-keep-cursor-in-the-middle-of-the-screen-with-first-person-controls/2585857 "2025-06-30T22:27:37Z")

</div>

I can’t keep the cursor in the middle of the screen. The character looks around fine but the cursor is always off the center point and thats where i shoot the laser. It uses mouse aiming. I got it to work by constantly s…

---

## [error LNK2019: unresolved external symbol for FOnlineSessionSettings::Get\<class FName\>(class FName,class FName &) ](https://forums.unrealengine.com/t/error-lnk2019-unresolved-external-symbol-for-fonlinesessionsettings-get-class-fname-class-fname-class-fname/2584666)

<div class="topic-metadata">

**Author:** [@MeSmartPepega](https://forums.unrealengine.com/u/MeSmartPepega)\
**Replies:** 2\
**Last updated:** [June 30, 2025, 4:39pm UTC](https://forums.unrealengine.com/t/error-lnk2019-unresolved-external-symbol-for-fonlinesessionsettings-get-class-fname-class-fname-class-fname/2584666 "2025-06-30T16:39:03Z")

</div>

Hi everyone, i am actually starting to lose my mind after trying to fix this for the whole day :slight\_smile: I get following error messages when trying to compile my code: FLobbyData.cpp.obj : error LNK2019: unresolv…

---

## [Ue 5.6 won't recompile or start project help pls ](https://forums.unrealengine.com/t/ue-5-6-wont-recompile-or-start-project-help-pls/2566262)

<div class="topic-metadata">

**Author:** [@000199Km](https://forums.unrealengine.com/u/000199Km)\
**Replies:** 6\
**Last updated:** [June 30, 2025, 12:13pm UTC](https://forums.unrealengine.com/t/ue-5-6-wont-recompile-or-start-project-help-pls/2566262 "2025-06-30T12:13:24Z")

</div>

Hi there, I’ve had a problem with my project. So I started a project in Ue 5.6 last week and I made a blueprint project, but im better at writing code and I prefer it so I watched some tutorials about transfering. I foll…

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

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