# C++

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

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

**Page:** 72

---

## [LINK : fatal error LNK1104: cannot open file](https://forums.unrealengine.com/t/link-fatal-error-lnk1104-cannot-open-file/287530)

<div class="topic-metadata">

**Author:** [@Jainko\_1](https://forums.unrealengine.com/u/Jainko_1)\
**Replies:** 16\
**Last updated:** [November 7, 2024, 4:02pm UTC](https://forums.unrealengine.com/t/link-fatal-error-lnk1104-cannot-open-file/287530 "2024-11-07T16:02:48Z")

</div>

When doing the tutorial nº5, I obtain the following error when building with “development editor”. However using “debug game editor” the code is compiled correctly. 1\>------ Build started: Project: TutorialCode, Configu…

---

## [C++ help wit .cpp and .h](https://forums.unrealengine.com/t/c-help-wit-cpp-and-h/2109814)

<div class="topic-metadata">

**Author:** [@J25ADK](https://forums.unrealengine.com/u/J25ADK)\
**Replies:** 0\
**Last updated:** [November 7, 2024, 3:42pm UTC](https://forums.unrealengine.com/t/c-help-wit-cpp-and-h/2109814 "2024-11-07T15:42:27Z")

</div>

Hi all, this is my second time asking a question. Thanks to all for the previous help; it worked brilliantly. I have an issue adding some code to speed up the game-level progress. I tried to add some C++ code, which Unre…

---

## [Using Unreal Engine 5.0.3 or 5.1.0 built-in OpenCV plugin](https://forums.unrealengine.com/t/using-unreal-engine-5-0-3-or-5-1-0-built-in-opencv-plugin/744951)

<div class="topic-metadata">

**Author:** [@MatthewDZane](https://forums.unrealengine.com/u/MatthewDZane)\
**Replies:** 8\
**Last updated:** [November 7, 2024, 7:35am UTC](https://forums.unrealengine.com/t/using-unreal-engine-5-0-3-or-5-1-0-built-in-opencv-plugin/744951 "2024-11-07T07:35:01Z")

</div>

I’m trying to use the built-in OpenCV plugin for Unreal Engine 5.0.3 or 5.1.0. I added the plugin to the project level build file, like so: PublicDependencyModuleNames.AddRange(new string\[\] { “Core”, “CoreUObject”, …

---

## [Unexpected property handle(s) customizing FSoundAttenuationSettings. Error: Ensure condition failed.](https://forums.unrealengine.com/t/unexpected-property-handle-s-customizing-fsoundattenuationsettings-error-ensure-condition-failed/678331)

<div class="topic-metadata">

**Author:** [@redimer\_2](https://forums.unrealengine.com/u/redimer_2)\
**Replies:** 4\
**Last updated:** [November 7, 2024, 5:54am UTC](https://forums.unrealengine.com/t/unexpected-property-handle-s-customizing-fsoundattenuationsettings-error-ensure-condition-failed/678331 "2024-11-07T05:54:55Z")

</div>

UE 5.0.3 When I try to select my Ambient Sound object in UE editor, I takes errors (on the picture) Why this is happening? This is UE’s bug?

---

## [How to change the style of menu?](https://forums.unrealengine.com/t/how-to-change-the-style-of-menu/2108000)

<div class="topic-metadata">

**Author:** [@adj](https://forums.unrealengine.com/u/adj)\
**Replies:** 1\
**Last updated:** [November 7, 2024, 5:53am UTC](https://forums.unrealengine.com/t/how-to-change-the-style-of-menu/2108000 "2024-11-07T05:53:26Z")

</div>

How can I change the style of the menu.I need a white menu.I do not know what attribute contribute this problem.

---

## [Is that houdini niagara plugine can not use in c++ project?](https://forums.unrealengine.com/t/is-that-houdini-niagara-plugine-can-not-use-in-c-project/1181998)

<div class="topic-metadata">

**Author:** [@WeiJinQiang](https://forums.unrealengine.com/u/WeiJinQiang)\
**Replies:** 1\
**Last updated:** [November 7, 2024, 2:00am UTC](https://forums.unrealengine.com/t/is-that-houdini-niagara-plugine-can-not-use-in-c-project/1181998 "2024-11-07T02:00:38Z")

</div>

I can never build my c++ project succe when I put Houdini Niagara plugine in UE5 engine file.I have try to add the moudle in unreal build tool,it also can not fix.Is that houdini niagara plugine can not use in c++ projec…

---

## [Using PCG on a runtime-generated procedural mesh](https://forums.unrealengine.com/t/using-pcg-on-a-runtime-generated-procedural-mesh/2108495)

<div class="topic-metadata">

**Author:** [@zdenyhraz](https://forums.unrealengine.com/u/zdenyhraz)\
**Replies:** 0\
**Last updated:** [November 6, 2024, 8:20pm UTC](https://forums.unrealengine.com/t/using-pcg-on-a-runtime-generated-procedural-mesh/2108495 "2024-11-06T20:20:06Z")

</div>

I have a ProceduralMeshComponent defined in my C++ actor class, which I use to dynamically generate procedural meshes. Is there a way to use PCG (foliage, etc.) at runtime and use the procedural mesh as the landscape? I …

---

## [Character movement replication jittery](https://forums.unrealengine.com/t/character-movement-replication-jittery/2108318)

<div class="topic-metadata">

**Author:** [@DCtoney](https://forums.unrealengine.com/u/DCtoney)\
**Replies:** 0\
**Last updated:** [November 6, 2024, 6:05pm UTC](https://forums.unrealengine.com/t/character-movement-replication-jittery/2108318 "2024-11-06T18:05:52Z")

</div>

Hello, I had made a skating system based on the alternating keys to set Max Walk speed am attempting to get movement replication working with a local server. Currently, the host is able to move around but anyone else who…

---

## [Blueprint marked functions in Component don't show in the event graph browser](https://forums.unrealengine.com/t/blueprint-marked-functions-in-component-dont-show-in-the-event-graph-browser/2106323)

<div class="topic-metadata">

**Author:** [@JulioJerez](https://forums.unrealengine.com/u/JulioJerez)\
**Replies:** 10\
**Last updated:** [November 6, 2024, 5:32pm UTC](https://forums.unrealengine.com/t/blueprint-marked-functions-in-component-dont-show-in-the-event-graph-browser/2106323 "2024-11-06T17:32:43Z")

</div>

My C++ class has functions marked as BlueprintCallable, but they don’t show up in the Blueprint Event Graph editor. My goal is to add several functions that can be called from Blueprints. For example, I want to create a…

---

## [UMG without blueprints](https://forums.unrealengine.com/t/umg-without-blueprints/36764)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_b99db473](https://forums.unrealengine.com/u/anonymous_user_b99db473)\
**Replies:** 11\
**Last updated:** [November 6, 2024, 5:18pm UTC](https://forums.unrealengine.com/t/umg-without-blueprints/36764 "2024-11-06T17:18:34Z")

</div>

I don’t really like using the blueprint system and am therefore trying to figure out how I would use UMG without it. But I’m having a hard time :slight\_smile: What I imagine is coding all the logic and set up in c++ an…

---

## [Trying to Learn Slate...](https://forums.unrealengine.com/t/trying-to-learn-slate/19264)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_a36a29c6](https://forums.unrealengine.com/u/anonymous_user_a36a29c6)\
**Replies:** 10\
**Last updated:** [November 6, 2024, 5:16pm UTC](https://forums.unrealengine.com/t/trying-to-learn-slate/19264 "2024-11-06T17:16:15Z")

</div>

So I’ve recently been trying to learn slate, taking a little bit of what I know about UMG with me… GEngine-&gt;GameViewport-&gt;AddViewportWidgetContent( SNew(SCanvas) + SCanvas::Slot() .HAlign(HAlign\_Center) .VAli…

---

## [Using a UMG widget in slate](https://forums.unrealengine.com/t/using-a-umg-widget-in-slate/128936)

<div class="topic-metadata">

**Author:** [@Antidamage](https://forums.unrealengine.com/u/Antidamage)\
**Replies:** 4\
**Last updated:** [November 6, 2024, 5:04pm UTC](https://forums.unrealengine.com/t/using-a-umg-widget-in-slate/128936 "2024-11-06T17:04:47Z")

</div>

I’ve been reading through all of the earlier posts on this for a few days but I’m unable to get this to work. FStringAssetReference ToolkitUIPath("EditorUtilityWidgetBlueprint'/HyperFoliagePlugin/UI/UI\_HFToolkitPan…

---

## [How to procedurally add components to a Blueprint in C++?](https://forums.unrealengine.com/t/how-to-procedurally-add-components-to-a-blueprint-in-c/2108009)

<div class="topic-metadata">

**Author:** [@JAuzanneau](https://forums.unrealengine.com/u/JAuzanneau)\
**Replies:** 2\
**Last updated:** [November 6, 2024, 3:25pm UTC](https://forums.unrealengine.com/t/how-to-procedurally-add-components-to-a-blueprint-in-c/2108009 "2024-11-06T15:25:52Z")

</div>

Hi, first, let me give a little explanation of what I want to accomplish: I want to add multiple components (both SceneComponents and ActorComponents) to my Actor Blueprint, programmatically, before using it. These comp…

---

## [Accessing contents of a .zip file](https://forums.unrealengine.com/t/accessing-contents-of-a-zip-file/28356)

<div class="topic-metadata">

**Author:** [@Gnometech](https://forums.unrealengine.com/u/Gnometech)\
**Replies:** 1\
**Last updated:** [December 21, 2022, 10:02am UTC](https://forums.unrealengine.com/t/accessing-contents-of-a-zip-file/28356 "2022-12-21T10:02:11Z")

</div>

Greetings! I’ve been searching the UE4 code base for a solution to this and so far haven’t found it. So I’ve come to you good people for help. I have a standard .zip file, such as one produced by WinRAR. It contains …

---

## [Manual Drift With Chaos Vehicles](https://forums.unrealengine.com/t/manual-drift-with-chaos-vehicles/2107474)

<div class="topic-metadata">

**Author:** [@SAGI11](https://forums.unrealengine.com/u/SAGI11)\
**Replies:** 0\
**Last updated:** [November 6, 2024, 8:09am UTC](https://forums.unrealengine.com/t/manual-drift-with-chaos-vehicles/2107474 "2024-11-06T08:09:26Z")

</div>

Hello! Like a lot of people I’m trying to make a drift for my car using Chaos Vehicles. I’m using UE5.4.4 and coding in C++. The issue is that I don’t seem to find a solution to make a manual drift. What I mean by that…

---

## [Streaming Level ShouldBeVisible Lag](https://forums.unrealengine.com/t/streaming-level-shouldbevisible-lag/791345)

<div class="topic-metadata">

**Author:** [@Zssork](https://forums.unrealengine.com/u/Zssork)\
**Replies:** 5\
**Last updated:** [November 5, 2024, 11:07pm UTC](https://forums.unrealengine.com/t/streaming-level-shouldbevisible-lag/791345 "2024-11-05T23:07:30Z")

</div>

Hi, i want to add a streaming level to be loaded in the background. I am using a ULevelStreamingDynamic StreamingLevel and add it with World-\>AddStreamingLevel(StreamingLevel);. I then hide the level again after loading …

---

## [Multiple Function Declarations for same Implementation give Error Message](https://forums.unrealengine.com/t/multiple-function-declarations-for-same-implementation-give-error-message/2105805)

<div class="topic-metadata">

**Author:** [@TH3\_D0C](https://forums.unrealengine.com/u/TH3_D0C)\
**Replies:** 3\
**Last updated:** [November 5, 2024, 8:20pm UTC](https://forums.unrealengine.com/t/multiple-function-declarations-for-same-implementation-give-error-message/2105805 "2024-11-05T20:20:08Z")

</div>

Hello, i am pretty new to CPP and following a tutorial. I have created a UFUNCTION that is BlueprintCallable and then the same function name to create a pure function. Then i get a error message, that my Functions conf…

---

## [ I would like to use Cascade Particle Asset in C++ to create Trail Effects.](https://forums.unrealengine.com/t/i-would-like-to-use-cascade-particle-asset-in-c-to-create-trail-effects/2106173)

<div class="topic-metadata">

**Author:** [@Blic\_acc](https://forums.unrealengine.com/u/Blic_acc)\
**Replies:** 0\
**Last updated:** [November 5, 2024, 3:46pm UTC](https://forums.unrealengine.com/t/i-would-like-to-use-cascade-particle-asset-in-c-to-create-trail-effects/2106173 "2024-11-05T15:46:41Z")

</div>

I would like to use Cascade Particle Asset in C++ to create Trail Effects. The way to create Trail Notify by “Add Notify State” in Anim Montage and specify Start Socket and End Socket is working fine. . . . . …

---

## [Packaging Error](https://forums.unrealengine.com/t/packaging-error/2105575)

<div class="topic-metadata">

**Author:** [@Tomasmotinhaspro](https://forums.unrealengine.com/u/Tomasmotinhaspro)\
**Replies:** 3\
**Last updated:** [November 5, 2024, 11:48am UTC](https://forums.unrealengine.com/t/packaging-error/2105575 "2024-11-05T11:48:49Z")

</div>

Blockquote Im getting this errors if someone can help me i got a time to send this project to school im so desperate

---

## [Unreal Engine C++ Base64 to Audio](https://forums.unrealengine.com/t/unreal-engine-c-base64-to-audio/1817236)

<div class="topic-metadata">

**Author:** [@busraozcan](https://forums.unrealengine.com/u/busraozcan)\
**Replies:** 1\
**Last updated:** [November 5, 2024, 7:03am UTC](https://forums.unrealengine.com/t/unreal-engine-c-base64-to-audio/1817236 "2024-11-05T07:03:17Z")

</div>

Hello everyone. I need to convert base64 string to audio. I get this string from blueprint and I use this string inside cpp code. I want to convert and play this sound. But I do not know how to do this. I tried convert …

---

## [Change Rendering Settings from C++](https://forums.unrealengine.com/t/change-rendering-settings-from-c/97979)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_64593dc8](https://forums.unrealengine.com/u/anonymous_user_64593dc8)\
**Replies:** 2\
**Last updated:** [November 5, 2024, 3:11am UTC](https://forums.unrealengine.com/t/change-rendering-settings-from-c/97979 "2024-11-05T03:11:05Z")

</div>

I’m so far using UGameUserSettings but I would like a more detailed access to the engine rendering features exposed in DefaultEngine.ini but I cannot find any info about it. I’ve noticed that URendererSettings exist b…

---

## [Accessing Vertex Positions of animated skeletal mesh](https://forums.unrealengine.com/t/accessing-vertex-positions-of-animated-skeletal-mesh/88779)

<div class="topic-metadata">

**Author:** [@ColibriLive](https://forums.unrealengine.com/u/ColibriLive)\
**Replies:** 10\
**Last updated:** [November 5, 2024, 12:03am UTC](https://forums.unrealengine.com/t/accessing-vertex-positions-of-animated-skeletal-mesh/88779 "2024-11-05T00:03:52Z")

</div>

Hi! I’m trying to track the vertex position of a skeletal mesh during an animation but the doc about skeletal mesh api is very poor. using SkMeshComponent-\>SkeletalMesh-\>GetResourceForRendering()-\>LODModels\[0\].GetVerti…

---

## [Fast way of accessing the vertices of a SkeletalMesh?](https://forums.unrealengine.com/t/fast-way-of-accessing-the-vertices-of-a-skeletalmesh/136118)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_433cae0f](https://forums.unrealengine.com/u/anonymous_user_433cae0f)\
**Replies:** 2\
**Last updated:** [November 5, 2024, 12:02am UTC](https://forums.unrealengine.com/t/fast-way-of-accessing-the-vertices-of-a-skeletalmesh/136118 "2024-11-05T00:02:08Z")

</div>

Hello, I’m currently developing a plugin for UE4.23. I’m looking for a solution to my problem that doesn’t involve modifying the source code of Unreal, the plugin needs to be able to stand on its own. I need to access …

---

## [Introducing the Open Unit Interval (OI) Number Library](https://forums.unrealengine.com/t/introducing-the-open-unit-interval-oi-number-library/2104927)

<div class="topic-metadata">

**Author:** [@a40yearold](https://forums.unrealengine.com/u/a40yearold)\
**Replies:** 0\
**Last updated:** [November 4, 2024, 8:08pm UTC](https://forums.unrealengine.com/t/introducing-the-open-unit-interval-oi-number-library/2104927 "2024-11-04T20:08:47Z")

</div>

Hi everyone, I’m excited to share a new tool I’ve been working on: the Open Unit Interval (OI) Mathematics Library. At its core, this library is just a wrapper for some proven concepts around bounded numbers and gradual…

---

## [The Foot placement node crashes my game](https://forums.unrealengine.com/t/the-foot-placement-node-crashes-my-game/1582491)

<div class="topic-metadata">

**Author:** [@AurumQuantum](https://forums.unrealengine.com/u/AurumQuantum)\
**Replies:** 1\
**Last updated:** [November 4, 2024, 6:50pm UTC](https://forums.unrealengine.com/t/the-foot-placement-node-crashes-my-game/1582491 "2024-11-04T18:50:24Z")

</div>

Hello! The Foot Placement node is crashing my game even in the editor. Does anybody know a workaround without the Unreal Engine custom modification? Thank you! Here is the crash message: Assertion failed: !PelvisTr…

---

## [Right way to spawn niagara system in multiplayer? (I'm looking for a condition to filter in replication)](https://forums.unrealengine.com/t/right-way-to-spawn-niagara-system-in-multiplayer-im-looking-for-a-condition-to-filter-in-replication/2102046)

<div class="topic-metadata">

**Author:** [@Ivan3z](https://forums.unrealengine.com/u/Ivan3z)\
**Replies:** 2\
**Last updated:** [November 4, 2024, 9:15am UTC](https://forums.unrealengine.com/t/right-way-to-spawn-niagara-system-in-multiplayer-im-looking-for-a-condition-to-filter-in-replication/2102046 "2024-11-04T09:15:13Z")

</div>

I have realized that the function ( UNiagaraFunctionLibrary::SpawnSystemAtLocation) returns nullptr in a given context in multiplayer. Case 1: When the player is the host it is executed only once and returns a valid po…

---

## [\[UE5.3.2\] Is There a Way To Write To The RenderTarget While Performing LensShift With CineCamera?](https://forums.unrealengine.com/t/ue5-3-2-is-there-a-way-to-write-to-the-rendertarget-while-performing-lensshift-with-cinecamera/2103871)

<div class="topic-metadata">

**Author:** [@Shino888](https://forums.unrealengine.com/u/Shino888)\
**Replies:** 0\
**Last updated:** [November 4, 2024, 8:44am UTC](https://forums.unrealengine.com/t/ue5-3-2-is-there-a-way-to-write-to-the-rendertarget-while-performing-lensshift-with-cinecamera/2103871 "2024-11-04T08:44:48Z")

</div>

Hi Everyone I would like to use C++ to perform a lens shift on a CineCamera and write the result to a render target. However, currently, one of the arguments of the function “void UCineCameraComponent::GetCameraView(fl…

---

## [GAS Activation failed tags don't work.](https://forums.unrealengine.com/t/gas-activation-failed-tags-dont-work/2103581)

<div class="topic-metadata">

**Author:** [@torano111](https://forums.unrealengine.com/u/torano111)\
**Replies:** 1\
**Last updated:** [November 4, 2024, 7:28am UTC](https://forums.unrealengine.com/t/gas-activation-failed-tags-dont-work/2103581 "2024-11-04T07:28:37Z")

</div>

I followed unofficial tutorial, adding gameplaytags to my project and adding them in DefaultGame.ini to bind with activation fail, in order to get activation failed tags work in my project, but it didn’t work. I just can…

---

## [Find all subclasses of a certain baseclass?](https://forums.unrealengine.com/t/find-all-subclasses-of-a-certain-baseclass/337736)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_882e135e](https://forums.unrealengine.com/u/anonymous_user_882e135e)\
**Replies:** 3\
**Last updated:** [November 3, 2024, 6:57pm UTC](https://forums.unrealengine.com/t/find-all-subclasses-of-a-certain-baseclass/337736 "2024-11-03T18:57:29Z")

</div>

I have an item-baseclass that is probably going to have a lot(100+) of subclasses. Is there a way to automatically get a reference to every subclass, so that I can spawn a random one out of that list? Or will I have to m…

---

## [When creating terrain, use ALandscape::Improt API to import, the layer information setting failed](https://forums.unrealengine.com/t/when-creating-terrain-use-alandscape-improt-api-to-import-the-layer-information-setting-failed/483653)

<div class="topic-metadata">

**Author:** [@DysonUnity](https://forums.unrealengine.com/u/DysonUnity)\
**Replies:** 3\
**Last updated:** [November 3, 2024, 6:49pm UTC](https://forums.unrealengine.com/t/when-creating-terrain-use-alandscape-improt-api-to-import-the-layer-information-setting-failed/483653 "2024-11-03T18:49:34Z")

</div>

When using the ALandscape::Improt API,I want to set the layer information to the layer I saved before,but my setting fails, Below is my code. void FImpotLandModule::CreatLandScape(FString heightMapPath) { UWorld\* wo…

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

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