# C++

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

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

**Page:** 43

---

## [single line reflecting on all objects](https://forums.unrealengine.com/t/single-line-reflecting-on-all-objects/2445497)

<div class="topic-metadata">

**Author:** [@pyramidal](https://forums.unrealengine.com/u/pyramidal)\
**Replies:** 2\
**Last updated:** [April 8, 2025, 11:10pm UTC](https://forums.unrealengine.com/t/single-line-reflecting-on-all-objects/2445497 "2025-04-08T23:10:28Z")

</div>

Hi, Here’s a DrawSingleReflect class whose CPP needs to be corrected because there is only one reflection regardless of the maximum number of reflections. Here’s the .h: // DrawSingleReflect.h // But: Dessine un seul …

---

## [TArray or structs passed to delegate crashes](https://forums.unrealengine.com/t/tarray-or-structs-passed-to-delegate-crashes/2446522)

<div class="topic-metadata">

**Author:** [@Resolver](https://forums.unrealengine.com/u/Resolver)\
**Replies:** 1\
**Last updated:** [April 8, 2025, 2:53pm UTC](https://forums.unrealengine.com/t/tarray-or-structs-passed-to-delegate-crashes/2446522 "2025-04-08T14:53:16Z")

</div>

Hi, I’m having troubles working with TArray of custom structs in Bleuprints in UE 4.27. ▶ Summary I have FCustomStruct that is a USTRUCT(BlueprintType). It has some fields and of course Generated Body. I simply allocat…

---

## [\[HOW TO\] Change local data cache location](https://forums.unrealengine.com/t/how-to-change-local-data-cache-location/32354)

<div class="topic-metadata">

**Author:** [@msvcrt](https://forums.unrealengine.com/u/msvcrt)\
**Replies:** 27\
**Last updated:** [April 8, 2025, 1:05pm UTC](https://forums.unrealengine.com/t/how-to-change-local-data-cache-location/32354 "2025-04-08T13:05:41Z")

</div>

If you work with the Unreal Engine 4 you probably know what Derived Data Cache is. There is a nice article about it: Derived Data Cache | Unreal Engine Documentation which also explains you how to change the location you…

---

## [Crash at FlushQueuedReferences when using Timer](https://forums.unrealengine.com/t/crash-at-flushqueuedreferences-when-using-timer/2446162)

<div class="topic-metadata">

**Author:** [@JulianPW](https://forums.unrealengine.com/u/JulianPW)\
**Replies:** 2\
**Last updated:** [April 8, 2025, 11:51am UTC](https://forums.unrealengine.com/t/crash-at-flushqueuedreferences-when-using-timer/2446162 "2025-04-08T11:51:58Z")

</div>

Hello, I am currently trying to figure out where the following crash comes from. LogThreadingWindows: Error: Runnable thread Background Worker #26 crashed. LogWindows: Error: === Critical error: === LogWindows: Error: …

---

## [Custom PlayMontage node, package problem.](https://forums.unrealengine.com/t/custom-playmontage-node-package-problem/2444738)

<div class="topic-metadata">

**Author:** [@ADIAN](https://forums.unrealengine.com/u/ADIAN)\
**Replies:** 5\
**Last updated:** [April 8, 2025, 4:08am UTC](https://forums.unrealengine.com/t/custom-playmontage-node-package-problem/2444738 "2025-04-08T04:08:09Z")

</div>

I copied 4 files that makes PlayMontage node: PlayMontageCallbackProxy.h/cpp K2Node\_PlayMontage.h/cpp I just changed the names to make my own and added a little code to actual functionality. The problem now is: I can…

---

## [Lyra C++ Multiple Inheritance for GameInstance derived class (Diamond Problem)](https://forums.unrealengine.com/t/lyra-c-multiple-inheritance-for-gameinstance-derived-class-diamond-problem/2445108)

<div class="topic-metadata">

**Author:** [@Nephera](https://forums.unrealengine.com/u/Nephera)\
**Replies:** 4\
**Last updated:** [April 8, 2025, 12:25am UTC](https://forums.unrealengine.com/t/lyra-c-multiple-inheritance-for-gameinstance-derived-class-diamond-problem/2445108 "2025-04-08T00:25:34Z")

</div>

Hello, I’ve not run into this issue in the past because I’ve never had the need to inherit from multiple classes without writing my own. I am using the AdvancedSessions plugin to streamline access to Steam for my packag…

---

## [Using GetPrimaryAssetDataList to return a list of primary data assets](https://forums.unrealengine.com/t/using-getprimaryassetdatalist-to-return-a-list-of-primary-data-assets/2444158)

<div class="topic-metadata">

**Author:** [@ZerbuTabek](https://forums.unrealengine.com/u/ZerbuTabek)\
**Replies:** 2\
**Last updated:** [April 7, 2025, 5:16pm UTC](https://forums.unrealengine.com/t/using-getprimaryassetdatalist-to-return-a-list-of-primary-data-assets/2444158 "2025-04-07T17:16:47Z")

</div>

I’m trying to load all data assets of a certain type using GetPrimaryAssetDataList, but I just can’t get it to work. I have a test blueprint class named “MenuItem” inheriting primary data class. I have three test data …

---

## [Is it feasible to use delegates in the Tick() function?](https://forums.unrealengine.com/t/is-it-feasible-to-use-delegates-in-the-tick-function/2443507)

<div class="topic-metadata">

**Author:** [@mrm\_dev](https://forums.unrealengine.com/u/mrm_dev)\
**Replies:** 3\
**Last updated:** [April 7, 2025, 1:20pm UTC](https://forums.unrealengine.com/t/is-it-feasible-to-use-delegates-in-the-tick-function/2443507 "2025-04-07T13:20:12Z")

</div>

In my ACharacter::Tick() function I’m broadcasting delegates as such: UDELEGATE() DECLARE\_DYNAMIC\_MULTICAST\_DELEGATE\_TwoParams(FOnTickBP, ACharacter\*, Character, float, DeltaTime); DECLARE\_MULTICAST\_DELEGATE\_TwoParams(F…

---

## [Looking for a tutorial about raycast reflecting in C++](https://forums.unrealengine.com/t/looking-for-a-tutorial-about-raycast-reflecting-in-c/2444731)

<div class="topic-metadata">

**Author:** [@pyramidal](https://forums.unrealengine.com/u/pyramidal)\
**Replies:** 0\
**Last updated:** [April 7, 2025, 1:16pm UTC](https://forums.unrealengine.com/t/looking-for-a-tutorial-about-raycast-reflecting-in-c/2444731 "2025-04-07T13:16:04Z")

</div>

Hi, I’m looking for a tutorial on raycast reflecting in C++. thanks

---

## [Can't Build My First C++ Project](https://forums.unrealengine.com/t/cant-build-my-first-c-project/2358462)

<div class="topic-metadata">

**Author:** [@JMilton5](https://forums.unrealengine.com/u/JMilton5)\
**Replies:** 7\
**Last updated:** [April 7, 2025, 3:18am UTC](https://forums.unrealengine.com/t/cant-build-my-first-c-project/2358462 "2025-04-07T03:18:50Z")

</div>

I can’t get my first C++ project to build in Visual Studio Enterprise 2022. I’ve gone through the set-up process. List item I’ve created a new 3rd person game using C++. Set Visual Studio as the default IDE Added th…

---

## [How to make UDS attach to player](https://forums.unrealengine.com/t/how-to-make-uds-attach-to-player/2444037)

<div class="topic-metadata">

**Author:** [@squisbly](https://forums.unrealengine.com/u/squisbly)\
**Replies:** 0\
**Last updated:** [April 7, 2025, 1:25am UTC](https://forums.unrealengine.com/t/how-to-make-uds-attach-to-player/2444037 "2025-04-07T01:25:42Z")

</div>

Hello, ive bene working w Ultra dynamics sky and am wondering, how can i attah the rain system in this to player? i dont want the rain all over the map, only to have the illusion it is by having a box of rain follow the …

---

## [Bitflags being limited to 5 options in the inspector.](https://forums.unrealengine.com/t/bitflags-being-limited-to-5-options-in-the-inspector/2443270)

<div class="topic-metadata">

**Author:** [@ZhadoTom](https://forums.unrealengine.com/u/ZhadoTom)\
**Replies:** 1\
**Last updated:** [April 6, 2025, 3:20pm UTC](https://forums.unrealengine.com/t/bitflags-being-limited-to-5-options-in-the-inspector/2443270 "2025-04-06T15:20:11Z")

</div>

UENUM(BlueprintType, meta = (Bitflags)) enum class EEquipSlot : uint8 { None = 0, Head = 1 \<\< 0 UMETA(DisplayName = "Head"), Face = 1 \<\< 1 UMETA(DisplayName = "Face"), Chest = 1 \<\< 2 UMETA(DisplayName = "Chest"), Ha…

---

## [UNREAL SPLINE PROBLEM](https://forums.unrealengine.com/t/unreal-spline-problem/2443125)

<div class="topic-metadata">

**Author:** [@kilichamza77](https://forums.unrealengine.com/u/kilichamza77)\
**Replies:** 0\
**Last updated:** [April 6, 2025, 12:58pm UTC](https://forums.unrealengine.com/t/unreal-spline-problem/2443125 "2025-04-06T12:58:39Z")

</div>

Hello everyone, I am using WP in my Unreal Engine Project and I am using unreal engine’s spline for the road but when the splines exceed a single grid level of World Partition they are never rendered (but spline collisi…

---

## [SetWorldLocation function causing editor freeze](https://forums.unrealengine.com/t/setworldlocation-function-causing-editor-freeze/2442378)

<div class="topic-metadata">

**Author:** [@Moon515](https://forums.unrealengine.com/u/Moon515)\
**Replies:** 1\
**Last updated:** [April 6, 2025, 9:35am UTC](https://forums.unrealengine.com/t/setworldlocation-function-causing-editor-freeze/2442378 "2025-04-06T09:35:20Z")

</div>

Currently have code that causes SetWorldLocation to freeze the editor. Not sure whats causing this issue. for (int i = 0; i \< MAX\_NUM; i++) { UOObject\* obj= NewObject\<UOObject\>(this, UOObject::StaticClass()); ob…

---

## [Editor debug symbols on Linux](https://forums.unrealengine.com/t/editor-debug-symbols-on-linux/2442769)

<div class="topic-metadata">

**Author:** [@celebro011](https://forums.unrealengine.com/u/celebro011)\
**Replies:** 0\
**Last updated:** [April 6, 2025, 7:17am UTC](https://forums.unrealengine.com/t/editor-debug-symbols-on-linux/2442769 "2025-04-06T07:17:49Z")

</div>

Hello everyone! During installation on Windows, there is an option for the engine to download a “symbol editor for debugging”, so that when the engine crashes, the logs would not just contain memory addresses, but would…

---

## [Do I need a pawn to use the EnhancedInput system? ](https://forums.unrealengine.com/t/do-i-need-a-pawn-to-use-the-enhancedinput-system/2432482)

<div class="topic-metadata">

**Author:** [@UnknownGeek](https://forums.unrealengine.com/u/UnknownGeek)\
**Replies:** 11\
**Last updated:** [April 6, 2025, 6:57am UTC](https://forums.unrealengine.com/t/do-i-need-a-pawn-to-use-the-enhancedinput-system/2432482 "2025-04-06T06:57:04Z")

</div>

In the game I’m making there wouldn’t necessarily be a “pawn” or “character” object associated with the player in a particular game mode. I’m too new to Unreal Engine, but from what I’ve read, it sounds like I would put …

---

## [Visual Studio Integration Tool plugin for 5.5. No update!](https://forums.unrealengine.com/t/visual-studio-integration-tool-plugin-for-5-5-no-update/2442555)

<div class="topic-metadata">

**Author:** [@Z0AZ](https://forums.unrealengine.com/u/Z0AZ)\
**Replies:** 0\
**Last updated:** [April 6, 2025, 4:33am UTC](https://forums.unrealengine.com/t/visual-studio-integration-tool-plugin-for-5-5-no-update/2442555 "2025-04-06T04:33:57Z")

</div>

Continuing the discussion from Visual Studio Integration Tool plugin for 5.5: Hi everyone, Just wondering if anyone knows when an update for the Visual Studio Integration Tool plugin for Unreal Engine 5.5 might be comi…

---

## [Changes in C++ are not reflected in BP as expected](https://forums.unrealengine.com/t/changes-in-c-are-not-reflected-in-bp-as-expected/2441091)

<div class="topic-metadata">

**Author:** [@masscad](https://forums.unrealengine.com/u/masscad)\
**Replies:** 2\
**Last updated:** [April 5, 2025, 7:22pm UTC](https://forums.unrealengine.com/t/changes-in-c-are-not-reflected-in-bp-as-expected/2441091 "2025-04-05T19:22:31Z")

</div>

I encounter weird behavior in UE5.2 when using a mix of C++ and BP. This behavior makes BP unusable for me. Am I doing something wrong? How is this possible? Steps to reproduce: (0. Clear Binaries/Intermediate etc if y…

---

## [Do IK driven animations affect the value of GetSocketLocation.](https://forums.unrealengine.com/t/do-ik-driven-animations-affect-the-value-of-getsocketlocation/151250)

<div class="topic-metadata">

**Author:** [@herob4u](https://forums.unrealengine.com/u/herob4u)\
**Replies:** 2\
**Last updated:** [April 5, 2025, 3:06pm UTC](https://forums.unrealengine.com/t/do-ik-driven-animations-affect-the-value-of-getsocketlocation/151250 "2025-04-05T15:06:05Z")

</div>

Should I be concerned about the return value from functions such as USkeletalMeshComponent::GetSocketLocation if the AnimBP ultimately does some procedural IK that affect the final position of the bones/socket. I am try…

---

## [https://www.reddit.com/user/Winter-Fig-4425/comments/1jryh5i/ue\_configuration\_problem/](https://forums.unrealengine.com/t/https-www-reddit-com-user-winter-fig-4425-comments-1jryh5i-ue-configuration-problem/2440930)

<div class="topic-metadata">

**Author:** [@434eb3b9dc1a4b44be6ca3469292740f](https://forums.unrealengine.com/u/434eb3b9dc1a4b44be6ca3469292740f)\
**Replies:** 1\
**Last updated:** [April 5, 2025, 8:09am UTC](https://forums.unrealengine.com/t/https-www-reddit-com-user-winter-fig-4425-comments-1jryh5i-ue-configuration-problem/2440930 "2025-04-05T08:09:11Z")

</div>

https://www.reddit.com/user/Winter-Fig-4425/comments/1jryh5i/ue\_configuration\_problem/ Has someone ran into the same problem already?

---

## [Nuget error I think](https://forums.unrealengine.com/t/nuget-error-i-think/2440379)

<div class="topic-metadata">

**Author:** [@TorroFire](https://forums.unrealengine.com/u/TorroFire)\
**Replies:** 0\
**Last updated:** [April 4, 2025, 11:09pm UTC](https://forums.unrealengine.com/t/nuget-error-i-think/2440379 "2025-04-04T23:09:46Z")

</div>

I dont know how to solve this can someone help with this?

---

## [is is possible to check whether a virtual function is override from parent class](https://forums.unrealengine.com/t/is-is-possible-to-check-whether-a-virtual-function-is-override-from-parent-class/2439024)

<div class="topic-metadata">

**Author:** [@user\_3efc87921bcb4110447d2e17e4d7044ea0722e55da9367bcdafdd8](https://forums.unrealengine.com/u/user_3efc87921bcb4110447d2e17e4d7044ea0722e55da9367bcdafdd8)\
**Replies:** 2\
**Last updated:** [April 4, 2025, 10:49am UTC](https://forums.unrealengine.com/t/is-is-possible-to-check-whether-a-virtual-function-is-override-from-parent-class/2439024 "2025-04-04T10:49:56Z")

</div>

i have create a parent class and define some virtual function members. in the setup logic, i want to know whether any specific virtual member is override by the sub class, which is the runtime this. the problem is that …

---

## [No Mouse Interaction For Buttons When Doing SetSpectatorScreenTexture](https://forums.unrealengine.com/t/no-mouse-interaction-for-buttons-when-doing-setspectatorscreentexture/2438995)

<div class="topic-metadata">

**Author:** [@yoponchik](https://forums.unrealengine.com/u/yoponchik)\
**Replies:** 0\
**Last updated:** [April 4, 2025, 8:40am UTC](https://forums.unrealengine.com/t/no-mouse-interaction-for-buttons-when-doing-setspectatorscreentexture/2438995 "2025-04-04T08:40:11Z")

</div>

I am trying to display a button on the PC Side of Spectator Screen in a VR game. Everything else is working fine, but the mouse interaction doesn’t seem to work… Or maybe it’s that the mouse coordinates are correct? Her…

---

## [Variables referencing level actors not content browser actors.](https://forums.unrealengine.com/t/variables-referencing-level-actors-not-content-browser-actors/2438594)

<div class="topic-metadata">

**Author:** [@jpalmer999](https://forums.unrealengine.com/u/jpalmer999)\
**Replies:** 1\
**Last updated:** [April 4, 2025, 2:04am UTC](https://forums.unrealengine.com/t/variables-referencing-level-actors-not-content-browser-actors/2438594 "2025-04-04T02:04:19Z")

</div>

So I’ve made the structure of my character’s equipment slots, but I can’t find a way to make the variables use an actor from the Content Browser and not the level itself. Does anyone know how to fix this? USTRUCT(Bluepr…

---

## [UE 5.5 with VSCode makes empty .code-workspace file](https://forums.unrealengine.com/t/ue-5-5-with-vscode-makes-empty-code-workspace-file/2438313)

<div class="topic-metadata">

**Author:** [@bsack23](https://forums.unrealengine.com/u/bsack23)\
**Replies:** 0\
**Last updated:** [April 3, 2025, 8:37pm UTC](https://forums.unrealengine.com/t/ue-5-5-with-vscode-makes-empty-code-workspace-file/2438313 "2025-04-03T20:37:15Z")

</div>

Using a Mac in a shared environment with the UE editor installed in a users home directory. When a user makes a new project with Visual Studio Code selected as the code editor, a .code-workspace file is created, but it h…

---

## [Not firing: OnComponentBeginOverlap.AddDynamic()](https://forums.unrealengine.com/t/not-firing-oncomponentbeginoverlap-adddynamic/140521)

<div class="topic-metadata">

**Author:** [@Travis.D](https://forums.unrealengine.com/u/Travis.D)\
**Replies:** 4\
**Last updated:** [April 3, 2025, 10:46am UTC](https://forums.unrealengine.com/t/not-firing-oncomponentbeginoverlap-adddynamic/140521 "2025-04-03T10:46:07Z")

</div>

I’m trying to create a “pressure plate” kind of setup (derived from AActor), where a BP event will fire when the player moves onto a square but nothing seems to be happening. Where am I going wrong here? .h UPROPERTY(…

---

## [FSlateDrawElement::MakeLines() add some extra vertices](https://forums.unrealengine.com/t/fslatedrawelement-makelines-add-some-extra-vertices/691767)

<div class="topic-metadata">

**Author:** [@GSM](https://forums.unrealengine.com/u/GSM)\
**Replies:** 1\
**Last updated:** [April 3, 2025, 9:56am UTC](https://forums.unrealengine.com/t/fslatedrawelement-makelines-add-some-extra-vertices/691767 "2025-04-03T09:56:36Z")

</div>

Hi, I try to display some shape in a custom widget UI using UWidget and SCompoundWidget. i succed in displaying a quad using FSlateDrawElement::MakeLines() My quad is correct when its size is big. But when i display …

---

## [How difficult it would be to integrate spell checker?](https://forums.unrealengine.com/t/how-difficult-it-would-be-to-integrate-spell-checker/102877)

<div class="topic-metadata">

**Author:** [@MothDoctor](https://forums.unrealengine.com/u/MothDoctor)\
**Replies:** 6\
**Last updated:** [April 3, 2025, 5:07am UTC](https://forums.unrealengine.com/t/how-difficult-it-would-be-to-integrate-spell-checker/102877 "2025-04-03T05:07:43Z")

</div>

Let’s say you have nice screenplay/dialogue editor. It’s convenient, easy to use for writer. The only missing functionality is a spell checker. How do you think, how difficult it would be integrate spell checker with e…

---

## [Decals do not render after disabling MobileHDR in Android ](https://forums.unrealengine.com/t/decals-do-not-render-after-disabling-mobilehdr-in-android/2437037)

<div class="topic-metadata">

**Author:** [@Online\_Learner\_8POcN](https://forums.unrealengine.com/u/Online_Learner_8POcN)\
**Replies:** 1\
**Last updated:** [April 3, 2025, 4:20am UTC](https://forums.unrealengine.com/t/decals-do-not-render-after-disabling-mobilehdr-in-android/2437037 "2025-04-03T04:20:01Z")

</div>

Is it possible to render decals normally with Mobile HDR turned off?

---

## [UE Not Pulling Lates Project Visual Studio Build](https://forums.unrealengine.com/t/ue-not-pulling-lates-project-visual-studio-build/2435386)

<div class="topic-metadata">

**Author:** [@Ryujin2003](https://forums.unrealengine.com/u/Ryujin2003)\
**Replies:** 1\
**Last updated:** [April 3, 2025, 3:11am UTC](https://forums.unrealengine.com/t/ue-not-pulling-lates-project-visual-studio-build/2435386 "2025-04-03T03:11:02Z")

</div>

Hello everyone, I’ve been dealing with a strange scenario where UE Editor appears to be loading some cached version of my game build instead of grabbing the latest compiled artifacts… I am using Visual Studio Community…

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

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