# C++

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

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

**Page:** 8

---

## [UE5 opens a wrong VS .sln file (from previous project) ](https://forums.unrealengine.com/t/ue5-opens-a-wrong-vs-sln-file-from-previous-project/2659512)

<div class="topic-metadata">

**Author:** [@FIN\_Marin](https://forums.unrealengine.com/u/FIN_Marin)\
**Replies:** 1\
**Last updated:** [July 20, 2026, 4:17pm UTC](https://forums.unrealengine.com/t/ue5-opens-a-wrong-vs-sln-file-from-previous-project/2659512 "2026-07-20T16:17:27Z")

</div>

Let’s say I have two UE5 C++ projects: project\_01 and project\_02. When I finished my work in project\_01, I closed everything and opened project\_02. Through the editor, I clicked Tool\>open VS, then UE5 would still open th…

---

## [UBADetours.DLL  errors ](https://forums.unrealengine.com/t/ubadetours-dll-errors/2736626)

<div class="topic-metadata">

**Author:** [@games23561](https://forums.unrealengine.com/u/games23561)\
**Replies:** 1\
**Last updated:** [July 20, 2026, 3:56pm UTC](https://forums.unrealengine.com/t/ubadetours-dll-errors/2736626 "2026-07-20T15:56:34Z")

</div>

When I try to create a C++ game project using UE5.6, it keeps crashing during C++ compilation with error messages from cl.exe or rc.exe saying “UBADetours.dll not found” and “Unable to continue running code.” I’ve alread…

---

## [Why do I have to include a subsytem in a Plugin?](https://forums.unrealengine.com/t/why-do-i-have-to-include-a-subsytem-in-a-plugin/2735897)

<div class="topic-metadata">

**Author:** [@ViaCognita](https://forums.unrealengine.com/u/ViaCognita)\
**Replies:** 6\
**Last updated:** [July 20, 2026, 6:27am UTC](https://forums.unrealengine.com/t/why-do-i-have-to-include-a-subsytem-in-a-plugin/2735897 "2026-07-20T06:27:44Z")

</div>

Hi! I’m reading the documentation about the subsystem and I don’t understand this: “Subsystems are particularly useful when creating plugins. You do not need to have instructions about the code needed to make the plugi…

---

## [Is Unreal slowly becoming its own language?](https://forums.unrealengine.com/t/is-unreal-slowly-becoming-its-own-language/2736802)

<div class="topic-metadata">

**Author:** [@Drakgoku](https://forums.unrealengine.com/u/Drakgoku)\
**Replies:** 1\
**Last updated:** [July 19, 2026, 1:02pm UTC](https://forums.unrealengine.com/t/is-unreal-slowly-becoming-its-own-language/2736802 "2026-07-19T13:02:24Z")

</div>

I’ve been migrating one of my projects to UE 5.8 these last couple of days and… I don’t know. Maybe it’s just me, but I keep getting this feeling that every version pushes Unreal a little bit further away from plain C++. …

---

## [Can't create or compile new projects in C++](https://forums.unrealengine.com/t/cant-create-or-compile-new-projects-in-c/2735784)

<div class="topic-metadata">

**Author:** [@LoganDolan](https://forums.unrealengine.com/u/LoganDolan)\
**Replies:** 3\
**Last updated:** [July 16, 2026, 4:20am UTC](https://forums.unrealengine.com/t/cant-create-or-compile-new-projects-in-c/2735784 "2026-07-16T04:20:43Z")

</div>

I am having issues creating projects and linking them to Visual Studio. Projects made aren’t recognized in the launcher and the project files don’t recognize Unreal Engine itself. I cannot build through VS, or live code …

---

## [UE5 C++ Behavior Tree / Combat Slot AI keeps falling back to Patrol instead of Attack](https://forums.unrealengine.com/t/ue5-c-behavior-tree-combat-slot-ai-keeps-falling-back-to-patrol-instead-of-attack/2735544)

<div class="topic-metadata">

**Author:** [@iNSANE\_SS](https://forums.unrealengine.com/u/iNSANE_SS)\
**Replies:** 1\
**Last updated:** [July 15, 2026, 4:20am UTC](https://forums.unrealengine.com/t/ue5-c-behavior-tree-combat-slot-ai-keeps-falling-back-to-patrol-instead-of-attack/2735544 "2026-07-15T04:20:50Z")

</div>

Hi everyone, I’m implementing a melee combat slot system entirely in UE5 C++ (no Blueprint logic except assigning assets), and I’ve reached a point where I’m stuck debugging the AI state transitions. Current architectu…

---

## [PostEditChangeProperty is not called when change the value of a SinglePropertyView in Editor](https://forums.unrealengine.com/t/posteditchangeproperty-is-not-called-when-change-the-value-of-a-singlepropertyview-in-editor/642942)

<div class="topic-metadata">

**Author:** [@MarshallZhang](https://forums.unrealengine.com/u/MarshallZhang)\
**Replies:** 1\
**Last updated:** [July 14, 2026, 1:26am UTC](https://forums.unrealengine.com/t/posteditchangeproperty-is-not-called-when-change-the-value-of-a-singlepropertyview-in-editor/642942 "2026-07-14T01:26:29Z")

</div>

Hi, I’m trying to use SinglePropertyView in my custom Editor Ultility Widget, but it seems that I can’t get notification on property value changed. The callback function is PostEditChangeProperty, right? Do I need to add…

---

## [How to decouple character from its components? ](https://forums.unrealengine.com/t/how-to-decouple-character-from-its-components/2733687)

<div class="topic-metadata">

**Author:** [@demonandtroll](https://forums.unrealengine.com/u/demonandtroll)\
**Replies:** 1\
**Last updated:** [July 13, 2026, 9:38pm UTC](https://forums.unrealengine.com/t/how-to-decouple-character-from-its-components/2733687 "2026-07-13T21:38:50Z")

</div>

Lyra game sample character explicitly calls it’s components ￼void ALyraCharacter::OnXYZ {￼PawnExtComponent-\>OnXYZ￼}￼ This makes PawnExtComponent mandatory on each LyraCharacter. I want to avoid this on my character. …

---

## [UE 5.8 fails to compile with Visual Studio 2026 (hash\_map missing) — Source fix](https://forums.unrealengine.com/t/ue-5-8-fails-to-compile-with-visual-studio-2026-hash-map-missing-source-fix/2732357)

<div class="topic-metadata">

**Author:** [@Drakgoku](https://forums.unrealengine.com/u/Drakgoku)\
**Replies:** 6\
**Last updated:** [July 13, 2026, 8:20pm UTC](https://forums.unrealengine.com/t/ue-5-8-fails-to-compile-with-visual-studio-2026-hash-map-missing-source-fix/2732357 "2026-07-13T20:20:24Z")

</div>

▶ Summary ▶ Summary I’m compiling an Unreal Engine 5.8 source code using Visual Studio 2026. After compiling for a few hours, I’m getting the following error: E:\\UnrealEngine\\Engine\\Source\\ThirdParty\\nvtesslib\\inc…

---

## [Having trouble using a timeline in a UObject ](https://forums.unrealengine.com/t/having-trouble-using-a-timeline-in-a-uobject/2735277)

<div class="topic-metadata">

**Author:** [@RG-GTS](https://forums.unrealengine.com/u/RG-GTS)\
**Replies:** 4\
**Last updated:** [July 13, 2026, 2:08pm UTC](https://forums.unrealengine.com/t/having-trouble-using-a-timeline-in-a-uobject/2735277 "2026-07-13T14:08:11Z")

</div>

Hi! I’ve been trying to create a small UObject to act as a template class for actions my actors can perform. Some of them are movement-based, so I have tried to add a timeline. Even though I have bound functions to its u…

---

## [Where/when to add a tag when a gamepllay attribute is "full?"](https://forums.unrealengine.com/t/where-when-to-add-a-tag-when-a-gamepllay-attribute-is-full/2735049)

<div class="topic-metadata">

**Author:** [@illspiritx](https://forums.unrealengine.com/u/illspiritx)\
**Replies:** 4\
**Last updated:** [July 12, 2026, 9:29am UTC](https://forums.unrealengine.com/t/where-when-to-add-a-tag-when-a-gamepllay-attribute-is-full/2735049 "2026-07-12T09:29:57Z")

</div>

I’m trying to setup GAS attributes in c++, and can’t get my bp-based stamina/health regen effects to consistently stop regenerating at full stamina/health. I’ve tried clamping the values in PreAttributeChange and PostGa…

---

## [Passing reference to function via TFunction fails on UFUNCTIONs](https://forums.unrealengine.com/t/passing-reference-to-function-via-tfunction-fails-on-ufunctions/2734945)

<div class="topic-metadata">

**Author:** [@FatalError418](https://forums.unrealengine.com/u/FatalError418)\
**Replies:** 2\
**Last updated:** [July 12, 2026, 4:28am UTC](https://forums.unrealengine.com/t/passing-reference-to-function-via-tfunction-fails-on-ufunctions/2734945 "2026-07-12T04:28:06Z")

</div>

I am attempting to make a little bit easier system for calling a cosmetic change on multicast, by networking. For that I am attempting to use a little lambda like so, and having a function ref as an argument: void RunMu…

---

## [EOS Advanced Sessions: EOS\_InvalidUser & PendingConnectionFailure on Package Build](https://forums.unrealengine.com/t/eos-advanced-sessions-eos-invaliduser-pendingconnectionfailure-on-package-build/2735023)

<div class="topic-metadata">

**Author:** [@Osaa12322](https://forums.unrealengine.com/u/Osaa12322)\
**Replies:** 0\
**Last updated:** [July 11, 2026, 12:59pm UTC](https://forums.unrealengine.com/t/eos-advanced-sessions-eos-invaliduser-pendingconnectionfailure-on-package-build/2735023 "2026-07-11T12:59:32Z")

</div>

Hello everyone, I am trying to implement a multiplayer lobby system using Advanced Sessions and Epic Online Services (EOS) for an indie game that will be published on itch.io. I have correctly set up my Blueprint logic…

---

## [Whats the best way to set K2node Pin default values?](https://forums.unrealengine.com/t/whats-the-best-way-to-set-k2node-pin-default-values/2732924)

<div class="topic-metadata">

**Author:** [@Auran131](https://forums.unrealengine.com/u/Auran131)\
**Replies:** 9\
**Last updated:** [July 9, 2026, 4:16pm UTC](https://forums.unrealengine.com/t/whats-the-best-way-to-set-k2node-pin-default-values/2732924 "2026-07-09T16:16:31Z")

</div>

currently i’m doing this FString DefaultValue; FMyStruct::StaticStruct()-\>ExportText( DefaultValue, &NodeValue, nullptr, nullptr, PPF\_None, nullptr); Schema-\>SetPinAutogeneratedDefaultValue(Pin, DefaultVal…

---

## [Store encrypted data used by the game](https://forums.unrealengine.com/t/store-encrypted-data-used-by-the-game/2733901)

<div class="topic-metadata">

**Author:** [@ViaCognita](https://forums.unrealengine.com/u/ViaCognita)\
**Replies:** 1\
**Last updated:** [July 9, 2026, 2:31am UTC](https://forums.unrealengine.com/t/store-encrypted-data-used-by-the-game/2733901 "2026-07-09T02:31:59Z")

</div>

Hi! My game requires some numerical data, which I am storing in an SQLite 3 database. However, I need to stop using the database because it cannot be encrypted. Is there another way to store and encrypt this data in th…

---

## [Child components not following root component even though they're supposed to be attached to the root component](https://forums.unrealengine.com/t/child-components-not-following-root-component-even-though-theyre-supposed-to-be-attached-to-the-root-component/732504)

<div class="topic-metadata">

**Author:** [@DedAy](https://forums.unrealengine.com/u/DedAy)\
**Replies:** 4\
**Last updated:** [July 9, 2026, 2:25am UTC](https://forums.unrealengine.com/t/child-components-not-following-root-component-even-though-theyre-supposed-to-be-attached-to-the-root-component/732504 "2026-07-09T02:25:42Z")

</div>

I have created a SceneComponent on a blueprint within c++ which I use as my root component and assign it as such in the constructor: And then of course I attach the other components to the new RootComponent: And …

---

## [Inactive PlayerState code seems faulty](https://forums.unrealengine.com/t/inactive-playerstate-code-seems-faulty/484177)

<div class="topic-metadata">

**Author:** [@eXi](https://forums.unrealengine.com/u/eXi)\
**Replies:** 1\
**Last updated:** [July 8, 2026, 2:53pm UTC](https://forums.unrealengine.com/t/inactive-playerstate-code-seems-faulty/484177 "2026-07-08T14:53:00Z")

</div>

Hello there, so I’ve been wondering why some of my PlayerState code isn’t working for a Player that quickly reconnects after leaving the game, and while I’m very much aware of InactivePlayerStates and that UE4 keeps tra…

---

## [Functional OSM Worldmap](https://forums.unrealengine.com/t/functional-osm-worldmap/2734384)

<div class="topic-metadata">

**Author:** [@Ryux33](https://forums.unrealengine.com/u/Ryux33)\
**Replies:** 0\
**Last updated:** [July 8, 2026, 1:15pm UTC](https://forums.unrealengine.com/t/functional-osm-worldmap/2734384 "2026-07-08T13:15:12Z")

</div>

Does someone know how to make a functional 2D Worldmap of the world using OSM data? im trying to make a 2D hide and seek game across countries where the hider and seeker has to use public transportation like trains and f…

---

## [Texture that is cpu available stuck at 4x4 and dtx1 format. Ue 5.7.1](https://forums.unrealengine.com/t/texture-that-is-cpu-available-stuck-at-4x4-and-dtx1-format-ue-5-7-1/2734070)

<div class="topic-metadata">

**Author:** [@Andra\_235](https://forums.unrealengine.com/u/Andra_235)\
**Replies:** 1\
**Last updated:** [July 7, 2026, 11:36am UTC](https://forums.unrealengine.com/t/texture-that-is-cpu-available-stuck-at-4x4-and-dtx1-format-ue-5-7-1/2734070 "2026-07-07T11:36:41Z")

</div>

I need texture to be cpu available so i can extract pixel data from it really fast and store it in linear color array. In ue editor i went to texture to enable cpu availability, but when i enable it it is stuck at 4x4 re…

---

## [How can I cook a single asset using C++ in UE4](https://forums.unrealengine.com/t/how-can-i-cook-a-single-asset-using-c-in-ue4/678024)

<div class="topic-metadata">

**Author:** [@Yuri9447](https://forums.unrealengine.com/u/Yuri9447)\
**Replies:** 2\
**Last updated:** [July 6, 2026, 7:54am UTC](https://forums.unrealengine.com/t/how-can-i-cook-a-single-asset-using-c-in-ue4/678024 "2026-07-06T07:54:28Z")

</div>

Hi! I want to test cook an asset using C++ but I could not find any useful information about how to do it on the internet. Dose anyone know how to make it?

---

## [C++ classes disappear from Content Browser on every project restart except one ](https://forums.unrealengine.com/t/c-classes-disappear-from-content-browser-on-every-project-restart-except-one/2733762)

<div class="topic-metadata">

**Author:** [@OzornaiaLisichka](https://forums.unrealengine.com/u/OzornaiaLisichka)\
**Replies:** 1\
**Last updated:** [July 5, 2026, 10:32pm UTC](https://forums.unrealengine.com/t/c-classes-disappear-from-content-browser-on-every-project-restart-except-one/2733762 "2026-07-05T22:32:40Z")

</div>

I have a UE 5.5 C++ project . Every time I restart the editor, all C++ classes disappear from the Content Browser except one (Actor\_TeleporterBase). The files exist on disk in Source\\Backrooms\_Purgatory\\ — all .h and .cp…

---

## [Beginner C++ learning paths for Unreal Engine geared toward 3D artists? ](https://forums.unrealengine.com/t/beginner-c-learning-paths-for-unreal-engine-geared-toward-3d-artists/2733692)

<div class="topic-metadata">

**Author:** [@stoutfella](https://forums.unrealengine.com/u/stoutfella)\
**Replies:** 0\
**Last updated:** [July 5, 2026, 1:29pm UTC](https://forums.unrealengine.com/t/beginner-c-learning-paths-for-unreal-engine-geared-toward-3d-artists/2733692 "2026-07-05T13:29:44Z")

</div>

I’m a 3D motion graphics artist with additional experience in web development through JavaScript and Python. I’m looking for a learning path on here or external resources that teach C++ in a way that makes sense for visu…

---

## [UE5 EOS Setup](https://forums.unrealengine.com/t/ue5-eos-setup/2733668)

<div class="topic-metadata">

**Author:** [@Osaa12322](https://forums.unrealengine.com/u/Osaa12322)\
**Replies:** 0\
**Last updated:** [July 5, 2026, 10:29am UTC](https://forums.unrealengine.com/t/ue5-eos-setup/2733668 "2026-07-05T10:29:17Z")

</div>

Hey guys, I’ve been trying to set up the EOS system in Unreal Engine for days now but I just can’t get it to work no matter what. Could anyone explain how to actually get it running or share a quick breakdown? Any help w…

---

## [Cannot apply operator '&' to r-value](https://forums.unrealengine.com/t/cannot-apply-operator-to-r-value/727891)

<div class="topic-metadata">

**Author:** [@jetbullet](https://forums.unrealengine.com/u/jetbullet)\
**Replies:** 2\
**Last updated:** [July 3, 2026, 3:08pm UTC](https://forums.unrealengine.com/t/cannot-apply-operator-to-r-value/727891 "2026-07-03T15:08:10Z")

</div>

Hello! I’m new to C++ and UE. And I ran into a problem while trying to use SetTimer(). In my case: GetWorld()-\>GetTimerManager().SetTimer(ReloadTimer, this, &ACannon::Reload(), 1/FireRate, false); IDE Keeps getting…

---

## [Eos integration and Testing in PIE](https://forums.unrealengine.com/t/eos-integration-and-testing-in-pie/2733156)

<div class="topic-metadata">

**Author:** [@Midlife\_Crysis](https://forums.unrealengine.com/u/Midlife_Crysis)\
**Replies:** 0\
**Last updated:** [July 3, 2026, 5:12am UTC](https://forums.unrealengine.com/t/eos-integration-and-testing-in-pie/2733156 "2026-07-03T05:12:16Z")

</div>

I have integrated the eos sdk into my game but im having an issue with playing in edtior “pie” trying to implement new features. Does this usually only get integrated at the end? It seems to always push me back to main m…

---

## [Where are instructions for setting up unreal engine 5.8 with visual studio. ?](https://forums.unrealengine.com/t/where-are-instructions-for-setting-up-unreal-engine-5-8-with-visual-studio/2733001)

<div class="topic-metadata">

**Author:** [@kurylo3d](https://forums.unrealengine.com/u/kurylo3d)\
**Replies:** 1\
**Last updated:** [July 2, 2026, 5:17pm UTC](https://forums.unrealengine.com/t/where-are-instructions-for-setting-up-unreal-engine-5-8-with-visual-studio/2733001 "2026-07-02T17:17:52Z")

</div>

Where are instructions for setting up unreal engine 5.8 with visual studio. I cant seem to make it work and need to know what to install… what version of everything.?

---

## [SOLVED: MoveToLocation returns Code=5 Invalid immediately — pawn mesh was carving hole in navmesh ](https://forums.unrealengine.com/t/solved-movetolocation-returns-code-5-invalid-immediately-pawn-mesh-was-carving-hole-in-navmesh/2732997)

<div class="topic-metadata">

**Author:** [@LipsterX](https://forums.unrealengine.com/u/LipsterX)\
**Replies:** 0\
**Last updated:** [July 2, 2026, 2:46pm UTC](https://forums.unrealengine.com/t/solved-movetolocation-returns-code-5-invalid-immediately-pawn-mesh-was-carving-hole-in-navmesh/2732997 "2026-07-02T14:46:42Z")

</div>

I just wanted to post this because I wasted a lot of time with it. This happened in 5.7 but I don’t believe it’s version-specific. The symptom: MoveToLocation fails synchronously with EPathFollowingResult::Invalid (Cod…

---

## [Inconsistent version of winsock negotiated in WSAStartup throughout engine codebase ](https://forums.unrealengine.com/t/inconsistent-version-of-winsock-negotiated-in-wsastartup-throughout-engine-codebase/2732991)

<div class="topic-metadata">

**Author:** [@lenard-mosys](https://forums.unrealengine.com/u/lenard-mosys)\
**Replies:** 0\
**Last updated:** [July 2, 2026, 2:36pm UTC](https://forums.unrealengine.com/t/inconsistent-version-of-winsock-negotiated-in-wsastartup-throughout-engine-codebase/2732991 "2026-07-02T14:36:22Z")

</div>

Most of the WSAStartup calls use version 2.2, but some of them use 1.1 . This triggers a bug in oat++ when I use it in a plugin, as it apparently expects non-1.1 behavior when using connect on async sockets and 1.1 is n…

---

## [Visual Studio 2026 Compatibility Issue](https://forums.unrealengine.com/t/visual-studio-2026-compatibility-issue/2722572)

<div class="topic-metadata">

**Author:** [@Anonymous\_867380bcb29bf4a904df1bf4bd50a98f](https://forums.unrealengine.com/u/Anonymous_867380bcb29bf4a904df1bf4bd50a98f)\
**Replies:** 7\
**Last updated:** [July 1, 2026, 3:04pm UTC](https://forums.unrealengine.com/t/visual-studio-2026-compatibility-issue/2722572 "2026-07-01T15:04:39Z")

</div>

I have VS Community 2026 installed on this machine, I’ve just finished downloading UE 5.7, made a C++ project, attempted to configure it and build and got several errors. I thought it would just work smoothly out of the…

---

## [AnimNotify is triggered multiple times during a single playback](https://forums.unrealengine.com/t/animnotify-is-triggered-multiple-times-during-a-single-playback/2372181)

<div class="topic-metadata">

**Author:** [@YouYOUWo](https://forums.unrealengine.com/u/YouYOUWo)\
**Replies:** 5\
**Last updated:** [June 30, 2026, 10:01pm UTC](https://forums.unrealengine.com/t/animnotify-is-triggered-multiple-times-during-a-single-playback/2372181 "2026-06-30T22:01:18Z")

</div>

I am working on a multiplayer TPS game and am currently developing the reload functionality. However, I encountered the following problem: when the host (server) reloads, the reload animation plays normally on both the c…

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

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