# C++

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

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

**Page:** 52

---

## [Packaged Build, C++ Actor won't BeginPlay or Tick ](https://forums.unrealengine.com/t/packaged-build-c-actor-wont-beginplay-or-tick/2337404)

<div class="topic-metadata">

**Author:** [@AndrewBetts](https://forums.unrealengine.com/u/AndrewBetts)\
**Replies:** 3\
**Last updated:** [February 18, 2025, 9:57pm UTC](https://forums.unrealengine.com/t/packaged-build-c-actor-wont-beginplay-or-tick/2337404 "2025-02-18T21:57:59Z")

</div>

Hi, I’m having an issue where I create a C++ class derived from an Actor, I don’t change the code except to add a UE\_LOG statement to each function. I add this Actor to the default scene. In the PIE mode, I get prints t…

---

## [Visual Studio Constantly Freezing and Can't Find Visual Studio Integration Tool Plugin for 5.5](https://forums.unrealengine.com/t/visual-studio-constantly-freezing-and-cant-find-visual-studio-integration-tool-plugin-for-5-5/2329656)

<div class="topic-metadata">

**Author:** [@BlitzPackage](https://forums.unrealengine.com/u/BlitzPackage)\
**Replies:** 3\
**Last updated:** [February 18, 2025, 7:38pm UTC](https://forums.unrealengine.com/t/visual-studio-constantly-freezing-and-cant-find-visual-studio-integration-tool-plugin-for-5-5/2329656 "2025-02-18T19:38:02Z")

</div>

So I have the latest updates to both Unreal Engine 5.5 and Visual Studio 2022. I chose the set up in Visual Studio to have the Unreal Engine tools included. In Unreal Engine Visual Studio Integration plugin is selected…

---

## [Adding Custom AnimNotify in montage](https://forums.unrealengine.com/t/adding-custom-animnotify-in-montage/2312057)

<div class="topic-metadata">

**Author:** [@mrm\_dev](https://forums.unrealengine.com/u/mrm_dev)\
**Replies:** 1\
**Last updated:** [February 18, 2025, 5:10pm UTC](https://forums.unrealengine.com/t/adding-custom-animnotify-in-montage/2312057 "2025-02-18T17:10:38Z")

</div>

A follow up to this question I’m trying to detect the end of a montage section via binding with OnMontageEnded but it doesn’t work properly as mentioned in the previous question I tried adding a custom AnimNotify to th…

---

## [UE5.4 Prolific Foliage Rendering Crash (WorldPartition)](https://forums.unrealengine.com/t/ue5-4-prolific-foliage-rendering-crash-worldpartition/2069901)

<div class="topic-metadata">

**Author:** [@dlow369](https://forums.unrealengine.com/u/dlow369)\
**Replies:** 1\
**Last updated:** [February 18, 2025, 4:23pm UTC](https://forums.unrealengine.com/t/ue5-4-prolific-foliage-rendering-crash-worldpartition/2069901 "2025-02-18T16:23:05Z")

</div>

In a large WorldPartition world in UE5.4, we are seeing prolific crashes during asynchronous rendering of foliage: both dynamically generated landscape grass (UGrassInstancedStaticMeshComponent) and painted foliage (UFol…

---

## [std::string](https://forums.unrealengine.com/t/std-string/2338247)

<div class="topic-metadata">

**Author:** [@Valdorian](https://forums.unrealengine.com/u/Valdorian)\
**Replies:** 4\
**Last updated:** [February 18, 2025, 8:55am UTC](https://forums.unrealengine.com/t/std-string/2338247 "2025-02-18T08:55:31Z")

</div>

Hey, have a problem with C++ For some reason there is a problem wiht std::string as a returning value in h file. I can’t figure it out for weeks now, what am I doing wrong?

---

## [Where is the real documentation?](https://forums.unrealengine.com/t/where-is-the-real-documentation/226448)

<div class="topic-metadata">

**Author:** [@jcweaver](https://forums.unrealengine.com/u/jcweaver)\
**Replies:** 21\
**Last updated:** [February 18, 2025, 6:41am UTC](https://forums.unrealengine.com/t/where-is-the-real-documentation/226448 "2025-02-18T06:41:03Z")

</div>

Hi, I was getting started converting some of my blueprints to C++. Time and time again I find myself trying to look something up, but the docs are no more useful than my intellisense. Just as a small example, EInputEven…

---

## [I converted a blueprint project to a C++ and engine is not seeing C++.](https://forums.unrealengine.com/t/i-converted-a-blueprint-project-to-a-c-and-engine-is-not-seeing-c/2341265)

<div class="topic-metadata">

**Author:** [@vster](https://forums.unrealengine.com/u/vster)\
**Replies:** 1\
**Last updated:** [February 18, 2025, 5:46am UTC](https://forums.unrealengine.com/t/i-converted-a-blueprint-project-to-a-c-and-engine-is-not-seeing-c/2341265 "2025-02-18T05:46:52Z")

</div>

I already fixed this, I just wanted to create this because I haven’t found anything on how to fix this. What was happening was I converted a blueprint project and converted it to C++ and it was working at first but when …

---

## [How do I show a component's details in the actor details?](https://forums.unrealengine.com/t/how-do-i-show-a-components-details-in-the-actor-details/2338542)

<div class="topic-metadata">

**Author:** [@Boomer64](https://forums.unrealengine.com/u/Boomer64)\
**Replies:** 4\
**Last updated:** [February 18, 2025, 5:02am UTC](https://forums.unrealengine.com/t/how-do-i-show-a-components-details-in-the-actor-details/2338542 "2025-02-18T05:02:45Z")

</div>

I’m encountering a challenging problem. I am trying to create a designer friendly camera system. Currently, the goal is to create a system where a developer can just add a component to a camera that allows them to creat…

---

## [Visual Studio Solution Files Are Not Created After Unreal Project Cloning](https://forums.unrealengine.com/t/visual-studio-solution-files-are-not-created-after-unreal-project-cloning/2340870)

<div class="topic-metadata">

**Author:** [@ksglgx](https://forums.unrealengine.com/u/ksglgx)\
**Replies:** 0\
**Last updated:** [February 18, 2025, 2:19am UTC](https://forums.unrealengine.com/t/visual-studio-solution-files-are-not-created-after-unreal-project-cloning/2340870 "2025-02-18T02:19:13Z")

</div>

After Unreal Project Cloning, even if I create a Visual Studio Solution file, it comes out as in the picture above, and I can’t create a sln file. Why is that?

---

## [Lyra modules not wanting to open up project](https://forums.unrealengine.com/t/lyra-modules-not-wanting-to-open-up-project/2339864)

<div class="topic-metadata">

**Author:** [@Whywontyou](https://forums.unrealengine.com/u/Whywontyou)\
**Replies:** 0\
**Last updated:** [February 17, 2025, 7:27pm UTC](https://forums.unrealengine.com/t/lyra-modules-not-wanting-to-open-up-project/2339864 "2025-02-17T19:27:14Z")

</div>

Hi so I am on the latest build for Unreal 5.4.4 and I did a full rebuild in Visual Studio. I did not get any errors to pop up in Visual Studio. I even clicked on the debugger tool and no errors were showing up. I am stil…

---

## [Why cleaning project only in source built engine cleans Ue4 as well?](https://forums.unrealengine.com/t/why-cleaning-project-only-in-source-built-engine-cleans-ue4-as-well/42210)

<div class="topic-metadata">

**Author:** [@Commander\_Shepard](https://forums.unrealengine.com/u/Commander_Shepard)\
**Replies:** 9\
**Last updated:** [February 17, 2025, 4:27pm UTC](https://forums.unrealengine.com/t/why-cleaning-project-only-in-source-built-engine-cleans-ue4-as-well/42210 "2025-02-17T16:27:01Z")

</div>

I am using a source built UE4 because I wanted to compile a stand alone server. In visual studio I went to build-\> project only -\> clean \<Myproject name\> It started cleaning and when It was done I hit build-\>Build solut…

---

## [How do I simplify command line args to launch ndisplay app ? ](https://forums.unrealengine.com/t/how-do-i-simplify-command-line-args-to-launch-ndisplay-app/2339280)

<div class="topic-metadata">

**Author:** [@HILS-CSGROUP](https://forums.unrealengine.com/u/HILS-CSGROUP)\
**Replies:** 0\
**Last updated:** [February 17, 2025, 2:20pm UTC](https://forums.unrealengine.com/t/how-do-i-simplify-command-line-args-to-launch-ndisplay-app/2339280 "2025-02-17T14:20:30Z")

</div>

Hello, I using ndisplay in Unreal Engine 5.4 and I need to modify my ndisplay configuration without rebuild and re-package my project. I use for this a .ndisplay configuration file (on json format) that I give as the co…

---

## [GitHub 上的新 UE5 C++ 教程 – 现已更新完毕第一章1.1~1.6！欢迎提供反馈和建议](https://forums.unrealengine.com/t/github-ue5-c-1-1-1-6/2339175)

<div class="topic-metadata">

**Author:** [@5607608fd1104e69ac1f66cb28b3f58d](https://forums.unrealengine.com/u/5607608fd1104e69ac1f66cb28b3f58d)\
**Replies:** 0\
**Last updated:** [February 17, 2025, 1:33pm UTC](https://forums.unrealengine.com/t/github-ue5-c-1-1-1-6/2339175 "2025-02-17T13:33:03Z")

</div>

欢迎支持，我将持续为您更新最新的UEC++教程。 Jiejie-UE/UE5CplusplusTutorial: UE5C++教程,UE5C++Tutorial, Unreal Engine 5 C++Tutorial, Unreal Engine 5 C++ 教程。点颗星星防丢失哦。

---

## [AutomationTesting: Logging Errors in Succeeding Tests](https://forums.unrealengine.com/t/automationtesting-logging-errors-in-succeeding-tests/51773)

<div class="topic-metadata">

**Author:** [@alfalfasprossen](https://forums.unrealengine.com/u/alfalfasprossen)\
**Replies:** 1\
**Last updated:** [February 17, 2025, 10:19am UTC](https://forums.unrealengine.com/t/automationtesting-logging-errors-in-succeeding-tests/51773 "2025-02-17T10:19:58Z")

</div>

Code logging Errors and Warnings in succeeding tests. I want a test to succeed while freely logging Errors and Warnings from the tested code. A specific use-case: I am testing a process that will read a file and do so…

---

## [\[TUTORIAL\] Using Assimp with Unreal Engine](https://forums.unrealengine.com/t/tutorial-using-assimp-with-unreal-engine/100155)

<div class="topic-metadata">

**Author:** [@Moddingear](https://forums.unrealengine.com/u/Moddingear)\
**Replies:** 24\
**Last updated:** [February 17, 2025, 8:13am UTC](https://forums.unrealengine.com/t/tutorial-using-assimp-with-unreal-engine/100155 "2025-02-17T08:13:13Z")

</div>

What is Assimp ? Assimp is an open-source library that allows you to import and export 3D models at runtime, using C++, though you can write a Blueprint interface for it quite easily. It supports a lot of formats. Thi…

---

## [UE 5.5 or 5.4 with VS 2022 integration problem ](https://forums.unrealengine.com/t/ue-5-5-or-5-4-with-vs-2022-integration-problem/2338161)

<div class="topic-metadata">

**Author:** [@Duolvinu](https://forums.unrealengine.com/u/Duolvinu)\
**Replies:** 1\
**Last updated:** [February 17, 2025, 6:25am UTC](https://forums.unrealengine.com/t/ue-5-5-or-5-4-with-vs-2022-integration-problem/2338161 "2025-02-17T06:25:49Z")

</div>

I’m currently stuck with the environment settings. Whenever I use the latest VS 2022 community version, it always stucks at the integration status-checking stage: This thing does not work with specific integration fo…

---

## [Hot Reload problem - LINK : fatal error LNK1104: cannot open file Game-DebugGame.dll](https://forums.unrealengine.com/t/hot-reload-problem-link-fatal-error-lnk1104-cannot-open-file-game-debuggame-dll/441355)

<div class="topic-metadata">

**Author:** [@Bionic\_Ape](https://forums.unrealengine.com/u/Bionic_Ape)\
**Replies:** 9\
**Last updated:** [February 17, 2025, 6:15am UTC](https://forums.unrealengine.com/t/hot-reload-problem-link-fatal-error-lnk1104-cannot-open-file-game-debuggame-dll/441355 "2025-02-17T06:15:52Z")

</div>

Hi, I can’t hot reload my Project. The error that I get is fatal error LNK1104: cannot open file 'C:\\ProjectPath\\Binaries\\Win64\\UE4Editor-MyGame-Win64-DebugGame.dll'. It’s only happening when I use the solution configu…

---

## [Hot-reloadable files are expected to contain a hyphen (UE5.4 fom source code)](https://forums.unrealengine.com/t/hot-reloadable-files-are-expected-to-contain-a-hyphen-ue5-4-fom-source-code/2333376)

<div class="topic-metadata">

**Author:** [@Ivan3z](https://forums.unrealengine.com/u/Ivan3z)\
**Replies:** 30\
**Last updated:** [February 17, 2025, 6:10am UTC](https://forums.unrealengine.com/t/hot-reloadable-files-are-expected-to-contain-a-hyphen-ue5-4-fom-source-code/2333376 "2025-02-17T06:10:17Z")

</div>

I have this problem when I try to compile (UE5.4 fom source code) There seems to be some problem renaming files. Hot-reloadable files are expected to contain a hyphen It seems that it only need a hyphen in the mid…

---

## [VS 2022 UE integration stuck ](https://forums.unrealengine.com/t/vs-2022-ue-integration-stuck/2338160)

<div class="topic-metadata">

**Author:** [@Duolvinu](https://forums.unrealengine.com/u/Duolvinu)\
**Replies:** 0\
**Last updated:** [February 17, 2025, 3:15am UTC](https://forums.unrealengine.com/t/vs-2022-ue-integration-stuck/2338160 "2025-02-17T03:15:09Z")

</div>

I’m currently stuck with the environment settings. Whenever I use the latest VS 2022 community version, it always stucks at the integration status-checking stage: This thing does not work with specific integration fo…

---

## [Construction Script only uses default values](https://forums.unrealengine.com/t/construction-script-only-uses-default-values/233526)

<div class="topic-metadata">

**Author:** [@Babush61](https://forums.unrealengine.com/u/Babush61)\
**Replies:** 1\
**Last updated:** [February 16, 2025, 3:28pm UTC](https://forums.unrealengine.com/t/construction-script-only-uses-default-values/233526 "2025-02-16T15:28:01Z")

</div>

Hello. I have created a component in C ++. It works great. But if I call the functions in the Construction Script (In Editor), the current UPROPERTY values are ignored (from the Detail Panel) and the UPROPERTY values ar…

---

## [I Need Help,In ue5-main branch 11\>VVMHeap.h(13): Error C1083 : Unable to open include file: “verse\_heap\_config\_ue.h”: No such file or directory](https://forums.unrealengine.com/t/i-need-help-in-ue5-main-branch-11-vvmheap-h-13-error-c1083-unable-to-open-include-file-verse-heap-config-ue-h-no-such-file-or-directory/1947873)

<div class="topic-metadata">

**Author:** [@Online\_Learner\_WmHiL](https://forums.unrealengine.com/u/Online_Learner_WmHiL)\
**Replies:** 1\
**Last updated:** [February 15, 2025, 7:24pm UTC](https://forums.unrealengine.com/t/i-need-help-in-ue5-main-branch-11-vvmheap-h-13-error-c1083-unable-to-open-include-file-verse-heap-config-ue-h-no-such-file-or-directory/1947873 "2025-02-15T19:24:15Z")

</div>

11\>VVMHeap.h(13): Error C1083 : Unable to open include file: “verse\_heap\_config\_ue.h”: no such file or directory \[16/40\] Compiling \[x64\] Module.CoreUObject.10.cpp 11\>VVMHeap.h(13): Error C1083 : Cannot open include fil…

---

## [Visual Studio 17.12 Project works very slow](https://forums.unrealengine.com/t/visual-studio-17-12-project-works-very-slow/2130662)

<div class="topic-metadata">

**Author:** [@BineeMan](https://forums.unrealengine.com/u/BineeMan)\
**Replies:** 3\
**Last updated:** [February 15, 2025, 7:19pm UTC](https://forums.unrealengine.com/t/visual-studio-17-12-project-works-very-slow/2130662 "2025-02-15T19:19:01Z")

</div>

After installating the newer Visual Studio 2022 17.12 community my unreal VS project works very slow, It barely responses on clicks, intellisense is not working at all. Diagnostic tool says that everything is setup right…

---

## [How to Empty a Map in C++ UE5?](https://forums.unrealengine.com/t/how-to-empty-a-map-in-c-ue5/2334603)

<div class="topic-metadata">

**Author:** [@Tarkin1230](https://forums.unrealengine.com/u/Tarkin1230)\
**Replies:** 4\
**Last updated:** [February 15, 2025, 6:13pm UTC](https://forums.unrealengine.com/t/how-to-empty-a-map-in-c-ue5/2334603 "2025-02-15T18:13:14Z")

</div>

Hi, I’m trying to clean my made map but UE doesn’t allow me to? How do I clean other types of maps, arrays than int32? ChatGPT and google doesn’t tell me.

---

## [Is there a way to capture footage directly from UE4 in a standalone build?](https://forums.unrealengine.com/t/is-there-a-way-to-capture-footage-directly-from-ue4-in-a-standalone-build/457840)

<div class="topic-metadata">

**Author:** [@DaveHall17](https://forums.unrealengine.com/u/DaveHall17)\
**Replies:** 2\
**Last updated:** [February 15, 2025, 5:28pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-capture-footage-directly-from-ue4-in-a-standalone-build/457840 "2025-02-15T17:28:06Z")

</div>

I want to be able to capture footage directly from UE4. This is achievable in editor using the StartMovieCapture command. However, this command does not work in a standalone build. I’ve searched for other methods to cap…

---

## [Garbage collection in background thread](https://forums.unrealengine.com/t/garbage-collection-in-background-thread/2334231)

<div class="topic-metadata">

**Author:** [@Forggio](https://forums.unrealengine.com/u/Forggio)\
**Replies:** 1\
**Last updated:** [February 15, 2025, 1:44pm UTC](https://forums.unrealengine.com/t/garbage-collection-in-background-thread/2334231 "2025-02-15T13:44:38Z")

</div>

I am curious if this is correct practice: I create UObject\* in background thread and then add it to root at the begin of my function: UCell\* StartCell = NewObject\<UCell\>(); StartCell-\>AddToRoot(); StartCell-\>Initializ…

---

## [Control Rig Nodes in C++](https://forums.unrealengine.com/t/control-rig-nodes-in-c/2332424)

<div class="topic-metadata">

**Author:** [@Braga1913](https://forums.unrealengine.com/u/Braga1913)\
**Replies:** 0\
**Last updated:** [February 14, 2025, 12:29pm UTC](https://forums.unrealengine.com/t/control-rig-nodes-in-c/2332424 "2025-02-14T12:29:12Z")

</div>

any idea on how to implement control rigs in cpp?? i have been scratching my head for weeks now… going thru everything on the forums and digging a bit into the code of unreal to find some answers but i cant get it to wor…

---

## [Enhanced Input For Unreal 5.4 ](https://forums.unrealengine.com/t/enhanced-input-for-unreal-5-4/2331360)

<div class="topic-metadata">

**Author:** [@Jw9357](https://forums.unrealengine.com/u/Jw9357)\
**Replies:** 5\
**Last updated:** [February 15, 2025, 5:32am UTC](https://forums.unrealengine.com/t/enhanced-input-for-unreal-5-4/2331360 "2025-02-15T05:32:07Z")

</div>

Dear Sir I am following the first person shooter tutorial on this website in order to learn C++ with Unreal and I notice that the whole tutorial is based on Unreal Engine 4 and the old input mapping system which is now …

---

## [Garbage collection on UObject](https://forums.unrealengine.com/t/garbage-collection-on-uobject/2331282)

<div class="topic-metadata">

**Author:** [@Forggio](https://forums.unrealengine.com/u/Forggio)\
**Replies:** 5\
**Last updated:** [February 15, 2025, 1:22am UTC](https://forums.unrealengine.com/t/garbage-collection-on-uobject/2331282 "2025-02-15T01:22:30Z")

</div>

i have UObject inherited class UCLASS() class PATHFINDING3D\_API UCell : public UObject { GENERATED\_BODY() public: FIntVector Location; UCell\* Previous; float FCost = 0.f; float HCost = 0.f; void Initialize(FIntV…

---

## [TSet DefaultKeyFuncs](https://forums.unrealengine.com/t/tset-defaultkeyfuncs/249318)

<div class="topic-metadata">

**Author:** [@Zack26](https://forums.unrealengine.com/u/Zack26)\
**Replies:** 3\
**Last updated:** [February 14, 2025, 9:59pm UTC](https://forums.unrealengine.com/t/tset-defaultkeyfuncs/249318 "2025-02-14T21:59:04Z")

</div>

Hello, I have a class that inherits from UObject. I’d like to store it in a set and that works fine. The problem I have, is that I want to lookup based on a member in the object (which is a gameplay tag). I have been c…

---

## [K2Node\_SwitchObject](https://forums.unrealengine.com/t/k2node-switchobject/2332586)

<div class="topic-metadata">

**Author:** [@\_lash](https://forums.unrealengine.com/u/_lash)\
**Replies:** 4\
**Last updated:** [February 14, 2025, 9:39pm UTC](https://forums.unrealengine.com/t/k2node-switchobject/2332586 "2025-02-14T21:39:25Z")

</div>

Hi, I’ve created a K2Node that switches selected classes to the class of the input object. It works fine in the editor, but in a packaged version it’s a fatal error: Fatal error! Unhandled Exception: EXCEPTION\_ACCESS\_V…

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

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