# C++

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

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

**Page:** 76

---

## [Ignoring specific actors/components per Navigation data class](https://forums.unrealengine.com/t/ignoring-specific-actors-components-per-navigation-data-class/2074294)

<div class="topic-metadata">

**Author:** [@atalvan.wolcen](https://forums.unrealengine.com/u/atalvan.wolcen)\
**Replies:** 0\
**Last updated:** [October 18, 2024, 1:35pm UTC](https://forums.unrealengine.com/t/ignoring-specific-actors-components-per-navigation-data-class/2074294 "2024-10-18T13:35:11Z")

</div>

Hi, I have added an agent type / Nav Data to my project which is used with an ARecastNavMesh dervied class in order to have another set of nav geometry (not used for AI pathfinding, but for something else). For some act…

---

## [help, Is there any voice chat example using voicechannel?](https://forums.unrealengine.com/t/help-is-there-any-voice-chat-example-using-voicechannel/2074035)

<div class="topic-metadata">

**Author:** [@zdh3303](https://forums.unrealengine.com/u/zdh3303)\
**Replies:** 0\
**Last updated:** [October 18, 2024, 10:03am UTC](https://forums.unrealengine.com/t/help-is-there-any-voice-chat-example-using-voicechannel/2074035 "2024-10-18T10:03:12Z")

</div>

Thanks!

---

## [How to find out WHEN can I modify the geometry collection after it was created? (LOW LEVEL)](https://forums.unrealengine.com/t/how-to-find-out-when-can-i-modify-the-geometry-collection-after-it-was-created-low-level/2074027)

<div class="topic-metadata">

**Author:** [@playwithmewerder](https://forums.unrealengine.com/u/playwithmewerder)\
**Replies:** 0\
**Last updated:** [October 18, 2024, 9:51am UTC](https://forums.unrealengine.com/t/how-to-find-out-when-can-i-modify-the-geometry-collection-after-it-was-created-low-level/2074027 "2024-10-18T09:51:52Z")

</div>

Im modifying geometry collection’s particles, but if i modify it right after the collection was created it causes a crash. Is there some delegate thats being called after all the collection’s async operations were procee…

---

## [How can add keyframe in data-asset uproperty ?](https://forums.unrealengine.com/t/how-can-add-keyframe-in-data-asset-uproperty/2074015)

<div class="topic-metadata">

**Author:** [@K3nda](https://forums.unrealengine.com/u/K3nda)\
**Replies:** 0\
**Last updated:** [October 18, 2024, 9:48am UTC](https://forums.unrealengine.com/t/how-can-add-keyframe-in-data-asset-uproperty/2074015 "2024-10-18T09:48:01Z")

</div>

Hello, I’d like to know if it’s possible to create a keyframe on a data-asset put in an uproperty in EditInLine, in order to make an animation on the ui? Thanks

---

## [Disabling PDB/debug gen in Development configuration (Engine Source)](https://forums.unrealengine.com/t/disabling-pdb-debug-gen-in-development-configuration-engine-source/617448)

<div class="topic-metadata">

**Author:** [@Kein](https://forums.unrealengine.com/u/Kein)\
**Replies:** 3\
**Last updated:** [October 17, 2024, 8:47pm UTC](https://forums.unrealengine.com/t/disabling-pdb-debug-gen-in-development-configuration-engine-source/617448 "2024-10-17T20:47:22Z")

</div>

So far I’ve tried: Editing VCToolChain.cs, forcefully disabling any debug/PDB options and rebuilding UBT (confirmed makefiles were remade because UBT was newer) Editing Build.bat and adding -NoDebugInfo -NoPDB -Inc…

---

## [Properties using push model replicate without being manually marked as dirty](https://forums.unrealengine.com/t/properties-using-push-model-replicate-without-being-manually-marked-as-dirty/483647)

<div class="topic-metadata">

**Author:** [@Seishoku](https://forums.unrealengine.com/u/Seishoku)\
**Replies:** 4\
**Last updated:** [October 17, 2024, 7:52pm UTC](https://forums.unrealengine.com/t/properties-using-push-model-replicate-without-being-manually-marked-as-dirty/483647 "2024-10-17T19:52:44Z")

</div>

I’m trying to use the push model for replicating properties. But the properties simply replicate as usual, without me marking anything as dirty manually. Which is the whole point. Here’s my code: // header file UPROPER…

---

## [Removing Input Contexts when Using the Enhanced Input System](https://forums.unrealengine.com/t/removing-input-contexts-when-using-the-enhanced-input-system/1196259)

<div class="topic-metadata">

**Author:** [@xenofsnstudios](https://forums.unrealengine.com/u/xenofsnstudios)\
**Replies:** 7\
**Last updated:** [October 17, 2024, 5:18pm UTC](https://forums.unrealengine.com/t/removing-input-contexts-when-using-the-enhanced-input-system/1196259 "2024-10-17T17:18:20Z")

</div>

The documentation still leaves a lot to be desired with regards to the enhanced input system considering they deprecated the old input system. Does anyone have an example of how to remove an input context and their as…

---

## [How do I pick up and throw items and other players in Third Person ](https://forums.unrealengine.com/t/how-do-i-pick-up-and-throw-items-and-other-players-in-third-person/2072647)

<div class="topic-metadata">

**Author:** [@BLOODCUHZ95](https://forums.unrealengine.com/u/BLOODCUHZ95)\
**Replies:** 0\
**Last updated:** [October 17, 2024, 1:14pm UTC](https://forums.unrealengine.com/t/how-do-i-pick-up-and-throw-items-and-other-players-in-third-person/2072647 "2024-10-17T13:14:45Z")

</div>

How do I pick up and throw items and other players in Third Person? something as simple as picking up a box and throwing it at another player. Examples below. Thanks

---

## [How to Listen to Delegate in a Gameplay Ability C++ Class UE5.4](https://forums.unrealengine.com/t/how-to-listen-to-delegate-in-a-gameplay-ability-c-class-ue5-4/2059677)

<div class="topic-metadata">

**Author:** [@Oblivion\_BC](https://forums.unrealengine.com/u/Oblivion_BC)\
**Replies:** 3\
**Last updated:** [October 17, 2024, 1:44am UTC](https://forums.unrealengine.com/t/how-to-listen-to-delegate-in-a-gameplay-ability-c-class-ue5-4/2059677 "2024-10-17T01:44:28Z")

</div>

Hi All, I am currently working on making a ComboAttack blueprint in C++, however it seems to not be able to listen to the delegate in my player character for when anim notifys are hit in the montage played by the abilit…

---

## [How To Disable Hardware and Usage Data collection by the Engine?](https://forums.unrealengine.com/t/how-to-disable-hardware-and-usage-data-collection-by-the-engine/10351)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_bcd0d281](https://forums.unrealengine.com/u/anonymous_user_bcd0d281)\
**Replies:** 8\
**Last updated:** [October 16, 2024, 9:49pm UTC](https://forums.unrealengine.com/t/how-to-disable-hardware-and-usage-data-collection-by-the-engine/10351 "2024-10-16T21:49:45Z")

</div>

In Section 13 of the UE 4 EULA (Game-Engine-Technologie von Unreal - Unreal Engine) it states that it is possible to disable the Engine’s Hardware and Usage Data reporting feature. Where in the source code can I find th…

---

## [Network Ownership & AI Controlled Characters](https://forums.unrealengine.com/t/network-ownership-ai-controlled-characters/2071706)

<div class="topic-metadata">

**Author:** [@strummer](https://forums.unrealengine.com/u/strummer)\
**Replies:** 1\
**Last updated:** [October 16, 2024, 9:46pm UTC](https://forums.unrealengine.com/t/network-ownership-ai-controlled-characters/2071706 "2024-10-16T21:46:23Z")

</div>

Network Ownership & AI Controlled Characters I’m working on a game where the controlled player can have a party of AIController controlled party members with multiplayer support - each player can have their own party of …

---

## [How do I rebind SButton activation from left click to another button?](https://forums.unrealengine.com/t/how-do-i-rebind-sbutton-activation-from-left-click-to-another-button/2070347)

<div class="topic-metadata">

**Author:** [@lazyFrond](https://forums.unrealengine.com/u/lazyFrond)\
**Replies:** 0\
**Last updated:** [October 16, 2024, 12:40am UTC](https://forums.unrealengine.com/t/how-do-i-rebind-sbutton-activation-from-left-click-to-another-button/2070347 "2024-10-16T00:40:43Z")

</div>

referring to the OnPressed/OnReleased functionality. I have tried Overriding FNavigationConfig but maybe I didnt do it right: #pragma once #include "CoreMinimal.h" #include "Framework/Application/NavigationConfig.h" /…

---

## [Media Framework Roadmap](https://forums.unrealengine.com/t/media-framework-roadmap/25203)

<div class="topic-metadata">

**Author:** [@gmpreussner](https://forums.unrealengine.com/u/gmpreussner)\
**Replies:** 172\
**Last updated:** [October 16, 2024, 5:30pm UTC](https://forums.unrealengine.com/t/media-framework-roadmap/25203 "2024-10-16T17:30:22Z")

</div>

The new Media Framework in UE4 is becoming increasingly popular, and we’re getting more and more questions and requests for it, so I figured I’d start a new thread to let everyone know what the plans are. Although this n…

---

## [GameInstance reset on level open](https://forums.unrealengine.com/t/gameinstance-reset-on-level-open/2059399)

<div class="topic-metadata">

**Author:** [@flippyflops.l7d](https://forums.unrealengine.com/u/flippyflops.l7d)\
**Replies:** 18\
**Last updated:** [October 16, 2024, 4:41pm UTC](https://forums.unrealengine.com/t/gameinstance-reset-on-level-open/2059399 "2024-10-16T16:41:58Z")

</div>

I am trying to persist data across levels and everywhere online says to use GameInstace class. So I created a default Third Person Template and a custom GameInstance, then added an int32 variable for testing and set the…

---

## [Outliner inconsistency between blueprint and scene editor.](https://forums.unrealengine.com/t/outliner-inconsistency-between-blueprint-and-scene-editor/2063969)

<div class="topic-metadata">

**Author:** [@JulioJerez](https://forums.unrealengine.com/u/JulioJerez)\
**Replies:** 1\
**Last updated:** [October 16, 2024, 3:49pm UTC](https://forums.unrealengine.com/t/outliner-inconsistency-between-blueprint-and-scene-editor/2063969 "2024-10-16T15:49:20Z")

</div>

hi I made this video to explain visually the problem I am trying to fix. Sorry I can’t upload it here because it is longer than what unreal allows, so I put it in youtube It seems that in the scene editor …

---

## [Why is GConfig-\>SetInt method creating duplicates?](https://forums.unrealengine.com/t/why-is-gconfig-setint-method-creating-duplicates/2071292)

<div class="topic-metadata">

**Author:** [@OneNot](https://forums.unrealengine.com/u/OneNot)\
**Replies:** 1\
**Last updated:** [October 16, 2024, 3:08pm UTC](https://forums.unrealengine.com/t/why-is-gconfig-setint-method-creating-duplicates/2071292 "2024-10-16T15:08:11Z")

</div>

I can’t quite figure out why this is happening, but whenever I call GConfig-\>SetInt (presumably also an issue with other similar methods), it writes a duplicate line in the file, and not even in the right place. Here is…

---

## [在Lyra中怎么修改射击的Heat to Spread Curve 扩散曲线，让扩散范围只在Z轴上分布](https://forums.unrealengine.com/t/lyra-heat-to-spread-curve-z/2071287)

<div class="topic-metadata">

**Author:** [@lyx\_ue](https://forums.unrealengine.com/u/lyx_ue)\
**Replies:** 0\
**Last updated:** [October 16, 2024, 2:46pm UTC](https://forums.unrealengine.com/t/lyra-heat-to-spread-curve-z/2071287 "2024-10-16T14:46:41Z")

</div>

我想将射击的扩散范围改为只在Z轴上分布应该在代码中怎么设置

---

## [Help Optimizing Tonemapper for Low-End Mobile Devices (Post-Process Performance Drop)](https://forums.unrealengine.com/t/help-optimizing-tonemapper-for-low-end-mobile-devices-post-process-performance-drop/2071271)

<div class="topic-metadata">

**Author:** [@KarimDeveloper](https://forums.unrealengine.com/u/KarimDeveloper)\
**Replies:** 0\
**Last updated:** [October 16, 2024, 2:41pm UTC](https://forums.unrealengine.com/t/help-optimizing-tonemapper-for-low-end-mobile-devices-post-process-performance-drop/2071271 "2024-10-16T14:41:55Z")

</div>

Hi everyone, I’m facing a significant performance drop on low-end mobile devices due to post-processing, and I could use some help optimizing the tonemapper. Issue Overview: From my analysis using RenderDoc, I noticed …

---

## [How to use Clang on Windows ?](https://forums.unrealengine.com/t/how-to-use-clang-on-windows/1990085)

<div class="topic-metadata">

**Author:** [@Davidutz-01](https://forums.unrealengine.com/u/Davidutz-01)\
**Replies:** 5\
**Last updated:** [October 16, 2024, 1:21pm UTC](https://forums.unrealengine.com/t/how-to-use-clang-on-windows/1990085 "2024-10-16T13:21:45Z")

</div>

Hello everyone ! I was wondering if someone know how to setup Clang on Windows for compiling instead of MSVC. I’m using the “Build From Source” Unreal Engine 5.3 version (git) and tried several things to make this work…

---

## [Class pointers as keys in dictionaries... Good or bad idea?](https://forums.unrealengine.com/t/class-pointers-as-keys-in-dictionaries-good-or-bad-idea/2070866)

<div class="topic-metadata">

**Author:** [@Ivan3z](https://forums.unrealengine.com/u/Ivan3z)\
**Replies:** 2\
**Last updated:** [October 16, 2024, 9:33am UTC](https://forums.unrealengine.com/t/class-pointers-as-keys-in-dictionaries-good-or-bad-idea/2070866 "2024-10-16T09:33:07Z")

</div>

Months ago I started programming a very important component of my game. At first I did it like this TMap\< TSubclassOf\<ASomeBase\>, int32\> MyDic; And everything was working fine until I cooked the game and then it explo…

---

## [Implementing blinking light in C++](https://forums.unrealengine.com/t/implementing-blinking-light-in-c/2068499)

<div class="topic-metadata">

**Author:** [@wokej66](https://forums.unrealengine.com/u/wokej66)\
**Replies:** 5\
**Last updated:** [October 15, 2024, 5:52pm UTC](https://forums.unrealengine.com/t/implementing-blinking-light-in-c/2068499 "2024-10-15T17:52:34Z")

</div>

Hi, I’m trying to learn C++ API, and to do that I tried to implement blinking light in C++. I did that first in Blueprints following this tutorial, and it works great: https://www.youtube.com/watch?v=pE88f3QRp0A. Unfor…

---

## [How to add a variable to a generated Blueprint?](https://forums.unrealengine.com/t/how-to-add-a-variable-to-a-generated-blueprint/2063092)

<div class="topic-metadata">

**Author:** [@JAuzanneau](https://forums.unrealengine.com/u/JAuzanneau)\
**Replies:** 1\
**Last updated:** [October 15, 2024, 2:58pm UTC](https://forums.unrealengine.com/t/how-to-add-a-variable-to-a-generated-blueprint/2063092 "2024-10-15T14:58:22Z")

</div>

Hi, I’m wondering if it is possible and if so, how, to add a variable to a generated Blueprint. Specifically, I’m creating BPs using C++. I want to add variables to the blueprint during the creation process, and then ad…

---

## [How to detect mobile phone screenshot taken by user on IOS and Android platforms?](https://forums.unrealengine.com/t/how-to-detect-mobile-phone-screenshot-taken-by-user-on-ios-and-android-platforms/2069620)

<div class="topic-metadata">

**Author:** [@WhiteNight\_d](https://forums.unrealengine.com/u/WhiteNight_d)\
**Replies:** 0\
**Last updated:** [October 15, 2024, 2:47pm UTC](https://forums.unrealengine.com/t/how-to-detect-mobile-phone-screenshot-taken-by-user-on-ios-and-android-platforms/2069620 "2024-10-15T14:47:20Z")

</div>

UE4.27

---

## [Cannot create a C++ project in Unreal Engine 5.4.4](https://forums.unrealengine.com/t/cannot-create-a-c-project-in-unreal-engine-5-4-4/2069560)

<div class="topic-metadata">

**Author:** [@0\_FUYOYO\_0](https://forums.unrealengine.com/u/0_FUYOYO_0)\
**Replies:** 0\
**Last updated:** [October 15, 2024, 2:16pm UTC](https://forums.unrealengine.com/t/cannot-create-a-c-project-in-unreal-engine-5-4-4/2069560 "2024-10-15T14:16:22Z")

</div>

Hello everyone, I am quiet new to Unreal Engine. I just created a blank C++ project to start my learning. I am able to create a blueprint project but not a C++ project. I am encountering the following error as access den…

---

## [UUserWidget Initialize vs NativeConstruct](https://forums.unrealengine.com/t/uuserwidget-initialize-vs-nativeconstruct/228294)

<div class="topic-metadata">

**Author:** [@the\_nikola](https://forums.unrealengine.com/u/the_nikola)\
**Replies:** 4\
**Last updated:** [October 15, 2024, 11:56am UTC](https://forums.unrealengine.com/t/uuserwidget-initialize-vs-nativeconstruct/228294 "2024-10-15T11:56:58Z")

</div>

What are the differences between those two, and when should I override each? Both seem to be called only once per construction. void UMyWidget::NativeConstruct () { Super::NativeConstruct(); } bool UMyWidget::Initial…

---

## [Getting a TAssetPtr\<UWorld\> level reference from the content browser?](https://forums.unrealengine.com/t/getting-a-tassetptr-uworld-level-reference-from-the-content-browser/147786)

<div class="topic-metadata">

**Author:** [@Juice-Tin](https://forums.unrealengine.com/u/Juice-Tin)\
**Replies:** 9\
**Last updated:** [October 15, 2024, 9:52am UTC](https://forums.unrealengine.com/t/getting-a-tassetptr-uworld-level-reference-from-the-content-browser/147786 "2024-10-15T09:52:16Z")

</div>

Hello, My MapLoader class takes in TAssetPtr\<UWorld\> references and streams in the maps when needed. This works fine with UPROPERTY() TAssetPtr\<UWorld\> variables. However, I would also like to load levels through path…

---

## [How do I get AnimSequence bone tracks in UE5 C++](https://forums.unrealengine.com/t/how-do-i-get-animsequence-bone-tracks-in-ue5-c/745901)

<div class="topic-metadata">

**Author:** [@BoveyKaraTech](https://forums.unrealengine.com/u/BoveyKaraTech)\
**Replies:** 1\
**Last updated:** [October 15, 2024, 9:12am UTC](https://forums.unrealengine.com/t/how-do-i-get-animsequence-bone-tracks-in-ue5-c/745901 "2024-10-15T09:12:15Z")

</div>

Hi, I recently migrated my project to UE5. In UE4 I was getting the bone track data from: UAnimSequence::GetRawTrackToSkeletonMapTable() This function was deprecated in UE5, The API suggests UAnimDataModel and FBoneA…

---

## [On physics step || On physics substep event?](https://forums.unrealengine.com/t/on-physics-step-on-physics-substep-event/2062985)

<div class="topic-metadata">

**Author:** [@playwithmewerder](https://forums.unrealengine.com/u/playwithmewerder)\
**Replies:** 1\
**Last updated:** [October 15, 2024, 8:02am UTC](https://forums.unrealengine.com/t/on-physics-step-on-physics-substep-event/2062985 "2024-10-15T08:02:49Z")

</div>

I have to Add Force to my physics object every time before it updates. Is there such delegate i can subscribe to?

---

## [Error C4430: missing type specifier - int assumed](https://forums.unrealengine.com/t/error-c4430-missing-type-specifier-int-assumed/252853)

<div class="topic-metadata">

**Author:** [@HarrisonBramley](https://forums.unrealengine.com/u/HarrisonBramley)\
**Replies:** 4\
**Last updated:** [October 15, 2024, 2:09am UTC](https://forums.unrealengine.com/t/error-c4430-missing-type-specifier-int-assumed/252853 "2024-10-15T02:09:29Z")

</div>

I have been getting the following error upon compiling for some time and haven’t yet found a solution. If anybody could offer some help I would greatly appreicate it. C:\\Program Files\\Epic Games\\UE\_4.25\\Engine\\Source\\Ru…

---

## [Advice on best practices for structuring components/interfaces?!](https://forums.unrealengine.com/t/advice-on-best-practices-for-structuring-components-interfaces/2067969)

<div class="topic-metadata">

**Author:** [@Domcoppinger](https://forums.unrealengine.com/u/Domcoppinger)\
**Replies:** 2\
**Last updated:** [October 14, 2024, 11:14pm UTC](https://forums.unrealengine.com/t/advice-on-best-practices-for-structuring-components-interfaces/2067969 "2024-10-14T23:14:23Z")

</div>

I’m relatively new to C++ and to Unreal and am trying to get my head around the best design for some key functionality in my project - any advice would be much appreciated! Context is that I am trying to design my ‘inte…

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

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