# C++

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

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

**Page:** 47

---

## [\[Line: 365\] Shader compilation failures are Fatal.](https://forums.unrealengine.com/t/line-365-shader-compilation-failures-are-fatal/1927727)

<div class="topic-metadata">

**Author:** [@edisombreis](https://forums.unrealengine.com/u/edisombreis)\
**Replies:** 1\
**Last updated:** [March 17, 2025, 1:48am UTC](https://forums.unrealengine.com/t/line-365-shader-compilation-failures-are-fatal/1927727 "2025-03-17T01:48:10Z")

</div>

Não sei onde procurar ajuda, por isso estou tentando aqui. Estou com esse erro depois que o jogo gray zone warfare atualizou. Já instalei tudo de novo, inclusive o windows, comecei do zero… O interessante que não poss…

---

## [C++ structs not showing up in UE4 editor despite trying for hours.](https://forums.unrealengine.com/t/c-structs-not-showing-up-in-ue4-editor-despite-trying-for-hours/144728)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_adc3f730](https://forums.unrealengine.com/u/anonymous_user_adc3f730)\
**Replies:** 7\
**Last updated:** [March 17, 2025, 12:57am UTC](https://forums.unrealengine.com/t/c-structs-not-showing-up-in-ue4-editor-despite-trying-for-hours/144728 "2025-03-17T00:57:52Z")

</div>

Here is my code: However, when I go in the UE4 editor to import a data table… the struct doesn’t show up as an option to select. Any ideas?

---

## [SetPositionInVieport don't work correctly ](https://forums.unrealengine.com/t/setpositioninvieport-dont-work-correctly/2392822)

<div class="topic-metadata">

**Author:** [@METRO\_O](https://forums.unrealengine.com/u/METRO_O)\
**Replies:** 0\
**Last updated:** [March 16, 2025, 1:03pm UTC](https://forums.unrealengine.com/t/setpositioninvieport-dont-work-correctly/2392822 "2025-03-16T13:03:27Z")

</div>

I’m trying to make an inventory item management widget that should appear when you right click on an item. I create this widget and set the mouse position to the widget. The problem is that the widget does not appear ne…

---

## [Cannot open include file: 'initializer\_list': No such file or directory](https://forums.unrealengine.com/t/cannot-open-include-file-initializer_list-no-such-file-or-directory/210457)

<div class="topic-metadata">

**Author:** [@Chameleon1326](https://forums.unrealengine.com/u/Chameleon1326)\
**Replies:** 2\
**Last updated:** [March 15, 2025, 10:13pm UTC](https://forums.unrealengine.com/t/cannot-open-include-file-initializer_list-no-such-file-or-directory/210457 "2025-03-15T22:13:03Z")

</div>

\*\*Hello, \*\* I was trying to compile my project in UE4 editor but i received this error: Cannot open include file: ‘initializer\_list’: No such file or directory (Screen #1) I tried to build project from Visual Studio 2…

---

## [Splitscreen: Niagara Fluids not visible on both cameras](https://forums.unrealengine.com/t/splitscreen-niagara-fluids-not-visible-on-both-cameras/2391779)

<div class="topic-metadata">

**Author:** [@Nebko](https://forums.unrealengine.com/u/Nebko)\
**Replies:** 0\
**Last updated:** [March 15, 2025, 10:06pm UTC](https://forums.unrealengine.com/t/splitscreen-niagara-fluids-not-visible-on-both-cameras/2391779 "2025-03-15T22:06:00Z")

</div>

Hey everyone, I’m playing around with Niagara Fluids and have created an explosion effect. However, in splitscreen mode this effect is only visible on one side - but then twice! If player1 is standing away from player2 …

---

## [Having trouble with packaging my UE project.](https://forums.unrealengine.com/t/having-trouble-with-packaging-my-ue-project/2360623)

<div class="topic-metadata">

**Author:** [@Mr.Jablicko](https://forums.unrealengine.com/u/Mr.Jablicko)\
**Replies:** 5\
**Last updated:** [March 15, 2025, 2:40pm UTC](https://forums.unrealengine.com/t/having-trouble-with-packaging-my-ue-project/2360623 "2025-03-15T14:40:46Z")

</div>

I have been having problem compiling my project. It says that it cannot open delayimp.lib, but i have no idea how to fix it. Also im really new to unreal so i dont realy have mutch expirience with these kinds of problems…

---

## [FindSessionById in Online Subsystem Steam](https://forums.unrealengine.com/t/findsessionbyid-in-online-subsystem-steam/234309)

<div class="topic-metadata">

**Author:** [@Neoptolemus](https://forums.unrealengine.com/u/Neoptolemus)\
**Replies:** 6\
**Last updated:** [March 15, 2025, 11:49am UTC](https://forums.unrealengine.com/t/findsessionbyid-in-online-subsystem-steam/234309 "2025-03-15T11:49:32Z")

</div>

Hi all, I’m running a 4.26 source build, and I want to enable a player to join a game directly from a Steam friends list or through a Steam invite. I already have this working if the invitee is already running the game,…

---

## [5.5.3 how to properly set skeletal mesh of a metahuman to a child of actor in c++ ](https://forums.unrealengine.com/t/5-5-3-how-to-properly-set-skeletal-mesh-of-a-metahuman-to-a-child-of-actor-in-c/2387683)

<div class="topic-metadata">

**Author:** [@TekMasterGaming](https://forums.unrealengine.com/u/TekMasterGaming)\
**Replies:** 1\
**Last updated:** [March 14, 2025, 8:28pm UTC](https://forums.unrealengine.com/t/5-5-3-how-to-properly-set-skeletal-mesh-of-a-metahuman-to-a-child-of-actor-in-c/2387683 "2025-03-14T20:28:31Z")

</div>

I have a custom actor that I am trying to add to my level and for the life of me I’ve tried tons of examples and cannot get the mesh assigned to the Model that I created any help greatly appreciated. void ANPCCharacter:…

---

## [A quick question on building the engine from visual studio.](https://forums.unrealengine.com/t/a-quick-question-on-building-the-engine-from-visual-studio/2389640)

<div class="topic-metadata">

**Author:** [@PsyKuKiller](https://forums.unrealengine.com/u/PsyKuKiller)\
**Replies:** 1\
**Last updated:** [March 14, 2025, 6:40pm UTC](https://forums.unrealengine.com/t/a-quick-question-on-building-the-engine-from-visual-studio/2389640 "2025-03-14T18:40:42Z")

</div>

Does it matter if I pressed right click on the engine’s main file and chose clean and build, versus pressing on the tab of the visual studio window itself that is named ‘Build’ and chose to ‘clean solution’, and ‘build s…

---

## [Python interference](https://forums.unrealengine.com/t/python-interference/2389874)

<div class="topic-metadata">

**Author:** [@YobiRobert](https://forums.unrealengine.com/u/YobiRobert)\
**Replies:** 0\
**Last updated:** [March 14, 2025, 3:26pm UTC](https://forums.unrealengine.com/t/python-interference/2389874 "2025-03-14T15:26:07Z")

</div>

I am the developer of Yothon, a plugin that runs python at runtime in UE5. I can start a python process independently from the Unreal Python, everything works great when the Yothon python version is not the same as of th…

---

## [Inventory actor component](https://forums.unrealengine.com/t/inventory-actor-component/2384761)

<div class="topic-metadata">

**Author:** [@MARZ64331](https://forums.unrealengine.com/u/MARZ64331)\
**Replies:** 4\
**Last updated:** [March 14, 2025, 10:51am UTC](https://forums.unrealengine.com/t/inventory-actor-component/2384761 "2025-03-14T10:51:51Z")

</div>

I have an actor component which is for a player’s inventory, but I have all the basics done like adding, removing, finding, and if the player has the item but I need update the logic after its added or removed based on t…

---

## [Unreal Engine 4 Compiler Warning License is invalid](https://forums.unrealengine.com/t/unreal-engine-4-compiler-warning-license-is-invalid/146055)

<div class="topic-metadata">

**Author:** [@Punal100](https://forums.unrealengine.com/u/Punal100)\
**Replies:** 8\
**Last updated:** [March 14, 2025, 7:11am UTC](https://forums.unrealengine.com/t/unreal-engine-4-compiler-warning-license-is-invalid/146055 "2025-03-14T07:11:28Z")

</div>

Hello Everyone, This is my first post here in the forum! please do tell me if i am unclear with my question!. My Unreal Engine Version is 4.25.1 I am using Rider 201.7189.55 as compiler I Started Getting this warnin…

---

## [How to make a custom tick system / gameloop](https://forums.unrealengine.com/t/how-to-make-a-custom-tick-system-gameloop/2387191)

<div class="topic-metadata">

**Author:** [@Sigmundrr](https://forums.unrealengine.com/u/Sigmundrr)\
**Replies:** 2\
**Last updated:** [March 14, 2025, 12:43am UTC](https://forums.unrealengine.com/t/how-to-make-a-custom-tick-system-gameloop/2387191 "2025-03-14T00:43:12Z")

</div>

I asked this question already in Unreal slackers, but I hope to get some more insights and maybe also provide a “cite” for people facing a similar problem. I would implement it similar to this in simplified/plain c++: v…

---

## [Guidance to Implementing Draw Material to Volume Render Target? ](https://forums.unrealengine.com/t/guidance-to-implementing-draw-material-to-volume-render-target/2388321)

<div class="topic-metadata">

**Author:** [@Zij-J](https://forums.unrealengine.com/u/Zij-J)\
**Replies:** 0\
**Last updated:** [March 13, 2025, 2:42pm UTC](https://forums.unrealengine.com/t/guidance-to-implementing-draw-material-to-volume-render-target/2388321 "2025-03-13T14:42:36Z")

</div>

Hi everyone, I googled around and it seems like “Draw Material to Volume Render Target” isn’t implemented yet. I want to utilize my C++/HLSL experience(enough to understand Godot source code) to implement it and I want…

---

## [Velocity vanish when I am standing right next to an object ](https://forums.unrealengine.com/t/velocity-vanish-when-i-am-standing-right-next-to-an-object/2363366)

<div class="topic-metadata">

**Author:** [@I-AM-COPPER](https://forums.unrealengine.com/u/I-AM-COPPER)\
**Replies:** 5\
**Last updated:** [March 13, 2025, 1:21pm UTC](https://forums.unrealengine.com/t/velocity-vanish-when-i-am-standing-right-next-to-an-object/2363366 "2025-03-13T13:21:00Z")

</div>

Hey all, I have a little question which I have been scratching my head for an answer. I am currently developing a game which involves relative time. In order to achieve that gracefully, I modified the unreal engine to i…

---

## [Build error with method UMotionMatchingAnimNodeLibrary (Pose Search Plugin)](https://forums.unrealengine.com/t/build-error-with-method-umotionmatchinganimnodelibrary-pose-search-plugin/2368722)

<div class="topic-metadata">

**Author:** [@InvQuasar](https://forums.unrealengine.com/u/InvQuasar)\
**Replies:** 5\
**Last updated:** [March 13, 2025, 12:05pm UTC](https://forums.unrealengine.com/t/build-error-with-method-umotionmatchinganimnodelibrary-pose-search-plugin/2368722 "2025-03-13T12:05:52Z")

</div>

Hello everyone! I have a problem with the build when using I’m UMotionMatchingAnimNodeLibrary::OverrideMotionMatchingBlendSettings (Pose Search Plugin #include "PoseSearch/MotionMatchingAnimNodeLibrary.h"). There is a …

---

## [only render parts of render texture with scene capture component](https://forums.unrealengine.com/t/only-render-parts-of-render-texture-with-scene-capture-component/2378886)

<div class="topic-metadata">

**Author:** [@Ytarameaiden](https://forums.unrealengine.com/u/Ytarameaiden)\
**Replies:** 2\
**Last updated:** [March 12, 2025, 9:26pm UTC](https://forums.unrealengine.com/t/only-render-parts-of-render-texture-with-scene-capture-component/2378886 "2025-03-12T21:26:36Z")

</div>

Im wondering how id make a scene capture component not render the entire render texture and instead, just a small portion of it. this is to save a bit of performance, just a small tip or lead on what to do would help a …

---

## [Inability to unload an object from memory](https://forums.unrealengine.com/t/inability-to-unload-an-object-from-memory/2385870)

<div class="topic-metadata">

**Author:** [@blAddddDe](https://forums.unrealengine.com/u/blAddddDe)\
**Replies:** 2\
**Last updated:** [March 12, 2025, 4:00pm UTC](https://forums.unrealengine.com/t/inability-to-unload-an-object-from-memory/2385870 "2025-03-12T16:00:12Z")

</div>

Good afternoon/evening/morning. The more I learn about PDA and AssetManager, the faster I go crazy. Today I encountered a new problem: object (Primary Data Asset ) is not unloaded from memory. I run ForceGC and check …

---

## [Modify Nav Movement attributes in C++ (On UCharacterMovementComponent)](https://forums.unrealengine.com/t/modify-nav-movement-attributes-in-c-on-ucharactermovementcomponent/106680)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_3f563752](https://forums.unrealengine.com/u/anonymous_user_3f563752)\
**Replies:** 8\
**Last updated:** [March 12, 2025, 3:57pm UTC](https://forums.unrealengine.com/t/modify-nav-movement-attributes-in-c-on-ucharactermovementcomponent/106680 "2025-03-12T15:57:43Z")

</div>

It wont let me post an image so here is a direct link: http://https://i.imgur.com/nKivSKe.png I’m trying to modify the variables that can be seen in blueprints, on an inherited CharacterMovementComponent on a character…

---

## [Landscape puddles](https://forums.unrealengine.com/t/landscape-puddles/2386426)

<div class="topic-metadata">

**Author:** [@proxyyt5](https://forums.unrealengine.com/u/proxyyt5)\
**Replies:** 2\
**Last updated:** [March 12, 2025, 12:15pm UTC](https://forums.unrealengine.com/t/landscape-puddles/2386426 "2025-03-12T12:15:17Z")

</div>

How can i paint puddles in layered landscape?

---

## [UE5 When trying to play audio in BinkMedia on macOS, audio is only played from the left speaker.](https://forums.unrealengine.com/t/ue5-when-trying-to-play-audio-in-binkmedia-on-macos-audio-is-only-played-from-the-left-speaker/1170177)

<div class="topic-metadata">

**Author:** [@ayumu375](https://forums.unrealengine.com/u/ayumu375)\
**Replies:** 1\
**Last updated:** [March 12, 2025, 9:53am UTC](https://forums.unrealengine.com/t/ue5-when-trying-to-play-audio-in-binkmedia-on-macos-audio-is-only-played-from-the-left-speaker/1170177 "2025-03-12T09:53:43Z")

</div>

We are currently developing a cross-platform title and have implemented the ability to play .bk2 using BinkMedia in UE5 and found that the audio plays only from the left speaker. We have confirmed a similar implementatio…

---

## [pdb file generated, but crash doesn't have line numbers](https://forums.unrealengine.com/t/pdb-file-generated-but-crash-doesnt-have-line-numbers/140701)

<div class="topic-metadata">

**Author:** [@nafonso](https://forums.unrealengine.com/u/nafonso)\
**Replies:** 1\
**Last updated:** [March 12, 2025, 7:48am UTC](https://forums.unrealengine.com/t/pdb-file-generated-but-crash-doesnt-have-line-numbers/140701 "2025-03-12T07:48:02Z")

</div>

Hey guys, I’m having an issue with not being able to properly debug crashes. I tried generating both debug and development builds, with include debug files on, but when there’s a crash there’s a callstack but no line nu…

---

## [Engine Crashes on Startup](https://forums.unrealengine.com/t/engine-crashes-on-startup/2386110)

<div class="topic-metadata">

**Author:** [@vster](https://forums.unrealengine.com/u/vster)\
**Replies:** 1\
**Last updated:** [March 12, 2025, 4:26am UTC](https://forums.unrealengine.com/t/engine-crashes-on-startup/2386110 "2025-03-12T04:26:33Z")

</div>

I added DLSS 4 to my game which came with NIS. When running the project through XCode I would get this error: \[File:Runtime/Apple/MetalRHI/Private/Shaders/Types/Templates/MetalBaseShader.h\] \[Line: 449\].

---

## [NNE RDG ONNX operator TopK is not registered ](https://forums.unrealengine.com/t/nne-rdg-onnx-operator-topk-is-not-registered/2385929)

<div class="topic-metadata">

**Author:** [@Leonid-2019](https://forums.unrealengine.com/u/Leonid-2019)\
**Replies:** 0\
**Last updated:** [March 12, 2025, 1:03am UTC](https://forums.unrealengine.com/t/nne-rdg-onnx-operator-topk-is-not-registered/2385929 "2025-03-12T01:03:54Z")

</div>

LogNNERuntimeRDGHlsl: Warning: Operator: Onnx:TopK:1 is not registered LogNNERuntimeRDGHlsl: Warning: Operator: Onnx:TopK:1 is not registered LogNNERuntimeRDGHlsl: Warning: OperatorRegistry failed to find validation for …

---

## [when creating actor auto-generated scripts have errors inside of them](https://forums.unrealengine.com/t/when-creating-actor-auto-generated-scripts-have-errors-inside-of-them/2385864)

<div class="topic-metadata">

**Author:** [@OnlyKangaroo32](https://forums.unrealengine.com/u/OnlyKangaroo32)\
**Replies:** 0\
**Last updated:** [March 12, 2025, 12:03am UTC](https://forums.unrealengine.com/t/when-creating-actor-auto-generated-scripts-have-errors-inside-of-them/2385864 "2025-03-12T00:03:44Z")

</div>

When creating a new actor (base C++ actor class) and when opening up the script for the first time, when it should be unmodified from the base one, there are already 4 errors. they include some #uses, and as a new C++ an…

---

## [Blood(1997)-like dynamic weapon widget](https://forums.unrealengine.com/t/blood-1997-like-dynamic-weapon-widget/2066381)

<div class="topic-metadata">

**Author:** [@timbrazh](https://forums.unrealengine.com/u/timbrazh)\
**Replies:** 1\
**Last updated:** [March 11, 2025, 10:54pm UTC](https://forums.unrealengine.com/t/blood-1997-like-dynamic-weapon-widget/2066381 "2025-03-11T22:54:43Z")

</div>

Hi all! There is an array with weapons, to which any number of weapons can be added in any sequence. This weapon scrolls cyclically, ammo values and icons are displayed on the widget. How do I make a widget that would di…

---

## [Has anyone been able to convert this 4.27 project to unreal 5?](https://forums.unrealengine.com/t/has-anyone-been-able-to-convert-this-4-27-project-to-unreal-5/2382627)

<div class="topic-metadata">

**Author:** [@BlueEyedJabber](https://forums.unrealengine.com/u/BlueEyedJabber)\
**Replies:** 17\
**Last updated:** [March 11, 2025, 1:14pm UTC](https://forums.unrealengine.com/t/has-anyone-been-able-to-convert-this-4-27-project-to-unreal-5/2382627 "2025-03-11T13:14:32Z")

</div>

I am trying to convert this 4.27 project to 5.5. I was curious if anyone was able to or if someone could help me?

---

## [How to calculate the current week number in a year.](https://forums.unrealengine.com/t/how-to-calculate-the-current-week-number-in-a-year/94158)

<div class="topic-metadata">

**Author:** [@Vi-So\_Construct](https://forums.unrealengine.com/u/Vi-So_Construct)\
**Replies:** 1\
**Last updated:** [March 11, 2025, 12:09pm UTC](https://forums.unrealengine.com/t/how-to-calculate-the-current-week-number-in-a-year/94158 "2025-03-11T12:09:40Z")

</div>

Hey guys! For my program i need the current week number of the year. I looked in FDateTime:: but there is nothing in there that can help. I see alot of c++ syntax on the web but not suitable for ue4. Any one know how …

---

## [A question about the format of paths of included files](https://forums.unrealengine.com/t/a-question-about-the-format-of-paths-of-included-files/2384895)

<div class="topic-metadata">

**Author:** [@PsyKuKiller](https://forums.unrealengine.com/u/PsyKuKiller)\
**Replies:** 0\
**Last updated:** [March 11, 2025, 11:23am UTC](https://forums.unrealengine.com/t/a-question-about-the-format-of-paths-of-included-files/2384895 "2025-03-11T11:23:04Z")

</div>

If I wanted to include a file like CoreMinimal.h, or Actor.h, etc, in one of the header files (or cpp) of my game project, then what is the best way to type the path of the needed inclusion? I have just rebuilt the engi…

---

## [Spawned actors visible after stopping, not during play ](https://forums.unrealengine.com/t/spawned-actors-visible-after-stopping-not-during-play/2383514)

<div class="topic-metadata">

**Author:** [@LGDExplorer](https://forums.unrealengine.com/u/LGDExplorer)\
**Replies:** 1\
**Last updated:** [March 11, 2025, 3:09am UTC](https://forums.unrealengine.com/t/spawned-actors-visible-after-stopping-not-during-play/2383514 "2025-03-11T03:09:50Z")

</div>

I’ve created a blueprint function SliceToolTest, that is exposed to blueprint. In this function some ASliceActor should be spawned, but I cannot see them during play, I need to stop the game for them to appear. If I stop…

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

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