# C++

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

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

**Page:** 101

---

## [FGameplayTagContainer not saved by Blueprints](https://forums.unrealengine.com/t/fgameplaytagcontainer-not-saved-by-blueprints/1471174)

<div class="topic-metadata">

**Author:** [@DanteRevill](https://forums.unrealengine.com/u/DanteRevill)\
**Replies:** 3\
**Last updated:** [June 19, 2024, 1:29pm UTC](https://forums.unrealengine.com/t/fgameplaytagcontainer-not-saved-by-blueprints/1471174 "2024-06-19T13:29:43Z")

</div>

Hello everyone! I’m writing here because I’m facing an issue with FGameplayTagContainer and I’m not sure how to solve it. First of all, I’ve declared and defined some GameplayTags in C++: .h UE\_DEFINE\_GAMEPLAY\_TAG(TA…

---

## [C++ Project Version Control with Git](https://forums.unrealengine.com/t/c-project-version-control-with-git/1908491)

<div class="topic-metadata">

**Author:** [@M411](https://forums.unrealengine.com/u/M411)\
**Replies:** 2\
**Last updated:** [June 19, 2024, 1:00pm UTC](https://forums.unrealengine.com/t/c-project-version-control-with-git/1908491 "2024-06-19T13:00:33Z")

</div>

Anyone have a step by step on how to setup a Source Control using Git for a C++ Project? I want to be able to setup it in a way things like plugins (like fgear etc.) will be pushed alongside the project, is there also …

---

## [Member is inaccessible](https://forums.unrealengine.com/t/member-is-inaccessible/1908080)

<div class="topic-metadata">

**Author:** [@o-t-w](https://forums.unrealengine.com/u/o-t-w)\
**Replies:** 3\
**Last updated:** [June 18, 2024, 6:48pm UTC](https://forums.unrealengine.com/t/member-is-inaccessible/1908080 "2024-06-18T18:48:34Z")

</div>

I am following along with the documentation here: CPP Only Example | Unreal Engine 5.4 Documentation | Epic Developer Community I am getting the following error: Member is inaccessible The relevant line of code is Poin…

---

## [Application Error and Different APK Sizes with Same Parameters using RunUAT.exe vs. Unreal Editor in UE 4.27.2](https://forums.unrealengine.com/t/application-error-and-different-apk-sizes-with-same-parameters-using-runuat-exe-vs-unreal-editor-in-ue-4-27-2/1907887)

<div class="topic-metadata">

**Author:** [@dhani.yanuar](https://forums.unrealengine.com/u/dhani.yanuar)\
**Replies:** 0\
**Last updated:** [June 18, 2024, 3:28pm UTC](https://forums.unrealengine.com/t/application-error-and-different-apk-sizes-with-same-parameters-using-runuat-exe-vs-unreal-editor-in-ue-4-27-2/1907887 "2024-06-18T15:28:54Z")

</div>

Hi everyone, I’m encountering an issue with Unreal Engine 4.27.2 where the APK size differs significantly depending on whether I use RunUAT.exe manually or through the Unreal Editor, even though I’m using the same param…

---

## [Overlap check on the geometry of an actor instead of against the world for optimization.](https://forums.unrealengine.com/t/overlap-check-on-the-geometry-of-an-actor-instead-of-against-the-world-for-optimization/1907538)

<div class="topic-metadata">

**Author:** [@Melvin\_Brink](https://forums.unrealengine.com/u/Melvin_Brink)\
**Replies:** 5\
**Last updated:** [June 18, 2024, 3:11pm UTC](https://forums.unrealengine.com/t/overlap-check-on-the-geometry-of-an-actor-instead-of-against-the-world-for-optimization/1907538 "2024-06-18T15:11:19Z")

</div>

Hi, I have been looking for a way to do overlap checks against the geometry of an actors. But as far as I know, there only exists overlap checks that trace against the world. While this does what I want it to, it seems …

---

## [A good introductory course into C++ for UE?](https://forums.unrealengine.com/t/a-good-introductory-course-into-c-for-ue/1273531)

<div class="topic-metadata">

**Author:** [@ephryx](https://forums.unrealengine.com/u/ephryx)\
**Replies:** 10\
**Last updated:** [June 18, 2024, 11:02am UTC](https://forums.unrealengine.com/t/a-good-introductory-course-into-c-for-ue/1273531 "2024-06-18T11:02:29Z")

</div>

Hiya, I spent the past 3-4 months reading about and practicing core C++. (I’ve gone through the website learncpp.com, excellent resource by the way, for anyone interested, but it takes a lot of effort to go through it!…

---

## [After upgrading 5.4, the data saved in 5.3 cannot be read](https://forums.unrealengine.com/t/after-upgrading-5-4-the-data-saved-in-5-3-cannot-be-read/1891883)

<div class="topic-metadata">

**Author:** [@user\_99d4cc908c5cf6e2548cf7cadcd272e14e1a25250eab420b7af3e1](https://forums.unrealengine.com/u/user_99d4cc908c5cf6e2548cf7cadcd272e14e1a25250eab420b7af3e1)\
**Replies:** 1\
**Last updated:** [June 18, 2024, 1:12am UTC](https://forums.unrealengine.com/t/after-upgrading-5-4-the-data-saved-in-5-3-cannot-be-read/1891883 "2024-06-18T01:12:10Z")

</div>

I defined a class in C++, and used FObjectAndNameAsStringProxyArchive to save and read the object’s data. There were no problems with the previous 5.0, 5.1, 5.2, and 5.3 upgrades, and I could read the previous data norma…

---

## [UE5 Editor doesn't automatically open Rider EAP IDE](https://forums.unrealengine.com/t/ue5-editor-doesnt-automatically-open-rider-eap-ide/1903455)

<div class="topic-metadata">

**Author:** [@EzioMercer](https://forums.unrealengine.com/u/EzioMercer)\
**Replies:** 1\
**Last updated:** [June 17, 2024, 7:31pm UTC](https://forums.unrealengine.com/t/ue5-editor-doesnt-automatically-open-rider-eap-ide/1903455 "2024-06-17T19:31:33Z")

</div>

Hi! The problem is described in title :slight\_smile: I tried both “Rider” and “Rider Uproject” options When I double click on C++ class or trying Tools → Open Rider in UE5 Editor I just see this notification in the…

---

## [Unreal Engine AIController does not reset behavior upon possessing new pawn](https://forums.unrealengine.com/t/unreal-engine-aicontroller-does-not-reset-behavior-upon-possessing-new-pawn/1903100)

<div class="topic-metadata">

**Author:** [@Foolish.Flower1](https://forums.unrealengine.com/u/Foolish.Flower1)\
**Replies:** 1\
**Last updated:** [June 17, 2024, 1:58pm UTC](https://forums.unrealengine.com/t/unreal-engine-aicontroller-does-not-reset-behavior-upon-possessing-new-pawn/1903100 "2024-06-17T13:58:22Z")

</div>

So, I’m using a single AI Controller that can change which Pawn it is possessing at a given time. Upon possession, the first pawn behaves as expected, but after unpossessing it and moving to the second Pawn it seems tha…

---

## [Fullscreen resolution bug](https://forums.unrealengine.com/t/fullscreen-resolution-bug/1900146)

<div class="topic-metadata">

**Author:** [@sarahrou](https://forums.unrealengine.com/u/sarahrou)\
**Replies:** 1\
**Last updated:** [June 12, 2024, 12:56pm UTC](https://forums.unrealengine.com/t/fullscreen-resolution-bug/1900146 "2024-06-12T12:56:28Z")

</div>

Hello, I have encountered a bug inside my unreal engine 5.4 project which I could reproduce in Fortnite too. Reproduction steps: Launch the title and switch to Windowed mode in the settings Make sure the resolution i…

---

## [C++ classes/folders not showing up in new project UE5.3.2](https://forums.unrealengine.com/t/c-classes-folders-not-showing-up-in-new-project-ue5-3-2/1815277)

<div class="topic-metadata">

**Author:** [@nightmare\_unreal](https://forums.unrealengine.com/u/nightmare_unreal)\
**Replies:** 9\
**Last updated:** [June 16, 2024, 6:43am UTC](https://forums.unrealengine.com/t/c-classes-folders-not-showing-up-in-new-project-ue5-3-2/1815277 "2024-06-16T06:43:14Z")

</div>

As the title says, I have downloaded latest version of unreal 5.3.2 from epic game launcher. I have created a blank c++ game. images attached below yes show c++ is checked too image attached below visual studio …

---

## [How can i only set Animblueprint Class instead of all the class?](https://forums.unrealengine.com/t/how-can-i-only-set-animblueprint-class-instead-of-all-the-class/1904148)

<div class="topic-metadata">

**Author:** [@quanzhilr](https://forums.unrealengine.com/u/quanzhilr)\
**Replies:** 1\
**Last updated:** [June 15, 2024, 1:37pm UTC](https://forums.unrealengine.com/t/how-can-i-only-set-animblueprint-class-instead-of-all-the-class/1904148 "2024-06-15T13:37:48Z")

</div>

How can i only get Animblueprint Class instead of all the class? now i can only do this to make my project work, it includes all the class , not only the animBP. sorry im new to ue UPROPERTY(EditAnywhere, BlueprintRea…

---

## [How to run code each time a frame is rendered on the Render Thead ?](https://forums.unrealengine.com/t/how-to-run-code-each-time-a-frame-is-rendered-on-the-render-thead/1892435)

<div class="topic-metadata">

**Author:** [@limserhanecea](https://forums.unrealengine.com/u/limserhanecea)\
**Replies:** 2\
**Last updated:** [June 15, 2024, 10:48am UTC](https://forums.unrealengine.com/t/how-to-run-code-each-time-a-frame-is-rendered-on-the-render-thead/1892435 "2024-06-15T10:48:07Z")

</div>

I am working on a plugin (I cannot edit the engine sources) where I need to update a view-dependant texture each frame (from a dll, done in CUDA), and use it in a material. I use a UPrimitiveComponent to render a mesh, …

---

## [Custom editor mode - need help](https://forums.unrealengine.com/t/custom-editor-mode-need-help/1903871)

<div class="topic-metadata">

**Author:** [@mrgromoff](https://forums.unrealengine.com/u/mrgromoff)\
**Replies:** 0\
**Last updated:** [June 15, 2024, 7:00am UTC](https://forums.unrealengine.com/t/custom-editor-mode-need-help/1903871 "2024-06-15T07:00:28Z")

</div>

Hi, Community! We are trying to develop a Custom Editor Mode, which is similar to the Landscape Editor Mode. We need more of a 3D tile map, placing different cube mesh (Instanced Static Mesh) in the environment and snap…

---

## [Can someone show my how to use FInstancedStruct please](https://forums.unrealengine.com/t/can-someone-show-my-how-to-use-finstancedstruct-please/1898788)

<div class="topic-metadata">

**Author:** [@Auran131](https://forums.unrealengine.com/u/Auran131)\
**Replies:** 5\
**Last updated:** [June 15, 2024, 6:09am UTC](https://forums.unrealengine.com/t/can-someone-show-my-how-to-use-finstancedstruct-please/1898788 "2024-06-15T06:09:27Z")

</div>

i’ve been trying in c++ but it doesn’t seem to be recognized, although i think my Visual Studios is bugged because it also doesnt recognize GENERATED\_BODY anymore when it did earlier with no changes.

---

## [How can I track the hit impact location on a mesh?](https://forums.unrealengine.com/t/how-can-i-track-the-hit-impact-location-on-a-mesh/1902874)

<div class="topic-metadata">

**Author:** [@ViaCognita](https://forums.unrealengine.com/u/ViaCognita)\
**Replies:** 1\
**Last updated:** [June 14, 2024, 8:19pm UTC](https://forums.unrealengine.com/t/how-can-i-track-the-hit-impact-location-on-a-mesh/1902874 "2024-06-14T20:19:02Z")

</div>

Hi! How can I track the hit impact location on a mesh? Thanks.

---

## [Android Build error](https://forums.unrealengine.com/t/android-build-error/1903055)

<div class="topic-metadata">

**Author:** [@Pyrogamer02091](https://forums.unrealengine.com/u/Pyrogamer02091)\
**Replies:** 0\
**Last updated:** [June 14, 2024, 1:37pm UTC](https://forums.unrealengine.com/t/android-build-error/1903055 "2024-06-14T13:37:26Z")

</div>

Hey Guys, I am currently trying to build our VR simulation for standalone. The problem is that we are using a third-party plugin that uses an external library.so file. Everything builds fine for Windows but when I try…

---

## [Module UnrealEd load failure](https://forums.unrealengine.com/t/module-unrealed-load-failure/1326746)

<div class="topic-metadata">

**Author:** [@CN4nt](https://forums.unrealengine.com/u/CN4nt)\
**Replies:** 1\
**Last updated:** [June 14, 2024, 8:47am UTC](https://forums.unrealengine.com/t/module-unrealed-load-failure/1326746 "2024-06-14T08:47:52Z")

</div>

i have load Module UnrealEd into my plugin,but it will be make other Module load failure when compile. i have try:if i comment Unrealed,compile will be success.i have comment all code about Unrealed.

---

## [Can const Optimize Code?](https://forums.unrealengine.com/t/can-const-optimize-code/1900056)

<div class="topic-metadata">

**Author:** [@yoponchik](https://forums.unrealengine.com/u/yoponchik)\
**Replies:** 6\
**Last updated:** [June 14, 2024, 1:45am UTC](https://forums.unrealengine.com/t/can-const-optimize-code/1900056 "2024-06-14T01:45:41Z")

</div>

Hi I am a beginner programmer and I was looking around some forum discussions about the uses of const and someone said that it could possibly help with optimizations. I thought const correctness was mostly for readabilit…

---

## [LNK2019 error when compile static function declared in engine plugin](https://forums.unrealengine.com/t/lnk2019-error-when-compile-static-function-declared-in-engine-plugin/1901881)

<div class="topic-metadata">

**Author:** [@wwsstt1994](https://forums.unrealengine.com/u/wwsstt1994)\
**Replies:** 2\
**Last updated:** [June 14, 2024, 1:44am UTC](https://forums.unrealengine.com/t/lnk2019-error-when-compile-static-function-declared-in-engine-plugin/1901881 "2024-06-14T01:44:46Z")

</div>

Source code: if (UShowLoginUICallbackProxy\* LoginProxy = UShowLoginUICallbackProxy::ShowExternalLoginUI(this, UGameplayStatics::GetPlayerController(this, 0))) { LoginProxy-\>OnSuccess.AddDynamic(this, &AMainMenuGameMode…

---

## [Lyra with EOS Can't Open in Editor](https://forums.unrealengine.com/t/lyra-with-eos-cant-open-in-editor/1888528)

<div class="topic-metadata">

**Author:** [@ben.ya](https://forums.unrealengine.com/u/ben.ya)\
**Replies:** 2\
**Last updated:** [June 13, 2024, 9:08pm UTC](https://forums.unrealengine.com/t/lyra-with-eos-cant-open-in-editor/1888528 "2024-06-13T21:08:30Z")

</div>

I followed this guide: At the final step (“Packaging LyraGameEOS”), I receive the following message when I try to open my GameX.uproject (assume I created the LyraStarterGame with a custom name “GameX”) within UnrealEn…

---

## [Is making generic functions that pass other functions as arguments okay or is it bad practice?](https://forums.unrealengine.com/t/is-making-generic-functions-that-pass-other-functions-as-arguments-okay-or-is-it-bad-practice/1901261)

<div class="topic-metadata">

**Author:** [@yoponchik](https://forums.unrealengine.com/u/yoponchik)\
**Replies:** 1\
**Last updated:** [June 13, 2024, 7:33pm UTC](https://forums.unrealengine.com/t/is-making-generic-functions-that-pass-other-functions-as-arguments-okay-or-is-it-bad-practice/1901261 "2024-06-13T19:33:58Z")

</div>

I am tried to make a generic Async Spawn function, which ended up with me having to call generic functions using Templates. I’m not sure if this is okay to do and if this will negatively affect performance.

---

## [How to add properties to custom detail view?](https://forums.unrealengine.com/t/how-to-add-properties-to-custom-detail-view/1902057)

<div class="topic-metadata">

**Author:** [@TomHank](https://forums.unrealengine.com/u/TomHank)\
**Replies:** 0\
**Last updated:** [June 13, 2024, 5:50pm UTC](https://forums.unrealengine.com/t/how-to-add-properties-to-custom-detail-view/1902057 "2024-06-13T17:50:53Z")

</div>

.h: class UMySettingsObject : public UObject { // GENERATED\_BODY() public: // 构造函数 UMySettingsObject(); ///\*\*设置Actor对象 \*/ UPROPERTY(EditAnywhere, Category = Settings, meta = (DisplayName = "Actor对象"…

---

## [UniqueID different on client then server](https://forums.unrealengine.com/t/uniqueid-different-on-client-then-server/126156)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_d750d84a](https://forums.unrealengine.com/u/anonymous_user_d750d84a)\
**Replies:** 3\
**Last updated:** [June 13, 2024, 3:55pm UTC](https://forums.unrealengine.com/t/uniqueid-different-on-client-then-server/126156 "2024-06-13T15:55:20Z")

</div>

I’m running some tests for my understanding of when a player joins a map with a custom GM, and on postlogin(), logout the uniqueid from the passed in NewPlayer-\>PlayerState-\>GetUniqueID() which gives me a certain number …

---

## [Send 3D File to Unreal Engine Project from Web Interface via HTTP](https://forums.unrealengine.com/t/send-3d-file-to-unreal-engine-project-from-web-interface-via-http/1901896)

<div class="topic-metadata">

**Author:** [@VRealm2023](https://forums.unrealengine.com/u/VRealm2023)\
**Replies:** 0\
**Last updated:** [June 13, 2024, 3:31pm UTC](https://forums.unrealengine.com/t/send-3d-file-to-unreal-engine-project-from-web-interface-via-http/1901896 "2024-06-13T15:31:57Z")

</div>

Hi i am trying to build a Unreal Engine 5 Project in which i can send via HTTP requests a 3d file from my ReactJS Web Interface to my project. I have build a C++ code which uploads the 3d file to the project’s dir but it…

---

## [How to make edits against a marketplace source recompile](https://forums.unrealengine.com/t/how-to-make-edits-against-a-marketplace-source-recompile/76446)

<div class="topic-metadata">

**Author:** [@DrFrev](https://forums.unrealengine.com/u/DrFrev)\
**Replies:** 5\
**Last updated:** [June 13, 2024, 3:22pm UTC](https://forums.unrealengine.com/t/how-to-make-edits-against-a-marketplace-source-recompile/76446 "2024-06-13T15:22:46Z")

</div>

In real simple terms, I downloaded an asset from the marketplace. This asset has a UE\_LOG hardcoded which ends up flooding my logs and it also has some other hardcoded things I would like to change. If I comment it out i…

---

## [UE5 Breaks anytime I add a C++ class](https://forums.unrealengine.com/t/ue5-breaks-anytime-i-add-a-c-class/1900940)

<div class="topic-metadata">

**Author:** [@zachegwood](https://forums.unrealengine.com/u/zachegwood)\
**Replies:** 1\
**Last updated:** [June 13, 2024, 8:02am UTC](https://forums.unrealengine.com/t/ue5-breaks-anytime-i-add-a-c-class/1900940 "2024-06-13T08:02:56Z")

</div>

I’ve tried adding from Visual Studios, and I’ve tried adding from Unreal Engine. It always breaks. The only way to get it working again is to delete the Intermediate, Saved, and Binary folders, and rebuild the files, whi…

---

## [Where to get the WorldContextObject when World is null?](https://forums.unrealengine.com/t/where-to-get-the-worldcontextobject-when-world-is-null/128450)

<div class="topic-metadata">

**Author:** [@Syedhs](https://forums.unrealengine.com/u/Syedhs)\
**Replies:** 6\
**Last updated:** [July 15, 2022, 1:59pm UTC](https://forums.unrealengine.com/t/where-to-get-the-worldcontextobject-when-world-is-null/128450 "2022-07-15T13:59:38Z")

</div>

Hi, As the subject says… it is only problematic when we are doing our things in C++. Ie in C++, GetWorld() returns null when the client cannot connect to server. Or should I open a level first? Btw, in BP it is just st…

---

## [Character doesn't rotate in movement direction.](https://forums.unrealengine.com/t/character-doesnt-rotate-in-movement-direction/1900178)

<div class="topic-metadata">

**Author:** [@GodAnubis1994](https://forums.unrealengine.com/u/GodAnubis1994)\
**Replies:** 2\
**Last updated:** [June 12, 2024, 12:03pm UTC](https://forums.unrealengine.com/t/character-doesnt-rotate-in-movement-direction/1900178 "2024-06-12T12:03:09Z")

</div>

Hey everyone, I am programming a little project right now and have encountered a little problem. My character moves fine, but doesn’t rotate in the direction he moves to. I have tried everything I know of so far, I eve…

---

## [Travel to server after loadlevel cause crash](https://forums.unrealengine.com/t/travel-to-server-after-loadlevel-cause-crash/1899117)

<div class="topic-metadata">

**Author:** [@Vincent-CTA](https://forums.unrealengine.com/u/Vincent-CTA)\
**Replies:** 0\
**Last updated:** [June 11, 2024, 2:53pm UTC](https://forums.unrealengine.com/t/travel-to-server-after-loadlevel-cause-crash/1899117 "2024-06-11T14:53:17Z")

</div>

Hey, I’m trying to Load a map using LoadPackageAsync, then travel to a server which is already on this map, but client always crash and I can’t figure out why. It crash during travel void UPackageLoader::SimpleAsyncLoa…

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

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