# C++

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

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

**Page:** 80

---

## [why is there a FStallDetector](https://forums.unrealengine.com/t/why-is-there-a-fstalldetector/2039534)

<div class="topic-metadata">

**Author:** [@JulioJerez](https://forums.unrealengine.com/u/JulioJerez)\
**Replies:** 1\
**Last updated:** [September 27, 2024, 4:16pm UTC](https://forums.unrealengine.com/t/why-is-there-a-fstalldetector/2039534 "2024-09-27T16:16:57Z")

</div>

In there a way to disable StallDetector ? This makes it practically impossible to debug a c++ plugin. Not only that, it provides a tremendous amount of misleading information, even when not debugging, just testing your…

---

## [Physics Constraint Stability with Many Actors](https://forums.unrealengine.com/t/physics-constraint-stability-with-many-actors/2041184)

<div class="topic-metadata">

**Author:** [@brandt](https://forums.unrealengine.com/u/brandt)\
**Replies:** 0\
**Last updated:** [September 27, 2024, 5:21pm UTC](https://forums.unrealengine.com/t/physics-constraint-stability-with-many-actors/2041184 "2024-09-27T17:21:58Z")

</div>

I’m working on a system where the player builds a complex assembly by attaching multiple parts together. I’m using physics constraints to connect actors, but I’ve noticed instability in the physics simulation. The goal i…

---

## [Hitbox (box collision component) performance](https://forums.unrealengine.com/t/hitbox-box-collision-component-performance/2039115)

<div class="topic-metadata">

**Author:** [@PazDim](https://forums.unrealengine.com/u/PazDim)\
**Replies:** 5\
**Last updated:** [September 27, 2024, 4:45pm UTC](https://forums.unrealengine.com/t/hitbox-box-collision-component-performance/2039115 "2024-09-27T16:45:27Z")

</div>

Hi. I have a performance problem with hitbox implementation. In my FPS project I have 100 NPC. Shooting is implemented via hitscan traces. I use my custom hitbox for hit detection. It is just UBoxComponent, I create sev…

---

## [Controlling the Player During C++ Automation Tests](https://forums.unrealengine.com/t/controlling-the-player-during-c-automation-tests/567074)

<div class="topic-metadata">

**Author:** [@PolarPandar](https://forums.unrealengine.com/u/PolarPandar)\
**Replies:** 3\
**Last updated:** [September 27, 2024, 2:12pm UTC](https://forums.unrealengine.com/t/controlling-the-player-during-c-automation-tests/567074 "2024-09-27T14:12:14Z")

</div>

Hello everyone! I’ve been having a bit of a problem with testing that I can’t seem to find any information on anywhere online, and it’s to do with Unreal’s automation testing. For reference I am using Unreal Engine 4.27.…

---

## [Need Logic for C++ code of attached blueprint As i was try to use TimeLine but unable to do so As i have used locomotion to track every state kindly help plz!](https://forums.unrealengine.com/t/need-logic-for-c-code-of-attached-blueprint-as-i-was-try-to-use-timeline-but-unable-to-do-so-as-i-have-used-locomotion-to-track-every-state-kindly-help-plz/2040939)

<div class="topic-metadata">

**Author:** [@Micheal\_01](https://forums.unrealengine.com/u/Micheal_01)\
**Replies:** 0\
**Last updated:** [September 27, 2024, 1:45pm UTC](https://forums.unrealengine.com/t/need-logic-for-c-code-of-attached-blueprint-as-i-was-try-to-use-timeline-but-unable-to-do-so-as-i-have-used-locomotion-to-track-every-state-kindly-help-plz/2040939 "2024-09-27T13:45:00Z")

</div>

---

## [Unreal Crash Reporter for Linux Dedicated Server](https://forums.unrealengine.com/t/unreal-crash-reporter-for-linux-dedicated-server/137841)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_7fbbb03c](https://forums.unrealengine.com/u/anonymous_user_7fbbb03c)\
**Replies:** 4\
**Last updated:** [September 27, 2024, 8:45am UTC](https://forums.unrealengine.com/t/unreal-crash-reporter-for-linux-dedicated-server/137841 "2024-09-27T08:45:35Z")

</div>

I have integrated the unreal crash reporter into my windows game client and it works out of the box. :slight\_smile: Now, I would love to get crash dumps if my dedicated server on Linux crashes too. So my questions: d…

---

## [Class to dynamical create and destroy UDataTable objects at runtime](https://forums.unrealengine.com/t/class-to-dynamical-create-and-destroy-udatatable-objects-at-runtime/2040422)

<div class="topic-metadata">

**Author:** [@Weaseldog](https://forums.unrealengine.com/u/Weaseldog)\
**Replies:** 0\
**Last updated:** [September 27, 2024, 4:50am UTC](https://forums.unrealengine.com/t/class-to-dynamical-create-and-destroy-udatatable-objects-at-runtime/2040422 "2024-09-27T04:50:39Z")

</div>

This code was built and tested with UnReal 5.4.4 I spent the last couple of days reading lots of Q&As that were peripherally related to a problem I needed to solve. And that is to create UDataTable objects at runtime a…

---

## [Engine PIE crashing due to... KERNEL32.DLL?!](https://forums.unrealengine.com/t/engine-pie-crashing-due-to-kernel32-dll/2039456)

<div class="topic-metadata">

**Author:** [@User-400315961](https://forums.unrealengine.com/u/User-400315961)\
**Replies:** 5\
**Last updated:** [September 26, 2024, 7:55pm UTC](https://forums.unrealengine.com/t/engine-pie-crashing-due-to-kernel32-dll/2039456 "2024-09-26T19:55:35Z")

</div>

Hello, I transfered my project to a new PC (it works perfectly on the other) and when I try to run it, it gives me an error I can’t quite comprehend, but it seems to be saying that my OS has some kind of beef with FPlatf…

---

## [Rider dosen't seems to work with existing project](https://forums.unrealengine.com/t/rider-dosent-seems-to-work-with-existing-project/2039759)

<div class="topic-metadata">

**Author:** [@Joey01241](https://forums.unrealengine.com/u/Joey01241)\
**Replies:** 1\
**Last updated:** [September 26, 2024, 5:39pm UTC](https://forums.unrealengine.com/t/rider-dosent-seems-to-work-with-existing-project/2039759 "2024-09-26T17:39:25Z")

</div>

I been trying to set up Rider for Unreal Engine 5.3, and If I try to use it with my already existing project, It dosent seems to work? I cannot generate function definitons , add includes etc, or well nothing really, (ev…

---

## [Modify Async Loading Screen plugin to shut down after changes from save file are applied to level](https://forums.unrealengine.com/t/modify-async-loading-screen-plugin-to-shut-down-after-changes-from-save-file-are-applied-to-level/2034169)

<div class="topic-metadata">

**Author:** [@Qyrral1](https://forums.unrealengine.com/u/Qyrral1)\
**Replies:** 1\
**Last updated:** [September 26, 2024, 9:27am UTC](https://forums.unrealengine.com/t/modify-async-loading-screen-plugin-to-shut-down-after-changes-from-save-file-are-applied-to-level/2034169 "2024-09-26T09:27:34Z")

</div>

Hi everyone! I am using Async Loading Screen plugin. The issue is: I want to hide with loading screen changes occurring on a level just after it starts (in accordance to data from save file, like repositioning of main c…

---

## [Displaying a PDF file using UMG 3D Widet.. possible?](https://forums.unrealengine.com/t/displaying-a-pdf-file-using-umg-3d-widet-possible/42486)

<div class="topic-metadata">

**Author:** [@SaviorNT](https://forums.unrealengine.com/u/SaviorNT)\
**Replies:** 12\
**Last updated:** [September 26, 2024, 3:03am UTC](https://forums.unrealengine.com/t/displaying-a-pdf-file-using-umg-3d-widet-possible/42486 "2024-09-26T03:03:32Z")

</div>

Was wondering if this is possible? It seems likely that it is, but there are a couple of questions regarding it that I do have: Ease of implementing the Adobe Reader API into the engine: API Documentation Reference Te…

---

## [Programmatically creating geometry collection from static mesh](https://forums.unrealengine.com/t/programmatically-creating-geometry-collection-from-static-mesh/664095)

<div class="topic-metadata">

**Author:** [@CapBone](https://forums.unrealengine.com/u/CapBone)\
**Replies:** 6\
**Last updated:** [September 26, 2024, 1:01am UTC](https://forums.unrealengine.com/t/programmatically-creating-geometry-collection-from-static-mesh/664095 "2024-09-26T01:01:57Z")

</div>

Hello, I plan to make use of UE5’s Chaos, and each static mesh requires a geometry collection/fracture. Would it be possible to programmatically create these (ie, I have a mesh component, and from there, I create someth…

---

## [can I use previous versions of UE for game development](https://forums.unrealengine.com/t/can-i-use-previous-versions-of-ue-for-game-development/2037786)

<div class="topic-metadata">

**Author:** [@chukwulasutosin](https://forums.unrealengine.com/u/chukwulasutosin)\
**Replies:** 1\
**Last updated:** [September 25, 2024, 1:47pm UTC](https://forums.unrealengine.com/t/can-i-use-previous-versions-of-ue-for-game-development/2037786 "2024-09-25T13:47:30Z")

</div>

I am a noob, and I have a bit of knowledge in c++, so I wanted to use this to make a game but my pc is low end and I was wondering if I can use older versions of UE to make games as a beginner

---

## [Is it possible or how to properly make templated variable that only once it would be needed to cast?](https://forums.unrealengine.com/t/is-it-possible-or-how-to-properly-make-templated-variable-that-only-once-it-would-be-needed-to-cast/2033730)

<div class="topic-metadata">

**Author:** [@Justrenis](https://forums.unrealengine.com/u/Justrenis)\
**Replies:** 3\
**Last updated:** [September 25, 2024, 10:36am UTC](https://forums.unrealengine.com/t/is-it-possible-or-how-to-properly-make-templated-variable-that-only-once-it-would-be-needed-to-cast/2033730 "2024-09-25T10:36:02Z")

</div>

Base class: Child class: or only option is to cast to child class each time launch grenade function is called?

---

## [OpenCV Plugin - VideoCapture with MJPG Format outputs only noise](https://forums.unrealengine.com/t/opencv-plugin-videocapture-with-mjpg-format-outputs-only-noise/734684)

<div class="topic-metadata">

**Author:** [@Elias\_x\_1](https://forums.unrealengine.com/u/Elias_x_1)\
**Replies:** 1\
**Last updated:** [September 25, 2024, 7:48am UTC](https://forums.unrealengine.com/t/opencv-plugin-videocapture-with-mjpg-format-outputs-only-noise/734684 "2024-09-25T07:48:46Z")

</div>

When using the OpenCV plugin for Unreal Engine and setting the video codec for the webcam to MJPG, the image recieved from opencv looks like gibberish: When doing the same thing with just c++, outside of unreal engin…

---

## [Set bone rotations in level\_BP with local space data](https://forums.unrealengine.com/t/set-bone-rotations-in-level-bp-with-local-space-data/2037248)

<div class="topic-metadata">

**Author:** [@CL1992](https://forums.unrealengine.com/u/CL1992)\
**Replies:** 0\
**Last updated:** [September 25, 2024, 7:42am UTC](https://forums.unrealengine.com/t/set-bone-rotations-in-level-bp-with-local-space-data/2037248 "2024-09-25T07:42:23Z")

</div>

i have a pose data from SMPL human pose, now i want to make the same pose in UE，i do it in level BP， but i find there is no BP node to do it in local space, the poseEnableMesh is to set in world or component space. whil…

---

## [Negative values in Render Target](https://forums.unrealengine.com/t/negative-values-in-render-target/330638)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_f50088e8](https://forums.unrealengine.com/u/anonymous_user_f50088e8)\
**Replies:** 4\
**Last updated:** [September 25, 2024, 5:41am UTC](https://forums.unrealengine.com/t/negative-values-in-render-target/330638 "2024-09-25T05:41:12Z")

</div>

Hello, I’m currently using a Render Target for various rendering purposes (capture and export in .HDR files). I have several different passes made with the Render Target (standard passe, passe with only the ambient occl…

---

## [How do I fix "no such service is known... error." ?](https://forums.unrealengine.com/t/how-do-i-fix-no-such-service-is-known-error/1836485)

<div class="topic-metadata">

**Author:** [@riaaa](https://forums.unrealengine.com/u/riaaa)\
**Replies:** 2\
**Last updated:** [September 25, 2024, 1:41am UTC](https://forums.unrealengine.com/t/how-do-i-fix-no-such-service-is-known-error/1836485 "2024-09-25T01:41:25Z")

</div>

No such service is known. The service cannot be found in the specified name space That is the error I am getting. I get it sometimes and not other times, but it’s really annoying and once it starts, it doesn’t stop and d…

---

## [I created a Child Character to Character, but none of its edits are coming up when I create a blueprint using it.](https://forums.unrealengine.com/t/i-created-a-child-character-to-character-but-none-of-its-edits-are-coming-up-when-i-create-a-blueprint-using-it/2036021)

<div class="topic-metadata">

**Author:** [@Kitch2005](https://forums.unrealengine.com/u/Kitch2005)\
**Replies:** 1\
**Last updated:** [September 24, 2024, 9:12pm UTC](https://forums.unrealengine.com/t/i-created-a-child-character-to-character-but-none-of-its-edits-are-coming-up-when-i-create-a-blueprint-using-it/2036021 "2024-09-24T21:12:06Z")

</div>

Im creating a child to Character that when used as a blueprint base adds a camera and Enhanced Inputs, however when I create a blueprint with it it doesn’t have any of the added items. There are no errors coming up withi…

---

## [Link errors in UBTTaskNode classes](https://forums.unrealengine.com/t/link-errors-in-ubttasknode-classes/359394)

<div class="topic-metadata">

**Author:** [@Nevermore](https://forums.unrealengine.com/u/Nevermore)\
**Replies:** 19\
**Last updated:** [September 24, 2024, 5:29pm UTC](https://forums.unrealengine.com/t/link-errors-in-ubttasknode-classes/359394 "2024-09-24T17:29:55Z")

</div>

After converting my project to 4.12 I have link errors in 2 of my UBTTaskNode classes: 2\>AllowNextMarker.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void \_\_cdecl IGameplayTaskOwnerInterface::OnG…

---

## [FMath::FMod](https://forums.unrealengine.com/t/fmath-fmod/2031324)

<div class="topic-metadata">

**Author:** [@LibroVecchio](https://forums.unrealengine.com/u/LibroVecchio)\
**Replies:** 5\
**Last updated:** [September 24, 2024, 8:19am UTC](https://forums.unrealengine.com/t/fmath-fmod/2031324 "2024-09-24T08:19:59Z")

</div>

I’m using FMod to check whether a float is even or odd, but it says 2.000 % 2 = 2. Here’s the function: FIntPoint AGrid::GetHexagonIndex(FVector gridlocation) { FVector2d SnappedGridLocation(UUtilitiesLibrary::SnapVec…

---

## [So i saw a question on here regarding to the error: Error 1: Unreal Revision Control is not logged in (failed refresh token). And it was solved improperly](https://forums.unrealengine.com/t/so-i-saw-a-question-on-here-regarding-to-the-error-error-1-unreal-revision-control-is-not-logged-in-failed-refresh-token-and-it-was-solved-improperly/2035242)

<div class="topic-metadata">

**Author:** [@lilplumbo](https://forums.unrealengine.com/u/lilplumbo)\
**Replies:** 0\
**Last updated:** [September 24, 2024, 7:03am UTC](https://forums.unrealengine.com/t/so-i-saw-a-question-on-here-regarding-to-the-error-error-1-unreal-revision-control-is-not-logged-in-failed-refresh-token-and-it-was-solved-improperly/2035242 "2024-09-24T07:03:10Z")

</div>

The Answer was: Reset your TimeZone or Check your TimeZone settings, meanwhile i solved it by entering the command: urc auth login . Hope this helps for everyone not knowing how to solve the error: Error 1: Unreal Rev…

---

## [How to do a directional dodge with timeline?](https://forums.unrealengine.com/t/how-to-do-a-directional-dodge-with-timeline/2034572)

<div class="topic-metadata">

**Author:** [@sa1lim.RAM](https://forums.unrealengine.com/u/sa1lim.RAM)\
**Replies:** 0\
**Last updated:** [September 23, 2024, 6:37pm UTC](https://forums.unrealengine.com/t/how-to-do-a-directional-dodge-with-timeline/2034572 "2024-09-23T18:37:21Z")

</div>

I mean velocity grows in direction? which character’s going at the mometnt. I tride (GetActorLocation() - GetLastInputVector()).Normolize, but it does not work. How can i do this? This is an example of how i did dodge A…

---

## [How to use ENQUEUE RENDER COMMAND](https://forums.unrealengine.com/t/how-to-use-enqueue-render-command/554698)

<div class="topic-metadata">

**Author:** [@dorian.nicolas](https://forums.unrealengine.com/u/dorian.nicolas)\
**Replies:** 4\
**Last updated:** [September 23, 2024, 5:44pm UTC](https://forums.unrealengine.com/t/how-to-use-enqueue-render-command/554698 "2024-09-23T17:44:28Z")

</div>

I would like to convert old code (from 4.26 to 4.27) but this code contains something removed in 4.27 of Unreal Engine. /\* OLD CODE \*/ ENQUEUE\_UNIQUE\_RENDER\_COMMAND\_TWOPARAMETER( UpdateTextureRegionsData, FUpdateT…

---

## [about UDynamicMeshComponent](https://forums.unrealengine.com/t/about-udynamicmeshcomponent/2031982)

<div class="topic-metadata">

**Author:** [@JulioJerez](https://forums.unrealengine.com/u/JulioJerez)\
**Replies:** 2\
**Last updated:** [September 23, 2024, 5:16pm UTC](https://forums.unrealengine.com/t/about-udynamicmeshcomponent/2031982 "2024-09-23T17:16:23Z")

</div>

Hi, I am making a dynamics mesh component to help with debug visualization for my plugin, as a substitute for the DrawDebugLine api. DrawDebugLine api is fine for a small set of debug info, but it gets ridiculous slow…

---

## [Changing UObject, Changing Settings](https://forums.unrealengine.com/t/changing-uobject-changing-settings/2033811)

<div class="topic-metadata">

**Author:** [@RealNyntexx](https://forums.unrealengine.com/u/RealNyntexx)\
**Replies:** 2\
**Last updated:** [September 23, 2024, 5:26pm UTC](https://forums.unrealengine.com/t/changing-uobject-changing-settings/2033811 "2024-09-23T17:26:47Z")

</div>

I have an ActorComponent called USquadComponent. This SquadComponent has 2 members that I currently care about: UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Squad") TSubclassOf\<USquadFormation\> FormationClass…

---

## [How to serialize and package TArray\<UObject\*\> inside an asset created in custom graph editor](https://forums.unrealengine.com/t/how-to-serialize-and-package-tarray-uobject-inside-an-asset-created-in-custom-graph-editor/143502)

<div class="topic-metadata">

**Author:** [@Noowai](https://forums.unrealengine.com/u/Noowai)\
**Replies:** 2\
**Last updated:** [September 23, 2024, 4:58pm UTC](https://forums.unrealengine.com/t/how-to-serialize-and-package-tarray-uobject-inside-an-asset-created-in-custom-graph-editor/143502 "2024-09-23T16:58:10Z")

</div>

Hello everyone! And thanks for checking my question topic. I have created a custom editor graph, that fills an array of UObjects inside an asset. Let’s call asset BarDay and an array inside of it would be array of BarEv…

---

## [Elapsed milliseconds since start of level](https://forums.unrealengine.com/t/elapsed-milliseconds-since-start-of-level/305782)

<div class="topic-metadata">

**Author:** [@etbh](https://forums.unrealengine.com/u/etbh)\
**Replies:** 14\
**Last updated:** [September 23, 2024, 2:54pm UTC](https://forums.unrealengine.com/t/elapsed-milliseconds-since-start-of-level/305782 "2024-09-23T14:54:50Z")

</div>

I need to get the time in milliseconds elapsed since the start of the level. AGameState::ElapsedTime seems to be what I’m looking for, except it delivers a time in seconds. Is there a way to access to this in a more si…

---

## [Camera Component not being inherited from C++ class](https://forums.unrealengine.com/t/camera-component-not-being-inherited-from-c-class/67920)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_193ab718](https://forums.unrealengine.com/u/anonymous_user_193ab718)\
**Replies:** 6\
**Last updated:** [September 23, 2024, 12:03pm UTC](https://forums.unrealengine.com/t/camera-component-not-being-inherited-from-c-class/67920 "2024-09-23T12:03:31Z")

</div>

HellooooooooO! I have a character, with a camera component. The actual player which spawns is a blueprint child of this c++ class, however the camera component is not being inherited! in header: UPROPERTY(VisibleAnyw…

---

## [Voice Chat: CreateVoiceCapture() returning Null](https://forums.unrealengine.com/t/voice-chat-createvoicecapture-returning-null/302960)

<div class="topic-metadata">

**Author:** [@haydenjameslee](https://forums.unrealengine.com/u/haydenjameslee)\
**Replies:** 2\
**Last updated:** [September 23, 2024, 9:51am UTC](https://forums.unrealengine.com/t/voice-chat-createvoicecapture-returning-null/302960 "2024-09-23T09:51:16Z")

</div>

I’m trying to implement voice chat on Windows and the following code (copied from TestVoice.cpp) results in VoiceCapture, VoiceEncoder and VoiceDecoder being Null, making the IsValid call return false: #include "OnlineS…

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

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