# C++

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

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

**Page:** 34

---

## [TMap with struct](https://forums.unrealengine.com/t/tmap-with-struct/41428)

<div class="topic-metadata">

**Author:** [@ChillyFlashER](https://forums.unrealengine.com/u/ChillyFlashER)\
**Replies:** 19\
**Last updated:** [June 30, 2025, 3:44am UTC](https://forums.unrealengine.com/t/tmap-with-struct/41428 "2025-06-30T03:44:07Z")

</div>

The example code for TMap using structs isn’t working. I am talking about the code here at the bottom of the page. If you use the code from the example, you will get the error: Unrecognized type 'FMyStruct' - type mus…

---

## [The macro "SEARCH\_PRESENCE" cannot be resolved](https://forums.unrealengine.com/t/the-macro-search-presence-cannot-be-resolved/1341978)

<div class="topic-metadata">

**Author:** [@MacroLemonXD](https://forums.unrealengine.com/u/MacroLemonXD)\
**Replies:** 6\
**Last updated:** [June 29, 2025, 9:48am UTC](https://forums.unrealengine.com/t/the-macro-search-presence-cannot-be-resolved/1341978 "2025-06-29T09:48:21Z")

</div>

So I’m now making a simple game in order to learn online-subsystem, but now I’m stuck at this point: Rider (I use Rider instead of VS as my IDE) said “cannot resolve symbol SEARCH\_PRESENCE”, restarting Rider IDE or Unr…

---

## [Broken UFactory in Unreal Engine 5.6](https://forums.unrealengine.com/t/broken-ufactory-in-unreal-engine-5-6/2583330)

<div class="topic-metadata">

**Author:** [@Jika](https://forums.unrealengine.com/u/Jika)\
**Replies:** 4\
**Last updated:** [June 28, 2025, 6:37pm UTC](https://forums.unrealengine.com/t/broken-ufactory-in-unreal-engine-5-6/2583330 "2025-06-28T18:37:41Z")

</div>

Does anyone know what’s up with UFactory::GetMenuCategories() ? In 5.5 everything is as it should be, it returns uint32 and the code is appropriate But in 5.6 it returns TArray And the code remains for 5.5, that is, i…

---

## [Trying to build UE4SS ](https://forums.unrealengine.com/t/trying-to-build-ue4ss/2583142)

<div class="topic-metadata">

**Author:** [@skypalace1](https://forums.unrealengine.com/u/skypalace1)\
**Replies:** 0\
**Last updated:** [June 28, 2025, 1:06pm UTC](https://forums.unrealengine.com/t/trying-to-build-ue4ss/2583142 "2025-06-28T13:06:04Z")

</div>

I am trying to build UE4SS I tried the following I launched github commandline, I signed in with my credentials gh auth login, with a github account linked to my unreal account I cloned the repo with gh repo clone u…

---

## [Any way to force the editor to build on restart?](https://forums.unrealengine.com/t/any-way-to-force-the-editor-to-build-on-restart/157040)

<div class="topic-metadata">

**Author:** [@Natalo77](https://forums.unrealengine.com/u/Natalo77)\
**Replies:** 5\
**Last updated:** [June 28, 2025, 1:02am UTC](https://forums.unrealengine.com/t/any-way-to-force-the-editor-to-build-on-restart/157040 "2025-06-28T01:02:27Z")

</div>

Hi there. I’m writing an editor plugin, and this involves generating classes and adding them to the source folder. Obviously, these come without the generated headers, so I can’t just hotreload them. I have to build f…

---

## [Detecting if running on dedicated server at runtime ?](https://forums.unrealengine.com/t/detecting-if-running-on-dedicated-server-at-runtime/62114)

<div class="topic-metadata">

**Author:** [@Martin\_Linklater](https://forums.unrealengine.com/u/Martin_Linklater)\
**Replies:** 8\
**Last updated:** [June 27, 2025, 10:37pm UTC](https://forums.unrealengine.com/t/detecting-if-running-on-dedicated-server-at-runtime/62114 "2025-06-27T22:37:23Z")

</div>

Hi. How can I detect if a piece of C++ code is being executed on a dedicated server at runtime in the editor ? I’ve tried ‘IsRunningDedicatedServer()’ and this returns false for both server and client processes while run…

---

## [Custom Movement - How do I fix Slow-Mo Animations when sprinting? (Please help) ](https://forums.unrealengine.com/t/custom-movement-how-do-i-fix-slow-mo-animations-when-sprinting-please-help/2582231)

<div class="topic-metadata">

**Author:** [@Redneck\_Ron](https://forums.unrealengine.com/u/Redneck_Ron)\
**Replies:** 0\
**Last updated:** [June 27, 2025, 7:59pm UTC](https://forums.unrealengine.com/t/custom-movement-how-do-i-fix-slow-mo-animations-when-sprinting-please-help/2582231 "2025-06-27T19:59:20Z")

</div>

SLOW-MO ANIMATION WHILE SPRINTING (I DON’T WANT THIS) PLEASE HELPPP So I want to create sprinting for multiplayer and I don’t want to use the “Set Max Walk Speed” with some run on server events because this introduces w…

---

## [Is it safe to store AActor without UPROPERTY?](https://forums.unrealengine.com/t/is-it-safe-to-store-aactor-without-uproperty/2577833)

<div class="topic-metadata">

**Author:** [@Babush61](https://forums.unrealengine.com/u/Babush61)\
**Replies:** 14\
**Last updated:** [June 27, 2025, 5:20pm UTC](https://forums.unrealengine.com/t/is-it-safe-to-store-aactor-without-uproperty/2577833 "2025-06-27T17:20:30Z")

</div>

Hello. I have a TArray\<AActor\*\>\* ControlledActorsInside in my code. In a function for the BP, I get an array from the BP StartSelectionRealTime(UPARAM(ref)TArray\<AActor\*\>\>& ControlledActors) ControlledActorsInside = &…

---

## [VirtualProductionUtilities has a TUniquePtr that seems dangerously incorrect](https://forums.unrealengine.com/t/virtualproductionutilities-has-a-tuniqueptr-that-seems-dangerously-incorrect/2581825)

<div class="topic-metadata">

**Author:** [@JonCable](https://forums.unrealengine.com/u/JonCable)\
**Replies:** 0\
**Last updated:** [June 27, 2025, 5:05pm UTC](https://forums.unrealengine.com/t/virtualproductionutilities-has-a-tuniqueptr-that-seems-dangerously-incorrect/2581825 "2025-06-27T17:05:52Z")

</div>

I hit a crash when using some memory validation systems in the destructor of SMaterialDynamicParametersOverviewTreeItem related to NewDefaultValuePtr . This pointer manages an array like so: NewDefaultValuePtr = MakeUn…

---

## [Crash using ClassDefaultObjects](https://forums.unrealengine.com/t/crash-using-classdefaultobjects/2577667)

<div class="topic-metadata">

**Author:** [@Auran131](https://forums.unrealengine.com/u/Auran131)\
**Replies:** 9\
**Last updated:** [June 27, 2025, 9:38am UTC](https://forums.unrealengine.com/t/crash-using-classdefaultobjects/2577667 "2025-06-27T09:38:42Z")

</div>

i have an ability system similar to GAS. my use case is to run checks on the CDO before Instantiating the UObject (ie has enough ActionPoints) i believe this is what GAS does for Non-Instantiated Objects. On first run…

---

## [\[How To\] Unbind an action from the input component](https://forums.unrealengine.com/t/how-to-unbind-an-action-from-the-input-component/119310)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_0ba2eb3c](https://forums.unrealengine.com/u/anonymous_user_0ba2eb3c)\
**Replies:** 10\
**Last updated:** [June 26, 2025, 6:52pm UTC](https://forums.unrealengine.com/t/how-to-unbind-an-action-from-the-input-component/119310 "2025-06-26T18:52:24Z")

</div>

The Input Component offers us only one way of removing an action binding: by index. Here’s the naive (and buggy) way to do this \[SPOILER\] I put it in a spoiler so people just trying to find the answer don’t copy and p…

---

## [RCON plugin or sample code](https://forums.unrealengine.com/t/rcon-plugin-or-sample-code/105678)

<div class="topic-metadata">

**Author:** [@ArneSikstrom](https://forums.unrealengine.com/u/ArneSikstrom)\
**Replies:** 3\
**Last updated:** [June 26, 2025, 6:22pm UTC](https://forums.unrealengine.com/t/rcon-plugin-or-sample-code/105678 "2025-06-26T18:22:55Z")

</div>

I am looking for a plugin or some sample code how to implement the RCON API. Already have a Controller based Rcon command but I want use RCON for managing dedicated servers.

---

## [Android Crash after switching from Android-29 to Android-34. ](https://forums.unrealengine.com/t/android-crash-after-switching-from-android-29-to-android-34/2578720)

<div class="topic-metadata">

**Author:** [@leocampos92](https://forums.unrealengine.com/u/leocampos92)\
**Replies:** 0\
**Last updated:** [June 26, 2025, 5:57pm UTC](https://forums.unrealengine.com/t/android-crash-after-switching-from-android-29-to-android-34/2578720 "2025-06-26T17:57:39Z")

</div>

Hi there, so i’ve been creating a mobile app that uses nfc in unreal, i’m using the RFID Helper plugin and it has been working fine, until i tried to publish the app in play store and it requested that all aps must be ma…

---

## [I can't start the project](https://forums.unrealengine.com/t/i-cant-start-the-project/2575237)

<div class="topic-metadata">

**Author:** [@228Arseniy228](https://forums.unrealengine.com/u/228Arseniy228)\
**Replies:** 15\
**Last updated:** [June 26, 2025, 4:37pm UTC](https://forums.unrealengine.com/t/i-cant-start-the-project/2575237 "2025-06-26T16:37:23Z")

</div>

tell me what to do. I decided to create a c++ class for the first time.I’ve always done blueprints before. immediately after that, I closed the project, opened it, and here’s the error(deep dark fantasy is the name of th…

---

## [Accessing Editor Keybindings in C++](https://forums.unrealengine.com/t/accessing-editor-keybindings-in-c/2568643)

<div class="topic-metadata">

**Author:** [@Matt3D](https://forums.unrealengine.com/u/Matt3D)\
**Replies:** 5\
**Last updated:** [June 26, 2025, 11:05am UTC](https://forums.unrealengine.com/t/accessing-editor-keybindings-in-c/2568643 "2025-06-26T11:05:08Z")

</div>

Hello, I am working on an editor tool that will help validate Unreal projects for my team (a checklist of everything that needs to be correct for the project/levels/actors) I want to be able to get the values of the edi…

---

## [Help with changing the title from “Learning” ](https://forums.unrealengine.com/t/help-with-changing-the-title-from-learning/2575697)

<div class="topic-metadata">

**Author:** [@michalamilanowic](https://forums.unrealengine.com/u/michalamilanowic)\
**Replies:** 1\
**Last updated:** [June 25, 2025, 3:15pm UTC](https://forums.unrealengine.com/t/help-with-changing-the-title-from-learning/2575697 "2025-06-25T15:15:31Z")

</div>

Idk where to write that, so lm going to post it here. Can a moderator change the title of my learning material? Instead of " Quick Setup of Camera Rig Rail" it should be “Change Units of Measurement”

---

## [Any way to access Blueprint class node anonymous variables through reflection?](https://forums.unrealengine.com/t/any-way-to-access-blueprint-class-node-anonymous-variables-through-reflection/2544530)

<div class="topic-metadata">

**Author:** [@Nameless\_Voice](https://forums.unrealengine.com/u/Nameless_Voice)\
**Replies:** 2\
**Last updated:** [June 7, 2025, 2:12pm UTC](https://forums.unrealengine.com/t/any-way-to-access-blueprint-class-node-anonymous-variables-through-reflection/2544530 "2025-06-07T14:12:18Z")

</div>

I’m wondering if there’s any way to access the variables stored inside Blueprint nodes, through reflection? I’m taking about things like the DoOnce macro or the DoOnceMultiInput node, which both expand out to a Temporar…

---

## [How, I can change my language english to arabic in UEFN I try to changing the language but i can't](https://forums.unrealengine.com/t/how-i-can-change-my-language-english-to-arabic-in-uefn-i-try-to-changing-the-language-but-i-cant/873840)

<div class="topic-metadata">

**Author:** [@user\_568b37d4577a9f46e39f5a27ca97f085a1bcb5009425c155a45305](https://forums.unrealengine.com/u/user_568b37d4577a9f46e39f5a27ca97f085a1bcb5009425c155a45305)\
**Replies:** 1\
**Last updated:** [June 25, 2025, 1:02am UTC](https://forums.unrealengine.com/t/how-i-can-change-my-language-english-to-arabic-in-uefn-i-try-to-changing-the-language-but-i-cant/873840 "2025-06-25T01:02:19Z")

</div>

how, I can change my language english to arabic in UEFN I try to changing the language but i can’t

---

## [Putting custom delegate definition in a header - Compile error.](https://forums.unrealengine.com/t/putting-custom-delegate-definition-in-a-header-compile-error/1263259)

<div class="topic-metadata">

**Author:** [@m00nB33r](https://forums.unrealengine.com/u/m00nB33r)\
**Replies:** 2\
**Last updated:** [June 24, 2025, 6:17pm UTC](https://forums.unrealengine.com/t/putting-custom-delegate-definition-in-a-header-compile-error/1263259 "2025-06-24T18:17:10Z")

</div>

Hi all… I have a C++ class derived from UObject that implements various functionality. I’ll just call it UClass-A. In that header file, I had defined two custom delegates that were to be used in this class and another…

---

## [FNetBitWriter compile error(5.6.0)](https://forums.unrealengine.com/t/fnetbitwriter-compile-error-5-6-0/2546594)

<div class="topic-metadata">

**Author:** [@HollowZerk](https://forums.unrealengine.com/u/HollowZerk)\
**Replies:** 1\
**Last updated:** [June 24, 2025, 5:25am UTC](https://forums.unrealengine.com/t/fnetbitwriter-compile-error-5-6-0/2546594 "2025-06-24T05:25:39Z")

</div>

i’ve been trying some simple stuff in the 5.6 Templates, didnt really change much besides a component on the character now when im trying to compile i get errors which point to ‘NetTokenExportContext.h’ an since its an…

---

## [Again: init variables in C++, then blueprints wipe it out.](https://forums.unrealengine.com/t/again-init-variables-in-c-then-blueprints-wipe-it-out/2572771)

<div class="topic-metadata">

**Author:** [@Nawrot](https://forums.unrealengine.com/u/Nawrot)\
**Replies:** 1\
**Last updated:** [June 23, 2025, 8:31pm UTC](https://forums.unrealengine.com/t/again-init-variables-in-c-then-blueprints-wipe-it-out/2572771 "2025-06-23T20:31:54Z")

</div>

Blueprints Resetting C++ Defaults After Crash How to Keep Them From Touching Anything in C++? I posted a similar issue a couple of months ago, but this time it’s even weirder. TL/DR: blueprints remove (set to null) Mes…

---

## [42 Errors When Starting a Opening Visual Studio](https://forums.unrealengine.com/t/42-errors-when-starting-a-opening-visual-studio/2568066)

<div class="topic-metadata">

**Author:** [@Nitrox32](https://forums.unrealengine.com/u/Nitrox32)\
**Replies:** 3\
**Last updated:** [June 23, 2025, 12:07pm UTC](https://forums.unrealengine.com/t/42-errors-when-starting-a-opening-visual-studio/2568066 "2025-06-23T12:07:02Z")

</div>

I’m trying to use visual studio 2022 to begin learning C++. When VS opens I immediately get 43 errors. There are too many to list all of them but most of them have the error code E0070 and begin with the following: inc…

---

## [Need help choosing tracing method from character to actors ](https://forums.unrealengine.com/t/need-help-choosing-tracing-method-from-character-to-actors/2567933)

<div class="topic-metadata">

**Author:** [@Fightlaze](https://forums.unrealengine.com/u/Fightlaze)\
**Replies:** 4\
**Last updated:** [June 22, 2025, 12:42pm UTC](https://forums.unrealengine.com/t/need-help-choosing-tracing-method-from-character-to-actors/2567933 "2025-06-22T12:42:16Z")

</div>

Hello there, Need a piece of advice. I’m trying to create mechanics similar to the one in the video. The main idea is that the character or the pawn should have the ability or some item used to «see» or «…

---

## [How to fix third party dll include not being staged correctly?](https://forums.unrealengine.com/t/how-to-fix-third-party-dll-include-not-being-staged-correctly/662957)

<div class="topic-metadata">

**Author:** [@k\_a\_s\_s\_k\_a\_s\_s](https://forums.unrealengine.com/u/k_a_s_s_k_a_s_s)\
**Replies:** 1\
**Last updated:** [June 22, 2025, 6:59am UTC](https://forums.unrealengine.com/t/how-to-fix-third-party-dll-include-not-being-staged-correctly/662957 "2025-06-22T06:59:16Z")

</div>

Hi Unreal forums! I am using a pre-built C++ library in my project using dynamic library files. The library is contained in a plugin, let’s call it MyPlugin. Building/packaging/playing in editor works fine. However, a p…

---

## [Switch camera with C++](https://forums.unrealengine.com/t/switch-camera-with-c/329714)

<div class="topic-metadata">

**Author:** [@Kristoffer\_Helander](https://forums.unrealengine.com/u/Kristoffer_Helander)\
**Replies:** 4\
**Last updated:** [June 21, 2025, 10:25pm UTC](https://forums.unrealengine.com/t/switch-camera-with-c/329714 "2025-06-21T22:25:30Z")

</div>

I have some objects following splines in the scene, and one of the objects has a camera on it that is automatically assigned as the main camera, that fine, even though I haven’t quite understand how this happened, and wh…

---

## [Mac compiling errors - object backing the pointer ... will be destroyed at the end of the full-expression \[-Werror,-Wdangling-assignment\]](https://forums.unrealengine.com/t/mac-compiling-errors-object-backing-the-pointer-will-be-destroyed-at-the-end-of-the-full-expression-werror-wdangling-assignment/2567731)

<div class="topic-metadata">

**Author:** [@OrbitalZones](https://forums.unrealengine.com/u/OrbitalZones)\
**Replies:** 3\
**Last updated:** [June 21, 2025, 6:59pm UTC](https://forums.unrealengine.com/t/mac-compiling-errors-object-backing-the-pointer-will-be-destroyed-at-the-end-of-the-full-expression-werror-wdangling-assignment/2567731 "2025-06-21T18:59:31Z")

</div>

I am getting many of that errors when compiling a project with Betide’s EOS Integration Kit on macOS. Source of this issue seem to be this deprecated macro: "TCHAR\_TO\_UTF8(Ptr) is deprecated, please use StringCast\<UTF8C…

---

## [Waitmutex exited with code 6 (MSB3037)](https://forums.unrealengine.com/t/waitmutex-exited-with-code-6-msb3037/477119)

<div class="topic-metadata">

**Author:** [@Roboboy258](https://forums.unrealengine.com/u/Roboboy258)\
**Replies:** 29\
**Last updated:** [June 21, 2025, 10:46am UTC](https://forums.unrealengine.com/t/waitmutex-exited-with-code-6-msb3037/477119 "2025-06-21T10:46:52Z")

</div>

So I was scripting, following a series when I ran into this problem. I know this error can be caused by UPROPERTY, but I have no idea what triggers this conflict. Here is my UPROPERTY code: (this is a header file) Se…

---

## [Constants for C++ and Blueprint](https://forums.unrealengine.com/t/constants-for-c-and-blueprint/2568443)

<div class="topic-metadata">

**Author:** [@blAddddDe](https://forums.unrealengine.com/u/blAddddDe)\
**Replies:** 1\
**Last updated:** [June 20, 2025, 9:27pm UTC](https://forums.unrealengine.com/t/constants-for-c-and-blueprint/2568443 "2025-06-20T21:27:14Z")

</div>

HI! Where can I store (the best “best practice” way) constants in C++ so that I can access them from both C++ and Blueprint?

---

## [Receiving UI message on PixelStreaming2](https://forums.unrealengine.com/t/receiving-ui-message-on-pixelstreaming2/2567691)

<div class="topic-metadata">

**Author:** [@Feanor](https://forums.unrealengine.com/u/Feanor)\
**Replies:** 0\
**Last updated:** [June 20, 2025, 11:13am UTC](https://forums.unrealengine.com/t/receiving-ui-message-on-pixelstreaming2/2567691 "2025-06-20T11:13:51Z")

</div>

Hi everyone, I’m currently working with Unreal Engine (version 5.6.0) and the Pixel Streaming plugin v2. I’m trying to handle messages sent from the browser using emitUIInteraction() directly in my C++ code, but I can’t…

---

## [Development → Programming & Scripting → C++ ](https://forums.unrealengine.com/t/development-programming-scripting-c/2566996)

<div class="topic-metadata">

**Author:** [@Erlxxyyaness](https://forums.unrealengine.com/u/Erlxxyyaness)\
**Replies:** 0\
**Last updated:** [June 20, 2025, 1:03am UTC](https://forums.unrealengine.com/t/development-programming-scripting-c/2566996 "2025-06-20T01:03:15Z")

</div>

:video\_game: LOOKING FOR TEAMMATES – Urban Horror Adventure Game (UE5) Hello everyone! My name is Erdem, and I’m working on a story-driven urban horror game developed in UE5.6. Inspired by titles like The Last of Us, B…

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

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