# C++

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

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

**Page:** 93

---

## [Issue with NewObject](https://forums.unrealengine.com/t/issue-with-newobject/1951718)

<div class="topic-metadata">

**Author:** [@tangorn32](https://forums.unrealengine.com/u/tangorn32)\
**Replies:** 0\
**Last updated:** [July 26, 2024, 11:08pm UTC](https://forums.unrealengine.com/t/issue-with-newobject/1951718 "2024-07-26T23:08:33Z")

</div>

Hello, I am having trouble understanding what I am missing here. If I call auto asset = grooms.Add(groom.Key, groom.Value.Get()); where groom.Value is a SoftObjectPtr\<GroomAsset\>, everything goes fine and my character…

---

## [To what extent could one realistically modify the Unreal Engine source code?](https://forums.unrealengine.com/t/to-what-extent-could-one-realistically-modify-the-unreal-engine-source-code/1948040)

<div class="topic-metadata">

**Author:** [@RCE\_WillPimentel](https://forums.unrealengine.com/u/RCE_WillPimentel)\
**Replies:** 2\
**Last updated:** [July 26, 2024, 11:06pm UTC](https://forums.unrealengine.com/t/to-what-extent-could-one-realistically-modify-the-unreal-engine-source-code/1948040 "2024-07-26T23:06:47Z")

</div>

Hello, I have an extremely strange question for the forumers out there today. TL;DR if you can’t or don’t want to read all of this: I want to ship my game with a 120hz mode. I’m interested in rewriting possibly very lar…

---

## [SoundWave Stopping Early](https://forums.unrealengine.com/t/soundwave-stopping-early/1951638)

<div class="topic-metadata">

**Author:** [@RamsayFrodo](https://forums.unrealengine.com/u/RamsayFrodo)\
**Replies:** 0\
**Last updated:** [July 26, 2024, 9:59pm UTC](https://forums.unrealengine.com/t/soundwave-stopping-early/1951638 "2024-07-26T21:59:14Z")

</div>

We’re currently running into an issue on an Asus ROG Zephyrus G14 laptop (Ryzen 9 & Nvidia 4070) where a SoundWave is being stopped about 20% of the way through playback. This issue only seems to happen on this specific …

---

## [\[UE 5.4.2\] \[Enhanced Input System\] Touch Pressed trigger fires only once](https://forums.unrealengine.com/t/ue-5-4-2-enhanced-input-system-touch-pressed-trigger-fires-only-once/1949771)

<div class="topic-metadata">

**Author:** [@EzioMercer](https://forums.unrealengine.com/u/EzioMercer)\
**Replies:** 1\
**Last updated:** [July 26, 2024, 5:14pm UTC](https://forums.unrealengine.com/t/ue-5-4-2-enhanced-input-system-touch-pressed-trigger-fires-only-once/1949771 "2024-07-26T17:14:27Z")

</div>

As you can see on image I have three Control Bindings Space Bar - works perfectly on desktop. I can press several times Space Bar and my binned function fires each time Touch 1 - fires only once on mobile phone and …

---

## [\[plugin\] Freetrack](https://forums.unrealengine.com/t/plugin-freetrack/45138)

<div class="topic-metadata">

**Author:** [@moookiexl](https://forums.unrealengine.com/u/moookiexl)\
**Replies:** 63\
**Last updated:** [July 26, 2024, 1:06pm UTC](https://forums.unrealengine.com/t/plugin-freetrack/45138 "2024-07-26T13:06:17Z")

</div>

Since nobody seems to have made freetrack plugin yet, here’s my attempt. Usage is simple, just link camera translation and rotation to “get freetrack data”, like this: And… that’s it. Start freetrack client, start y…

---

## [How to get a simple collision shape on an InstancedStaticMeshComponent?](https://forums.unrealengine.com/t/how-to-get-a-simple-collision-shape-on-an-instancedstaticmeshcomponent/1950866)

<div class="topic-metadata">

**Author:** [@Elvisa0023](https://forums.unrealengine.com/u/Elvisa0023)\
**Replies:** 0\
**Last updated:** [July 26, 2024, 9:47am UTC](https://forums.unrealengine.com/t/how-to-get-a-simple-collision-shape-on-an-instancedstaticmeshcomponent/1950866 "2024-07-26T09:47:29Z")

</div>

I have added simple collision primitives, such as capsules and spheres, to some of my tree models. I placed these models into the scene and obtained the InstancedStaticMeshComponent instances through some detection metho…

---

## [MASS中自定义UMassProcessor没有工作](https://forums.unrealengine.com/t/mass-umassprocessor/1916224)

<div class="topic-metadata">

**Author:** [@Shirro](https://forums.unrealengine.com/u/Shirro)\
**Replies:** 1\
**Last updated:** [July 25, 2024, 6:12pm UTC](https://forums.unrealengine.com/t/mass-umassprocessor/1916224 "2024-07-25T18:12:52Z")

</div>

预期创建2W个实体，用MASS简单实现个随机移动，但是UMassProcessor没有被自动注册运行。构造函数，ConfigureQueries，Execute皆没有log打印。 使用版本5.1。

---

## [What do UFUNCTIONs and UPROPERTYs actually do?](https://forums.unrealengine.com/t/what-do-ufunctions-and-upropertys-actually-do/1247157)

<div class="topic-metadata">

**Author:** [@KermanFooFoo](https://forums.unrealengine.com/u/KermanFooFoo)\
**Replies:** 2\
**Last updated:** [July 26, 2024, 4:46am UTC](https://forums.unrealengine.com/t/what-do-ufunctions-and-upropertys-actually-do/1247157 "2024-07-26T04:46:54Z")

</div>

They’re not macros - they don’t get expanded by the compiler and you don’t really use them like macros. They’re not function calls - they are scanned by the header tool which does… something with them. But what? The eng…

---

## [How to implement movement? Tick? Timer? Other?](https://forums.unrealengine.com/t/how-to-implement-movement-tick-timer-other/1949916)

<div class="topic-metadata">

**Author:** [@Korred1](https://forums.unrealengine.com/u/Korred1)\
**Replies:** 1\
**Last updated:** [July 26, 2024, 4:09am UTC](https://forums.unrealengine.com/t/how-to-implement-movement-tick-timer-other/1949916 "2024-07-26T04:09:16Z")

</div>

Hi What I implemented is custom grid map, also I have implemented Theta\* algo for pathfinding which returns vector of points which unit should follow. What would be best way to implement movement of this character? Add…

---

## [unit conversion queston, and what does GetActorRotation output, creating a PID in c++,](https://forums.unrealengine.com/t/unit-conversion-queston-and-what-does-getactorrotation-output-creating-a-pid-in-c/1950446)

<div class="topic-metadata">

**Author:** [@ninonick0607](https://forums.unrealengine.com/u/ninonick0607)\
**Replies:** 0\
**Last updated:** [July 26, 2024, 1:23am UTC](https://forums.unrealengine.com/t/unit-conversion-queston-and-what-does-getactorrotation-output-creating-a-pid-in-c/1950446 "2024-07-26T01:23:40Z")

</div>

Hello, im basically just wondering on a PID controller for my quadcopter model in unreal. Ive got a pretty good understanding on how the controller works but no matter my efforts it seems to fail. Altitude control is sim…

---

## [Assertion Failed on NavSystem during movement](https://forums.unrealengine.com/t/assertion-failed-on-navsystem-during-movement/1949886)

<div class="topic-metadata">

**Author:** [@KHALIL09](https://forums.unrealengine.com/u/KHALIL09)\
**Replies:** 0\
**Last updated:** [July 25, 2024, 3:00pm UTC](https://forums.unrealengine.com/t/assertion-failed-on-navsystem-during-movement/1949886 "2024-07-25T15:00:21Z")

</div>

Hello Friends. I’m developing a Latent Node for my game that simulates the AI Move To, but for a Root Motion type of movement. Due to this, I created a Class RootMotionAi and a RootMotionAiNode to connect this inside my …

---

## [saved asset not showing up in content browser after UPackage::SavePackage](https://forums.unrealengine.com/t/saved-asset-not-showing-up-in-content-browser-after-upackage-savepackage/1947048)

<div class="topic-metadata">

**Author:** [@OrbitalZones](https://forums.unrealengine.com/u/OrbitalZones)\
**Replies:** 1\
**Last updated:** [July 25, 2024, 3:19pm UTC](https://forums.unrealengine.com/t/saved-asset-not-showing-up-in-content-browser-after-upackage-savepackage/1947048 "2024-07-25T15:19:50Z")

</div>

I am trying to save an existing static mesh object to disk. The saving itself is working, however the created asset itself is not showing up in the content browser, even after a refresh (manual or by code). This is the …

---

## [HoloLens Error CS0234 while trying to compile UE4 from source](https://forums.unrealengine.com/t/hololens-error-cs0234-while-trying-to-compile-ue4-from-source/1210445)

<div class="topic-metadata">

**Author:** [@Inerowd](https://forums.unrealengine.com/u/Inerowd)\
**Replies:** 1\
**Last updated:** [July 25, 2024, 2:11pm UTC](https://forums.unrealengine.com/t/hololens-error-cs0234-while-trying-to-compile-ue4-from-source/1210445 "2024-07-25T14:11:37Z")

</div>

I keep getting this error while I’m trying to compile UE 4.27.2 from source. I did everything as this guide said, but I always get this error no matter what I do. The only thing I’m doing differently is that I’m running…

---

## [Compiler error when using RadialSlider Widgets in UUserWidget](https://forums.unrealengine.com/t/compiler-error-when-using-radialslider-widgets-in-uuserwidget/794925)

<div class="topic-metadata">

**Author:** [@yungcheeto99](https://forums.unrealengine.com/u/yungcheeto99)\
**Replies:** 3\
**Last updated:** [July 25, 2024, 2:10pm UTC](https://forums.unrealengine.com/t/compiler-error-when-using-radialslider-widgets-in-uuserwidget/794925 "2024-07-25T14:10:12Z")

</div>

Hi, I have a problem with implementing RadialSlider pointers in my UUserWidget header file. I have tried using includes from unreal engine documentation (cannot open those source files), and I have tried adding the Virtu…

---

## [Procedural Mesh Component Hangs When New Section is Drawn](https://forums.unrealengine.com/t/procedural-mesh-component-hangs-when-new-section-is-drawn/1887239)

<div class="topic-metadata">

**Author:** [@SeniorCPPbutNewToUE](https://forums.unrealengine.com/u/SeniorCPPbutNewToUE)\
**Replies:** 1\
**Last updated:** [July 25, 2024, 11:21am UTC](https://forums.unrealengine.com/t/procedural-mesh-component-hangs-when-new-section-is-drawn/1887239 "2024-07-25T11:21:26Z")

</div>

I’m trying to generate a terrain procedurally. On tick, I check to see which tiles fall within a specific radius from where the player is and if they are not drawn, draw them as a new section via the procedural mesh comp…

---

## [How can I clear memory spaces such as "Texture Memory Used" and "StaticMesh Total Memory"?](https://forums.unrealengine.com/t/how-can-i-clear-memory-spaces-such-as-texture-memory-used-and-staticmesh-total-memory/1949321)

<div class="topic-metadata">

**Author:** [@Elvisa0023](https://forums.unrealengine.com/u/Elvisa0023)\
**Replies:** 0\
**Last updated:** [July 25, 2024, 4:41am UTC](https://forums.unrealengine.com/t/how-can-i-clear-memory-spaces-such-as-texture-memory-used-and-staticmesh-total-memory/1949321 "2024-07-25T04:41:58Z")

</div>

I add my Level into the World using the UWorld::AddStreamingLevel method and load it into the World with UGameplayStatics::LoadStreamLevel . However, after unloading the Level using UGameplayStatics::UnloadStreamLevel an…

---

## [Best Way to Use NVidia NSight](https://forums.unrealengine.com/t/best-way-to-use-nvidia-nsight/1948707)

<div class="topic-metadata">

**Author:** [@ShrapnelBruce](https://forums.unrealengine.com/u/ShrapnelBruce)\
**Replies:** 0\
**Last updated:** [July 24, 2024, 4:18pm UTC](https://forums.unrealengine.com/t/best-way-to-use-nvidia-nsight/1948707 "2024-07-24T16:18:35Z")

</div>

Problem: I am using NVidia NSight to profile different setups in our game. When I run an optimized build, I lose visibility into the call stack that can show specifically where compute is occurring. If I profile an uno…

---

## [How to decrease GE stack by a certain](https://forums.unrealengine.com/t/how-to-decrease-ge-stack-by-a-certain/1948373)

<div class="topic-metadata">

**Author:** [@quanzhilr](https://forums.unrealengine.com/u/quanzhilr)\
**Replies:** 0\
**Last updated:** [July 24, 2024, 11:23am UTC](https://forums.unrealengine.com/t/how-to-decrease-ge-stack-by-a-certain/1948373 "2024-07-24T11:23:09Z")

</div>

Hi, guys. I’m implementing a GE that can be stack, and the duration of each is 10s. How to make the stack decrease each time that single stack’s duration is over? Seems I could only clear the entire stack, or remove sing…

---

## [I want to bind the OnVirtualKeyboardShown delegate and use it. How do I bind?](https://forums.unrealengine.com/t/i-want-to-bind-the-onvirtualkeyboardshown-delegate-and-use-it-how-do-i-bind/237324)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_cf53f986](https://forums.unrealengine.com/u/anonymous_user_cf53f986)\
**Replies:** 2\
**Last updated:** [July 24, 2024, 11:20am UTC](https://forums.unrealengine.com/t/i-want-to-bind-the-onvirtualkeyboardshown-delegate-and-use-it-how-do-i-bind/237324 "2024-07-24T11:20:03Z")

</div>

With On Virtual Keyboard Hidden I’m using the On Virtual Keyboard Shown delegate to handle the event when the textbox is focused. I found the relevant delegate but I’m not sure how to bind Do you know anyone?

---

## [Missing UnrealEditor Executables After Installation on Linux](https://forums.unrealengine.com/t/missing-unrealeditor-executables-after-installation-on-linux/1944846)

<div class="topic-metadata">

**Author:** [@Ebrahim.MR](https://forums.unrealengine.com/u/Ebrahim.MR)\
**Replies:** 2\
**Last updated:** [July 22, 2024, 12:50pm UTC](https://forums.unrealengine.com/t/missing-unrealeditor-executables-after-installation-on-linux/1944846 "2024-07-22T12:50:51Z")

</div>

I have installed Ubuntu and downloaded the Unreal Engine from Github. After running Setup.sh the editor executable is missing from my PC. I found another thread (MIssing UnrealEditor Executables After Installation on L…

---

## [4.26 Custom Anim Graph Nodes "Editor Only" warning](https://forums.unrealengine.com/t/4-26-custom-anim-graph-nodes-editor-only-warning/155233)

<div class="topic-metadata">

**Author:** [@illYay](https://forums.unrealengine.com/u/illYay)\
**Replies:** 8\
**Last updated:** [July 24, 2024, 7:59am UTC](https://forums.unrealengine.com/t/4-26-custom-anim-graph-nodes-editor-only-warning/155233 "2024-07-24T07:59:39Z")

</div>

Seems like something changed in 4.26. I used to have a C++ module with custom anim nodes. I had a separate Editor module with the AnimGraph nodes. In 4.26 I started seeing this warning. I tried forcing my Editor modu…

---

## [Aborting import process; Why?](https://forums.unrealengine.com/t/aborting-import-process-why/778818)

<div class="topic-metadata">

**Author:** [@TijerinArtStudio](https://forums.unrealengine.com/u/TijerinArtStudio)\
**Replies:** 3\
**Last updated:** [July 24, 2024, 7:05am UTC](https://forums.unrealengine.com/t/aborting-import-process-why/778818 "2024-07-24T07:05:25Z")

</div>

Hello, first of all forgive me if I don’t use the right technical words as I’m quite new to this. Until a few days ago I have been importing c++ projects from “Articy Draft 3” using its plug-in (although the fact that …

---

## [How to make FTexture2DRHI with D3D12\_TEXTURE\_LAYOUT\_ROW\_MAJOR](https://forums.unrealengine.com/t/how-to-make-ftexture2drhi-with-d3d12-texture-layout-row-major/1943058)

<div class="topic-metadata">

**Author:** [@plastilin\_2020](https://forums.unrealengine.com/u/plastilin_2020)\
**Replies:** 1\
**Last updated:** [July 24, 2024, 6:35am UTC](https://forums.unrealengine.com/t/how-to-make-ftexture2drhi-with-d3d12-texture-layout-row-major/1943058 "2024-07-24T06:35:49Z")

</div>

I want to create opencv Mat from FTexture2DRHIRef BackBuffer when it ready to present. In project settings i set frame buffer format to 8bit RGBA. I get ID3D12Resource from BackBuffer and it descripton. Descripton ha…

---

## [Best way to implement a Player account](https://forums.unrealengine.com/t/best-way-to-implement-a-player-account/1947403)

<div class="topic-metadata">

**Author:** [@GeorgeTheDev\_1](https://forums.unrealengine.com/u/GeorgeTheDev_1)\
**Replies:** 0\
**Last updated:** [July 23, 2024, 3:56pm UTC](https://forums.unrealengine.com/t/best-way-to-implement-a-player-account/1947403 "2024-07-23T15:56:11Z")

</div>

I want to implement a player account feature that will talk with my API over HTTPS to get the account info of the user. Is there any best practices to do that or any design pattern to achieve this in c++ and BP ?? Note…

---

## [Can I override or extend the destructor of a UObject subclass?](https://forums.unrealengine.com/t/can-i-override-or-extend-the-destructor-of-a-uobject-subclass/1946499)

<div class="topic-metadata">

**Author:** [@DIS-CWI](https://forums.unrealengine.com/u/DIS-CWI)\
**Replies:** 2\
**Last updated:** [July 23, 2024, 12:35pm UTC](https://forums.unrealengine.com/t/can-i-override-or-extend-the-destructor-of-a-uobject-subclass/1946499 "2024-07-23T12:35:40Z")

</div>

I have created a UObject subclass that wraps an object from an external library. I have a “normal” C++ pointer to the external object, and I can initialize that object whenever I first need it (by calling the appropriate…

---

## [VSCode extension: Unreal Clangd v2.5.1](https://forums.unrealengine.com/t/vscode-extension-unreal-clangd-v2-5-1/1947123)

<div class="topic-metadata">

**Author:** [@boocs\_ved](https://forums.unrealengine.com/u/boocs_ved)\
**Replies:** 0\
**Last updated:** [July 23, 2024, 11:51am UTC](https://forums.unrealengine.com/t/vscode-extension-unreal-clangd-v2-5-1/1947123 "2024-07-23T11:51:43Z")

</div>

Info Update was created by user 94Bo Linux and Mac use RunUBT.sh if available (I added RunUBT.bat for Windows users) When determining a rsp file for completionHelper.cpp, only use rsp files from main source directory H…

---

## [Errors generated when including LauncherServices](https://forums.unrealengine.com/t/errors-generated-when-including-launcherservices/1946986)

<div class="topic-metadata">

**Author:** [@Ilai1904](https://forums.unrealengine.com/u/Ilai1904)\
**Replies:** 0\
**Last updated:** [July 23, 2024, 9:15am UTC](https://forums.unrealengine.com/t/errors-generated-when-including-launcherservices/1946986 "2024-07-23T09:15:09Z")

</div>

I downloaded UE5.4.2 from source and created a clean First Person project called CompileProjectThu For some reason, when I add LauncherServices as a public dependency module in CompileProjectThu.Build.cs, and then I try…

---

## [Staticmesh disappears](https://forums.unrealengine.com/t/staticmesh-disappears/1946415)

<div class="topic-metadata">

**Author:** [@Inklipse08090](https://forums.unrealengine.com/u/Inklipse08090)\
**Replies:** 1\
**Last updated:** [July 23, 2024, 6:34am UTC](https://forums.unrealengine.com/t/staticmesh-disappears/1946415 "2024-07-23T06:34:50Z")

</div>

Hi, I have a problem with the Unreal Engine. I create 2 static meshes for 1 actor, it compiles without errors and both staticmesh are displayed on the class image, but when I place it as an instance of the class, the 2nd…

---

## [When is epic games going to add the renegade raider back ](https://forums.unrealengine.com/t/when-is-epic-games-going-to-add-the-renegade-raider-back/1946768)

<div class="topic-metadata">

**Author:** [@G\_MoneyERS3113](https://forums.unrealengine.com/u/G_MoneyERS3113)\
**Replies:** 0\
**Last updated:** [July 23, 2024, 4:27am UTC](https://forums.unrealengine.com/t/when-is-epic-games-going-to-add-the-renegade-raider-back/1946768 "2024-07-23T04:27:41Z")

</div>

When epic games

---

## [Unreal crash on EnumerateAllMemoryAssets after I Upgrade the project from UE 5.3.2 to UE 5.4.3](https://forums.unrealengine.com/t/unreal-crash-on-enumerateallmemoryassets-after-i-upgrade-the-project-from-ue-5-3-2-to-ue-5-4-3/1946760)

<div class="topic-metadata">

**Author:** [@Butflies](https://forums.unrealengine.com/u/Butflies)\
**Replies:** 0\
**Last updated:** [July 23, 2024, 4:21am UTC](https://forums.unrealengine.com/t/unreal-crash-on-enumerateallmemoryassets-after-i-upgrade-the-project-from-ue-5-3-2-to-ue-5-4-3/1946760 "2024-07-23T04:21:01Z")

</div>

LoginId:77f1f3e643269d8d137e369c91a9ae3b EpicAccountId:972b60af495c49ee8bb16501afe11f0f Unhandled Exception: EXCEPTION\_ACCESS\_VIOLATION 0x0000000000000000 UnrealEditor\_AssetRegistry!UE::AssetRegistry::Utils::Enu…

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

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