# C++

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

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

**Page:** 36

---

## [is saving FFastArraySerializerItem struct with UGameplayStatics::SaveGameToSlot Ok?](https://forums.unrealengine.com/t/is-saving-ffastarrayserializeritem-struct-with-ugameplaystatics-savegametoslot-ok/2549609)

<div class="topic-metadata">

**Author:** [@doswls1](https://forums.unrealengine.com/u/doswls1)\
**Replies:** 0\
**Last updated:** [June 10, 2025, 10:04am UTC](https://forums.unrealengine.com/t/is-saving-ffastarrayserializeritem-struct-with-ugameplaystatics-savegametoslot-ok/2549609 "2025-06-10T10:04:02Z")

</div>

i have struct with FFastArraySerializerItem and i am trying to save it with UGameplayStatics::SaveGameToSlot is it going be a problem

---

## [GENERATED\_BODY() Macro Error with Intellisense](https://forums.unrealengine.com/t/generated-body-macro-error-with-intellisense/879447)

<div class="topic-metadata">

**Author:** [@GrandmaCity](https://forums.unrealengine.com/u/GrandmaCity)\
**Replies:** 6\
**Last updated:** [June 9, 2025, 9:03pm UTC](https://forums.unrealengine.com/t/generated-body-macro-error-with-intellisense/879447 "2025-06-09T21:03:22Z")

</div>

Hey has anyone ever had an issue with Visual Studio Header files where the Generated\_Body() Macro throws an error if you add any extra include statements or spaces to the top of the header file? I was working on a projec…

---

## [How to use DrawLines?](https://forums.unrealengine.com/t/how-to-use-drawlines/315549)

<div class="topic-metadata">

**Author:** [@LPLedoux](https://forums.unrealengine.com/u/LPLedoux)\
**Replies:** 6\
**Last updated:** [June 9, 2025, 6:31pm UTC](https://forums.unrealengine.com/t/how-to-use-drawlines/315549 "2025-06-09T18:31:41Z")

</div>

Hi ! Currently, I’m trying to draw a lot of lines at runtime using the function DrawLine. However, it starts to get really non-performant as the number of lines go up (which is normal). I then stumbled upon the function…

---

## [Custom gravity causing jittery movement](https://forums.unrealengine.com/t/custom-gravity-causing-jittery-movement/2548184)

<div class="topic-metadata">

**Author:** [@Saderako](https://forums.unrealengine.com/u/Saderako)\
**Replies:** 0\
**Last updated:** [June 9, 2025, 12:20pm UTC](https://forums.unrealengine.com/t/custom-gravity-causing-jittery-movement/2548184 "2025-06-09T12:20:32Z")

</div>

https://dev.epicgames.com/community/learning/tutorials/w6l7/unreal-engine-custom-gravity-in-ue-5-4 I’m using the above custom gravity in my own player controller, but for some reason, the movement of the server-side pla…

---

## [How does ActionRPG display the loading screen at startup?](https://forums.unrealengine.com/t/how-does-actionrpg-display-the-loading-screen-at-startup/137382)

<div class="topic-metadata">

**Author:** [@Aros\_Prince](https://forums.unrealengine.com/u/Aros_Prince)\
**Replies:** 2\
**Last updated:** [June 9, 2025, 8:28am UTC](https://forums.unrealengine.com/t/how-does-actionrpg-display-the-loading-screen-at-startup/137382 "2025-06-09T08:28:54Z")

</div>

Hello, I was trying to figure out how does the ActionRPG example display the loading screen on startup. I get the part how it shows the loading screen when entering the level. But not on startup. But when I package the …

---

## [I get an error when there is multi-user-editing ](https://forums.unrealengine.com/t/i-get-an-error-when-there-is-multi-user-editing/2547281)

<div class="topic-metadata">

**Author:** [@Grisha\_floos](https://forums.unrealengine.com/u/Grisha_floos)\
**Replies:** 0\
**Last updated:** [June 8, 2025, 8:15pm UTC](https://forums.unrealengine.com/t/i-get-an-error-when-there-is-multi-user-editing/2547281 "2025-06-08T20:15:02Z")

</div>

with the original engine, having a multi-server, I don’t want to create a session.Returns the error: Failed to Launch the Unreal Multi-User Server - Could not find the executable. Have you compiled the Unreal Multi-User …

---

## [C++ Classes / Components disappearing in blueprints whenever I restart](https://forums.unrealengine.com/t/c-classes-components-disappearing-in-blueprints-whenever-i-restart/2533927)

<div class="topic-metadata">

**Author:** [@BenVolo](https://forums.unrealengine.com/u/BenVolo)\
**Replies:** 21\
**Last updated:** [June 8, 2025, 3:06pm UTC](https://forums.unrealengine.com/t/c-classes-components-disappearing-in-blueprints-whenever-i-restart/2533927 "2025-06-08T15:06:56Z")

</div>

This issue has been driving me insane and is basically a fatal error that is preventing me from making any progress on this project because anything i make will ultimately be immediately lost. I have a custom component …

---

## [Cpp component inherits from AIPerceptionComponent but doesn't bind events / delegates properly or seem to tick. May be registering too early?](https://forums.unrealengine.com/t/cpp-component-inherits-from-aiperceptioncomponent-but-doesnt-bind-events-delegates-properly-or-seem-to-tick-may-be-registering-too-early/2546427)

<div class="topic-metadata">

**Author:** [@BenVolo](https://forums.unrealengine.com/u/BenVolo)\
**Replies:** 0\
**Last updated:** [June 8, 2025, 6:43am UTC](https://forums.unrealengine.com/t/cpp-component-inherits-from-aiperceptioncomponent-but-doesnt-bind-events-delegates-properly-or-seem-to-tick-may-be-registering-too-early/2546427 "2025-06-08T06:43:13Z")

</div>

So my cpp component is part of a plugin module that is loaded in the pre-default phase. This is because i actually had problems with this same plugin specifically having every reference to it disappearing in my blueprint…

---

## [Error Code MSB3073 when I compile](https://forums.unrealengine.com/t/error-code-msb3073-when-i-compile/1333355)

<div class="topic-metadata">

**Author:** [@PadonM1](https://forums.unrealengine.com/u/PadonM1)\
**Replies:** 4\
**Last updated:** [June 7, 2025, 7:25pm UTC](https://forums.unrealengine.com/t/error-code-msb3073-when-i-compile/1333355 "2025-06-07T19:25:11Z")

</div>

I keep getting this error, deriving from this line of code whenever I try to compile my program. I haven’t even added any custom classes, this is just the unreal file straight out of the box and I cannot get it to compil…

---

## [How to add subtitles to sound wave file automatically](https://forums.unrealengine.com/t/how-to-add-subtitles-to-sound-wave-file-automatically/1875481)

<div class="topic-metadata">

**Author:** [@Mannena](https://forums.unrealengine.com/u/Mannena)\
**Replies:** 1\
**Last updated:** [June 7, 2025, 9:31am UTC](https://forums.unrealengine.com/t/how-to-add-subtitles-to-sound-wave-file-automatically/1875481 "2025-06-07T09:31:12Z")

</div>

Hello everyone, I have a data table which has a lot of subtitles, I want to add them to each wav file automatically but I couldn’t through blueprint, is there any C++ function, an external script, or any system that help…

---

## [DECLARE\_DYNAMIC\_MULTICAST\_DELEGATE error: no storage class or type specifier](https://forums.unrealengine.com/t/declare-dynamic-multicast-delegate-error-no-storage-class-or-type-specifier/431695)

<div class="topic-metadata">

**Author:** [@dakrn1k3](https://forums.unrealengine.com/u/dakrn1k3)\
**Replies:** 20\
**Last updated:** [June 6, 2025, 8:00pm UTC](https://forums.unrealengine.com/t/declare-dynamic-multicast-delegate-error-no-storage-class-or-type-specifier/431695 "2025-06-06T20:00:49Z")

</div>

Hi, im using 4.20 and im having trouble creating blueprint event. Specifically when I’m trying declare a delegate DECLARE\_DYNAMIC\_MULTICAST\_DELEGATE(FOnOpenRequest); I get an error “this declaration has no storage cla…

---

## [Can't dynamically unload Client Only Data Layer in Standalone mode ](https://forums.unrealengine.com/t/cant-dynamically-unload-client-only-data-layer-in-standalone-mode/2543905)

<div class="topic-metadata">

**Author:** [@yl1829967](https://forums.unrealengine.com/u/yl1829967)\
**Replies:** 0\
**Last updated:** [June 6, 2025, 1:17pm UTC](https://forums.unrealengine.com/t/cant-dynamically-unload-client-only-data-layer-in-standalone-mode/2543905 "2025-06-06T13:17:54Z")

</div>

I’m running Unreal Engine in Standalone mode, and I’ve set my Data Layers to Client Only. At runtime, I use SetDataLayerRuntimeState to switch states. When I activate a Data Layer, it works as expected — I can clearly …

---

## [About Weak Object Pointers in Blueprint](https://forums.unrealengine.com/t/about-weak-object-pointers-in-blueprint/2543715)

<div class="topic-metadata">

**Author:** [@Noisegrinder](https://forums.unrealengine.com/u/Noisegrinder)\
**Replies:** 2\
**Last updated:** [June 6, 2025, 11:33am UTC](https://forums.unrealengine.com/t/about-weak-object-pointers-in-blueprint/2543715 "2025-06-06T11:33:42Z")

</div>

I just discovered TWeakObjectPtr in C++ can be exposed as BlueprintReadWrite. If i remembered it correctly, this wasn’t possible in earlier engine versions and you have to create getter functions to retrieve the raw poin…

---

## [Anim Notify get called twice, and it calls both as a client and server](https://forums.unrealengine.com/t/anim-notify-get-called-twice-and-it-calls-both-as-a-client-and-server/488752)

<div class="topic-metadata">

**Author:** [@DarkParasite47](https://forums.unrealengine.com/u/DarkParasite47)\
**Replies:** 4\
**Last updated:** [June 6, 2025, 7:11am UTC](https://forums.unrealengine.com/t/anim-notify-get-called-twice-and-it-calls-both-as-a-client-and-server/488752 "2025-06-06T07:11:56Z")

</div>

So I replicate a montage, which has anim notifies in it. I Multicast and Run on server the montage. What happens is that the anim notifiy is called twice, to cap it all the client calls it telling its Authority and its r…

---

## ["SaveStringToFile" and "CreateProc" Don't work in UE5.3, Mac Ventura, after packaging](https://forums.unrealengine.com/t/savestringtofile-and-createproc-dont-work-in-ue5-3-mac-ventura-after-packaging/1924212)

<div class="topic-metadata">

**Author:** [@koyama\_yu1](https://forums.unrealengine.com/u/koyama_yu1)\
**Replies:** 2\
**Last updated:** [June 6, 2025, 2:44am UTC](https://forums.unrealengine.com/t/savestringtofile-and-createproc-dont-work-in-ue5-3-mac-ventura-after-packaging/1924212 "2025-06-06T02:44:29Z")

</div>

In my mac, I tried to build and package my project contains below codes by UE5.3. However, “CreateProc” and “SaveStringToFile” didn’t work. Any process didn’t start to run, and there is no saved file. FString Args …

---

## [Unreal engine 5.5.4 not working with Visual Studio 2022 ](https://forums.unrealengine.com/t/unreal-engine-5-5-4-not-working-with-visual-studio-2022/2536432)

<div class="topic-metadata">

**Author:** [@Mr\_Adr1an\_Bandit](https://forums.unrealengine.com/u/Mr_Adr1an_Bandit)\
**Replies:** 19\
**Last updated:** [June 5, 2025, 6:56pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-5-4-not-working-with-visual-studio-2022/2536432 "2025-06-05T18:56:19Z")

</div>

I’m having a problem where whenever I try to launch visual studio 2022 from my ue5 project it opens up a cmd with the wrong path location for the visual studio 2022 build tools. I have followed epic games’s tutorial for …

---

## [Can we make an FInstancedStruct from a CustomStructureParam?](https://forums.unrealengine.com/t/can-we-make-an-finstancedstruct-from-a-customstructureparam/2538550)

<div class="topic-metadata">

**Author:** [@Auran131](https://forums.unrealengine.com/u/Auran131)\
**Replies:** 1\
**Last updated:** [June 5, 2025, 7:11am UTC](https://forums.unrealengine.com/t/can-we-make-an-finstancedstruct-from-a-customstructureparam/2538550 "2025-06-05T07:11:30Z")

</div>

in short, just trying to make a helper function to skip the MakeInstancedStruct Node? here’s my current attempt… well straight guess void UTRPGDataObjectBase::AddPropertyGeneric(FGameplayTag PropertyTag, const int32& S…

---

## [GenerateProjectFiles fails and .NET Framework 4.6.2 cannot be installed](https://forums.unrealengine.com/t/generateprojectfiles-fails-and-net-framework-4-6-2-cannot-be-installed/454468)

<div class="topic-metadata">

**Author:** [@mightyenigma](https://forums.unrealengine.com/u/mightyenigma)\
**Replies:** 6\
**Last updated:** [April 3, 2025, 5:10pm UTC](https://forums.unrealengine.com/t/generateprojectfiles-fails-and-net-framework-4-6-2-cannot-be-installed/454468 "2025-04-03T17:10:42Z")

</div>

I cloned Unreal Engine source code from github, installed Visual Studio Community 2017 following the setup guide, And ran setup.bat. then I ran GemerateProjectFiles.bat and it always gives an error that it needs .NET …

---

## [I am having this error in UE\_5.2 in live Coding  ](https://forums.unrealengine.com/t/i-am-having-this-error-in-ue-5-2-in-live-coding/2537721)

<div class="topic-metadata">

**Author:** [@ParmarManthan](https://forums.unrealengine.com/u/ParmarManthan)\
**Replies:** 1\
**Last updated:** [June 2, 2025, 8:18pm UTC](https://forums.unrealengine.com/t/i-am-having-this-error-in-ue-5-2-in-live-coding/2537721 "2025-06-02T20:18:12Z")

</div>

Manual recompile triggered ---------- Creating patch ---------- Running C:\\Program Files\\Epic Games\\UE\_5.2\\Engine\\Build\\BatchFiles\\Build.bat -Target=“MyProjectEditor Win64 Development -Project=”“C:/Users/Administrator/…

---

## [Unresolved External Symbol when Using Widget Component](https://forums.unrealengine.com/t/unresolved-external-symbol-when-using-widget-component/477790)

<div class="topic-metadata">

**Author:** [@Peemard](https://forums.unrealengine.com/u/Peemard)\
**Replies:** 4\
**Last updated:** [June 2, 2025, 7:48pm UTC](https://forums.unrealengine.com/t/unresolved-external-symbol-when-using-widget-component/477790 "2025-06-02T19:48:28Z")

</div>

Hi, I have been struggling with this issue for a few minutes now, and am unable to find a solution. I am using a widget component attached to what is pretty much the default C++ character class, have it configured in m…

---

## [BTTask\_MoveToward - Asynchronous "Move To" Behavior Tree task](https://forums.unrealengine.com/t/bttask-movetoward-asynchronous-move-to-behavior-tree-task/13728)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_fb692cdc](https://forums.unrealengine.com/u/anonymous_user_fb692cdc)\
**Replies:** 2\
**Last updated:** [June 2, 2025, 4:59pm UTC](https://forums.unrealengine.com/t/bttask-movetoward-asynchronous-move-to-behavior-tree-task/13728 "2025-06-02T16:59:35Z")

</div>

Out of the box, UE4 provides a MoveTo task that moves the character toward a location or actor. However, that node doesn’t return until the character has reached the specified location. This causes the behavior tree to …

---

## [Get FProperty type name?](https://forums.unrealengine.com/t/get-fproperty-type-name/2537545)

<div class="topic-metadata">

**Author:** [@STRiFE.x](https://forums.unrealengine.com/u/STRiFE.x)\
**Replies:** 2\
**Last updated:** [June 2, 2025, 12:52pm UTC](https://forums.unrealengine.com/t/get-fproperty-type-name/2537545 "2025-06-02T12:52:42Z")

</div>

I’m working on level scripting tool that uses the reflection system heavily. I have the pointer to a UFunction and I want to list out the function parameters and their types (bool, float, object\*, etc..). Is it possible…

---

## [Trace channels ](https://forums.unrealengine.com/t/trace-channels/2537097)

<div class="topic-metadata">

**Author:** [@FreakishGrape](https://forums.unrealengine.com/u/FreakishGrape)\
**Replies:** 1\
**Last updated:** [June 2, 2025, 2:05am UTC](https://forums.unrealengine.com/t/trace-channels/2537097 "2025-06-02T02:05:01Z")

</div>

Hey guys, im a beginner at c++ and just started learning ue5 so im sure im just doing something wrong here, but im creating an interaction system and everythings going well so far but i cant seem to link my custom trace …

---

## [Vs2019 symbols not found for my project?](https://forums.unrealengine.com/t/vs2019-symbols-not-found-for-my-project/467525)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_e10a6464](https://forums.unrealengine.com/u/anonymous_user_e10a6464)\
**Replies:** 6\
**Last updated:** [June 1, 2025, 11:34pm UTC](https://forums.unrealengine.com/t/vs2019-symbols-not-found-for-my-project/467525 "2025-06-01T23:34:42Z")

</div>

I’m using “DebugGame Editor” build. The file exists “Binaries\\Win64\\UE4Editor-HeroQuest-Win64-DebugGame.pdb”. But when I attach to process and try to set a C++ breakpoint in my C++ code, I get “No symbols have been loa…

---

## [unreal engine 5 Deprecated Gradle features (How to Solve)](https://forums.unrealengine.com/t/unreal-engine-5-deprecated-gradle-features-how-to-solve/2537084)

<div class="topic-metadata">

**Author:** [@zipzygames9](https://forums.unrealengine.com/u/zipzygames9)\
**Replies:** 0\
**Last updated:** [June 2, 2025, 12:28am UTC](https://forums.unrealengine.com/t/unreal-engine-5-deprecated-gradle-features-how-to-solve/2537084 "2025-06-02T00:28:55Z")

</div>

unreal engine 5 Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0. UATHelper: Packaging (Android (ASTC)): You can use ‘–warning-mode all’ to show the individual deprecation warnin…

---

## [Common Game Plugin](https://forums.unrealengine.com/t/common-game-plugin/2537045)

<div class="topic-metadata">

**Author:** [@Tochi-Truc](https://forums.unrealengine.com/u/Tochi-Truc)\
**Replies:** 0\
**Last updated:** [June 1, 2025, 11:30pm UTC](https://forums.unrealengine.com/t/common-game-plugin/2537045 "2025-06-01T23:30:13Z")

</div>

Dear Dev Team, I used Commom Game plugin in my project, now I get problem with input for player when I choose 2 players for listener server mode. The first player can not be controlled, he does not have got an input f…

---

## [Client can't ClientTravel in a session when the server uses servertravel but it can travel when server uses openlevel](https://forums.unrealengine.com/t/client-cant-clienttravel-in-a-session-when-the-server-uses-servertravel-but-it-can-travel-when-server-uses-openlevel/468407)

<div class="topic-metadata">

**Author:** [@ergin](https://forums.unrealengine.com/u/ergin)\
**Replies:** 2\
**Last updated:** [June 1, 2025, 10:50pm UTC](https://forums.unrealengine.com/t/client-cant-clienttravel-in-a-session-when-the-server-uses-servertravel-but-it-can-travel-when-server-uses-openlevel/468407 "2025-06-01T22:50:06Z")

</div>

Hello ! I have a session based game fully in C++. When session create completed I want to servertravel to a waiting (lobby) room, and that is fine I can servertravel there. But when I find the session from another g…

---

## [How do I move a C++ class to a different folder?](https://forums.unrealengine.com/t/how-do-i-move-a-c-class-to-a-different-folder/402484)

<div class="topic-metadata">

**Author:** [@samuel.schimmel](https://forums.unrealengine.com/u/samuel.schimmel)\
**Replies:** 13\
**Last updated:** [May 31, 2025, 1:01pm UTC](https://forums.unrealengine.com/t/how-do-i-move-a-c-class-to-a-different-folder/402484 "2025-05-31T13:01:28Z")

</div>

I would like to move a C++ class to a different folder. When I try to drag the class into the Content folder it says “C++ classes cannot be moved or copied.” When I try to move it to a subfolder within C++ Classes, it sa…

---

## [Retrieving Scene Textures in SceneViewExtension](https://forums.unrealengine.com/t/retrieving-scene-textures-in-sceneviewextension/2535194)

<div class="topic-metadata">

**Author:** [@Arkhangel](https://forums.unrealengine.com/u/Arkhangel)\
**Replies:** 0\
**Last updated:** [May 31, 2025, 12:39pm UTC](https://forums.unrealengine.com/t/retrieving-scene-textures-in-sceneviewextension/2535194 "2025-05-31T12:39:41Z")

</div>

What is the way to retrieve textures in the PreRenderViewFamily\_RenderThread method of a class that extends FSceneViewExtensionBase, I found around that it can be done with FSceneTextures::Get(GraphBuilder); but in UE5.…

---

## [UCLASS/UPROPERTY Configuration Not Reading](https://forums.unrealengine.com/t/uclass-uproperty-configuration-not-reading/240248)

<div class="topic-metadata">

**Author:** [@Archytas\_79](https://forums.unrealengine.com/u/Archytas_79)\
**Replies:** 8\
**Last updated:** [May 31, 2025, 4:23am UTC](https://forums.unrealengine.com/t/uclass-uproperty-configuration-not-reading/240248 "2025-05-31T04:23:40Z")

</div>

Hello UE4 forum, I’ve been trying to get UCLASS/UPROPERTY configurations working for a bit and sadly have not gotten anywhere with it. I have a class with UCLASS(Config = Game). I have a declared variables as follows…

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

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