# C++

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

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

**Page:** 69

---

## [Choose clients receiving updates from Custom Struct Serialization Networking](https://forums.unrealengine.com/t/choose-clients-receiving-updates-from-custom-struct-serialization-networking/2140301)

<div class="topic-metadata">

**Author:** [@Supermatta321](https://forums.unrealengine.com/u/Supermatta321)\
**Replies:** 0\
**Last updated:** [November 21, 2024, 9:25am UTC](https://forums.unrealengine.com/t/choose-clients-receiving-updates-from-custom-struct-serialization-networking/2140301 "2024-11-21T09:25:01Z")

</div>

How do i choose which clients the server are sending the updates from Custom Struct Serialization Networking to?

---

## [Importing objects in real time running game\\project](https://forums.unrealengine.com/t/importing-objects-in-real-time-running-game-project/2138743)

<div class="topic-metadata">

**Author:** [@Mightysnipe13](https://forums.unrealengine.com/u/Mightysnipe13)\
**Replies:** 0\
**Last updated:** [November 20, 2024, 9:08pm UTC](https://forums.unrealengine.com/t/importing-objects-in-real-time-running-game-project/2138743 "2024-11-20T21:08:03Z")

</div>

I’m building a game for Oculus-VR and I want to create an interface in C++ to have the possibility to import objects in run time or before runtime but through the interface I’m making. any suggestions?

---

## [How to Get Detailed Memory informaton for Each Shader when game running?](https://forums.unrealengine.com/t/how-to-get-detailed-memory-informaton-for-each-shader-when-game-running/2137963)

<div class="topic-metadata">

**Author:** [@Ruiqi777x](https://forums.unrealengine.com/u/Ruiqi777x)\
**Replies:** 0\
**Last updated:** [November 20, 2024, 4:17pm UTC](https://forums.unrealengine.com/t/how-to-get-detailed-memory-informaton-for-each-shader-when-game-running/2137963 "2024-11-20T16:17:05Z")

</div>

I am currently able to track the overall memory size for shaders using the STAT LLMFULL command. However, I want to go further and obtain detailed information about each shader instance, including: • The number of shade…

---

## [TArray elements editable in editor never gonna happen?](https://forums.unrealengine.com/t/tarray-elements-editable-in-editor-never-gonna-happen/349939)

<div class="topic-metadata">

**Author:** [@OmicronNEGA](https://forums.unrealengine.com/u/OmicronNEGA)\
**Replies:** 8\
**Last updated:** [November 20, 2024, 4:16pm UTC](https://forums.unrealengine.com/t/tarray-elements-editable-in-editor-never-gonna-happen/349939 "2024-11-20T16:16:01Z")

</div>

Firstly, this is not a duplicated question. I have a class member TArray\<USceneComponent\*\> ActorsOnEachNote; I created some USceneComponent instances and added to this array. Then I want to edit these instance in edi…

---

## [How to Get Detailed Memory informaton for Each Shader when game running?](https://forums.unrealengine.com/t/how-to-get-detailed-memory-informaton-for-each-shader-when-game-running/2137910)

<div class="topic-metadata">

**Author:** [@Ruiqi777x](https://forums.unrealengine.com/u/Ruiqi777x)\
**Replies:** 0\
**Last updated:** [November 20, 2024, 3:49pm UTC](https://forums.unrealengine.com/t/how-to-get-detailed-memory-informaton-for-each-shader-when-game-running/2137910 "2024-11-20T15:49:35Z")

</div>

I am currently able to track the overall memory size for shaders using the STAT LLMFULL command. However, I want to go further and obtain detailed information about each shader instance, including: • The number of shad…

---

## [How to draw lines under certain widgets/UI elements?](https://forums.unrealengine.com/t/how-to-draw-lines-under-certain-widgets-ui-elements/2134979)

<div class="topic-metadata">

**Author:** [@Justrenis](https://forums.unrealengine.com/u/Justrenis)\
**Replies:** 3\
**Last updated:** [November 20, 2024, 1:51pm UTC](https://forums.unrealengine.com/t/how-to-draw-lines-under-certain-widgets-ui-elements/2134979 "2024-11-20T13:51:37Z")

</div>

The drawn lines should be under the nodes(those robots images) and under the UI from outercanvas(outercanvas and innercanvas are used for panning and zooming)

---

## [How can I declare this blueprint event in C++?](https://forums.unrealengine.com/t/how-can-i-declare-this-blueprint-event-in-c/2137286)

<div class="topic-metadata">

**Author:** [@ViaCognita](https://forums.unrealengine.com/u/ViaCognita)\
**Replies:** 3\
**Last updated:** [November 20, 2024, 11:35am UTC](https://forums.unrealengine.com/t/how-can-i-declare-this-blueprint-event-in-c/2137286 "2024-11-20T11:35:24Z")

</div>

Hey there! I have this custom blueprint player controller class with these events: This blueprint class inherits from a C++ class. I want to move their declaration to the C++ class, but I have no idea. How can I de…

---

## [Malloc slack and waste](https://forums.unrealengine.com/t/malloc-slack-and-waste/2137306)

<div class="topic-metadata">

**Author:** [@milantaticek1](https://forums.unrealengine.com/u/milantaticek1)\
**Replies:** 2\
**Last updated:** [November 20, 2024, 10:49am UTC](https://forums.unrealengine.com/t/malloc-slack-and-waste/2137306 "2024-11-20T10:49:20Z")

</div>

Hello, I have a question regarding memory slack and waste in UE 5.4. I am trying to reduce memory consumption and using DUMPALLOCS I noticed that we have about 91% malloc efficiency. The slack memory was about 200MB and…

---

## [C++ n00b - how Modifie the LyraTeamSubsystem](https://forums.unrealengine.com/t/c-n00b-how-modifie-the-lyrateamsubsystem/2136880)

<div class="topic-metadata">

**Author:** [@greatmazingerz](https://forums.unrealengine.com/u/greatmazingerz)\
**Replies:** 0\
**Last updated:** [November 20, 2024, 6:05am UTC](https://forums.unrealengine.com/t/c-n00b-how-modifie-the-lyrateamsubsystem/2136880 "2024-11-20T06:05:42Z")

</div>

Hello. I would like to revamp the Lyrateamsubsystem or maybe other place i would like to define what team can give damage or not depending on TeamID (not depending or same team or not ) or in the future depending of ac…

---

## ['SetPortW': is not a member of 'FInternetAddr'](https://forums.unrealengine.com/t/setportw-is-not-a-member-of-finternetaddr/435236)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_a4527b60](https://forums.unrealengine.com/u/anonymous_user_a4527b60)\
**Replies:** 3\
**Last updated:** [November 20, 2024, 4:18am UTC](https://forums.unrealengine.com/t/setportw-is-not-a-member-of-finternetaddr/435236 "2024-11-20T04:18:51Z")

</div>

Hi guys, I’m trying to connect my socket by using FInternetAddr. I followed this one A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums but after build, I got this error: ‘S…

---

## [\[GAS\] Attribute Set disseapearing after restarting project](https://forums.unrealengine.com/t/gas-attribute-set-disseapearing-after-restarting-project/2136558)

<div class="topic-metadata">

**Author:** [@Razorowl](https://forums.unrealengine.com/u/Razorowl)\
**Replies:** 0\
**Last updated:** [November 20, 2024, 2:12am UTC](https://forums.unrealengine.com/t/gas-attribute-set-disseapearing-after-restarting-project/2136558 "2024-11-20T02:12:40Z")

</div>

I managed to setup C++ GAS system in Unreal, and initially it seemed to work as I was able to insert the Attribute Set on my Ability System Component(ASC). (see image attached) The issue is that this option dissapears a…

---

## [Update Datatable (or any other datastructure) during editor time](https://forums.unrealengine.com/t/update-datatable-or-any-other-datastructure-during-editor-time/2113497)

<div class="topic-metadata">

**Author:** [@M411](https://forums.unrealengine.com/u/M411)\
**Replies:** 1\
**Last updated:** [November 19, 2024, 9:16pm UTC](https://forums.unrealengine.com/t/update-datatable-or-any-other-datastructure-during-editor-time/2113497 "2024-11-19T21:16:49Z")

</div>

So, I’m tryin to make an that can between different poi (points of interest) in the world, but i want to find a better way to store them. Currently im storing them in a usavegame, that gets them every time i start the ga…

---

## [VSCode extension Unreal Clangd v2.6.0 (Unreal Source file support, UE5.5 support, Mac fix?), + new extension](https://forums.unrealengine.com/t/vscode-extension-unreal-clangd-v2-6-0-unreal-source-file-support-ue5-5-support-mac-fix-new-extension/2134890)

<div class="topic-metadata">

**Author:** [@boocs\_ved](https://forums.unrealengine.com/u/boocs_ved)\
**Replies:** 1\
**Last updated:** [November 19, 2024, 9:01pm UTC](https://forums.unrealengine.com/t/vscode-extension-unreal-clangd-v2-6-0-unreal-source-file-support-ue5-5-support-mac-fix-new-extension/2134890 "2024-11-19T21:01:58Z")

</div>

Just sayin, recently Rider was made free for non-commercial use: Rider – the ultimate IDE for Unreal Engine | JetBrains: Developer Tools for Professionals and Teams Why use VSCode then? Extensions and AI ecosystem cla…

---

## [For those with heap issues regardless version and error on final step compiling unreal source code](https://forums.unrealengine.com/t/for-those-with-heap-issues-regardless-version-and-error-on-final-step-compiling-unreal-source-code/2135487)

<div class="topic-metadata">

**Author:** [@enga](https://forums.unrealengine.com/u/enga)\
**Replies:** 0\
**Last updated:** [November 19, 2024, 3:51pm UTC](https://forums.unrealengine.com/t/for-those-with-heap-issues-regardless-version-and-error-on-final-step-compiling-unreal-source-code/2135487 "2024-11-19T15:51:29Z")

</div>

After generating project file go into if u cant see i attached snippet code to my usename, so just click there UnrealEngine\\Engine\\Saved\\UnrealBuildTool\\BuildConfiguration.xml to this to alow your computer to compile w…

---

## [Packaging failed : Duplicate symbol - UE V5.4 - Mac](https://forums.unrealengine.com/t/packaging-failed-duplicate-symbol-ue-v5-4-mac/2055969)

<div class="topic-metadata">

**Author:** [@FungiDreamStudio](https://forums.unrealengine.com/u/FungiDreamStudio)\
**Replies:** 3\
**Last updated:** [November 19, 2024, 4:08pm UTC](https://forums.unrealengine.com/t/packaging-failed-duplicate-symbol-ue-v5-4-mac/2055969 "2024-11-19T16:08:07Z")

</div>

Hi, I’m trying to package my project with Unreal Engine 5.4 on Mac. Packaging failed! It tells me that there are file duplication problems. The same project is packaged correctly in version 5.3. Have you ever encountered…

---

## [引入头文件#include"Camera/CameraComponent.h"无法作用](https://forums.unrealengine.com/t/include-camera-cameracomponent-h/445401)

<div class="topic-metadata">

**Author:** [@Anonymous\_aa77ddac2746c6c2103980375be90c2d](https://forums.unrealengine.com/u/Anonymous_aa77ddac2746c6c2103980375be90c2d)\
**Replies:** 2\
**Last updated:** [November 19, 2024, 2:47pm UTC](https://forums.unrealengine.com/t/include-camera-cameracomponent-h/445401 "2024-11-19T14:47:37Z")

</div>

在.cpp文件里

---

## [Initial ChaosVehicle speed](https://forums.unrealengine.com/t/initial-chaosvehicle-speed/1906742)

<div class="topic-metadata">

**Author:** [@Antokog](https://forums.unrealengine.com/u/Antokog)\
**Replies:** 1\
**Last updated:** [November 19, 2024, 2:41pm UTC](https://forums.unrealengine.com/t/initial-chaosvehicle-speed/1906742 "2024-11-19T14:41:34Z")

</div>

Im making kind of endless racing game, and a problem is - I need to spawn vehicles with certain speed, so it dont ruin highway movement. There are ForwardSpeed variable in FVehicleState struct in ChaosVehicleMovementCom…

---

## [Getting height value of x,y coordinate of Landscape](https://forums.unrealengine.com/t/getting-height-value-of-x-y-coordinate-of-landscape/152117)

<div class="topic-metadata">

**Author:** [@hellobomm](https://forums.unrealengine.com/u/hellobomm)\
**Replies:** 4\
**Last updated:** [November 19, 2024, 1:54pm UTC](https://forums.unrealengine.com/t/getting-height-value-of-x-y-coordinate-of-landscape/152117 "2024-11-19T13:54:33Z")

</div>

Hello guys, I am stuck with an apparently simple problem: How can I get the height of a Landscape at a certain x,y coordinate in c++? Any help is hiiighly welcome :slight\_smile: Greez, Alex

---

## [Call interface BlueprintNativeEvent in editor from C++](https://forums.unrealengine.com/t/call-interface-blueprintnativeevent-in-editor-from-c/2135204)

<div class="topic-metadata">

**Author:** [@STRiFE.x](https://forums.unrealengine.com/u/STRiFE.x)\
**Replies:** 0\
**Last updated:** [November 19, 2024, 1:02pm UTC](https://forums.unrealengine.com/t/call-interface-blueprintnativeevent-in-editor-from-c/2135204 "2024-11-19T13:02:41Z")

</div>

I needed to call a BlueprintNativeEvent on an actor’s interface that exists in the editor world as part of a tool. I could not find a definitive post online, so for future reference here’s my solution: Function definiti…

---

## [New Visual Studio installation and new UE5.5 project](https://forums.unrealengine.com/t/new-visual-studio-installation-and-new-ue5-5-project/2127771)

<div class="topic-metadata">

**Author:** [@DavidOConnor](https://forums.unrealengine.com/u/DavidOConnor)\
**Replies:** 1\
**Last updated:** [November 19, 2024, 5:05am UTC](https://forums.unrealengine.com/t/new-visual-studio-installation-and-new-ue5-5-project/2127771 "2024-11-19T05:05:24Z")

</div>

UE5.5 seems to be building fine, but the brand new C++ project won’t build… throwing the following error: The command ““D:\\Epic Games\\UE\_5.5\\Engine\\Build\\BatchFiles\\Build.bat” AEditor Win64 Development -Project=“C:\\User…

---

## [Setting the material of a UStaticMesh built from Mesh Descriptions at runtime](https://forums.unrealengine.com/t/setting-the-material-of-a-ustaticmesh-built-from-mesh-descriptions-at-runtime/748250)

<div class="topic-metadata">

**Author:** [@luke\_micro\_01](https://forums.unrealengine.com/u/luke_micro_01)\
**Replies:** 3\
**Last updated:** [November 19, 2024, 2:09am UTC](https://forums.unrealengine.com/t/setting-the-material-of-a-ustaticmesh-built-from-mesh-descriptions-at-runtime/748250 "2024-11-19T02:09:59Z")

</div>

I’ve been working on a neat project trying to use UE as the front-end for a 3D slicer ( for 3D Printing ). So far my rendering procedure has been: Read in an \*.stl file Create ProceduralMesh Recreate the ProceduralMes…

---

## [What is the most performant way to update UMG Wrapbox / UniformGridPanel list for Inventory](https://forums.unrealengine.com/t/what-is-the-most-performant-way-to-update-umg-wrapbox-uniformgridpanel-list-for-inventory/2133881)

<div class="topic-metadata">

**Author:** [@kcinkcinkcinnick](https://forums.unrealengine.com/u/kcinkcinkcinnick)\
**Replies:** 0\
**Last updated:** [November 18, 2024, 9:19pm UTC](https://forums.unrealengine.com/t/what-is-the-most-performant-way-to-update-umg-wrapbox-uniformgridpanel-list-for-inventory/2133881 "2024-11-18T21:19:54Z")

</div>

Hi, For my inventory UI, I want to have the player to have 32 inventory slots. To achieve this I have a WrapBox setup that iterates first over the inventory Item’s array and creates the slot widgets for each item. Aft…

---

## [Blending ragdoll from Animation Montage in 5.4](https://forums.unrealengine.com/t/blending-ragdoll-from-animation-montage-in-5-4/2133601)

<div class="topic-metadata">

**Author:** [@Neoptolemus](https://forums.unrealengine.com/u/Neoptolemus)\
**Replies:** 0\
**Last updated:** [November 18, 2024, 7:19pm UTC](https://forums.unrealengine.com/t/blending-ragdoll-from-animation-montage-in-5-4/2133601 "2024-11-18T19:19:50Z")

</div>

Hi all, I want to play a death animation for a character and then seamlessly blend into a ragdoll. In Unreal Engine 4, I achieved this by enabling the ragdoll at the start of the death montage but setting the blend phys…

---

## [Resize game viewport](https://forums.unrealengine.com/t/resize-game-viewport/54381)

<div class="topic-metadata">

**Author:** [@speedpacer](https://forums.unrealengine.com/u/speedpacer)\
**Replies:** 6\
**Last updated:** [November 18, 2024, 5:24pm UTC](https://forums.unrealengine.com/t/resize-game-viewport/54381 "2024-11-18T17:24:20Z")

</div>

I need to resize the main viewport in the game and put HUD stuff around it rather than over it. Google didn’t turn up much but I’m thinking it would be done with FViewportFrame::ResizeFrame? Does anyone have an example…

---

## [UInstancedStaticMeshComponent](https://forums.unrealengine.com/t/uinstancedstaticmeshcomponent/10275)

<div class="topic-metadata">

**Author:** [@MiniTurtle](https://forums.unrealengine.com/u/MiniTurtle)\
**Replies:** 1\
**Last updated:** [November 18, 2024, 3:57pm UTC](https://forums.unrealengine.com/t/uinstancedstaticmeshcomponent/10275 "2024-11-18T15:57:00Z")

</div>

Hi, How do you hide 1 instance so it doesn’t render anymore? Like the function UInstancedStaticMeshComponent-\>RemoveInstance(0) But I want UInstancedStaticMeshComponent-\>HideInstance(0) I don’t want to remove because…

---

## [Why does Visual Studio generate additional projects for new Targets](https://forums.unrealengine.com/t/why-does-visual-studio-generate-additional-projects-for-new-targets/2132843)

<div class="topic-metadata">

**Author:** [@NEVQ151](https://forums.unrealengine.com/u/NEVQ151)\
**Replies:** 0\
**Last updated:** [November 18, 2024, 1:46pm UTC](https://forums.unrealengine.com/t/why-does-visual-studio-generate-additional-projects-for-new-targets/2132843 "2024-11-18T13:46:30Z")

</div>

Hello, I want to create a new Target.cs file so I will be able to distinguish configurations and OnlineSubSystems between Steam and Epic Game Store (EGS). My target is extending from the “base game” target file: publi…

---

## [\[EOS SDK Apple\]: Error when setting EOS\_Connect\_UserLoginInfo.ApiVersion to EOS\_CONNECT\_USERLOGININFO\_API\_LATEST](https://forums.unrealengine.com/t/eos-sdk-apple-error-when-setting-eos-connect-userlogininfo-apiversion-to-eos-connect-userlogininfo-api-latest/2124985)

<div class="topic-metadata">

**Author:** [@v.falcon.fishlab](https://forums.unrealengine.com/u/v.falcon.fishlab)\
**Replies:** 1\
**Last updated:** [November 18, 2024, 1:07pm UTC](https://forums.unrealengine.com/t/eos-sdk-apple-error-when-setting-eos-connect-userlogininfo-apiversion-to-eos-connect-userlogininfo-api-latest/2124985 "2024-11-18T13:07:28Z")

</div>

Hello, We have been trying to make GameCenter (Apple’s internal game service for multiplayer) to work with EOS. We got so far that everything seems to be correct but when trying to login with EOS\_Connect\_Login it trigge…

---

## [PCG: FTransform NewTransform = Transform; is broken](https://forums.unrealengine.com/t/pcg-ftransform-newtransform-transform-is-broken/2132711)

<div class="topic-metadata">

**Author:** [@Psijic\_Void](https://forums.unrealengine.com/u/Psijic_Void)\
**Replies:** 0\
**Last updated:** [November 18, 2024, 12:17pm UTC](https://forums.unrealengine.com/t/pcg-ftransform-newtransform-transform-is-broken/2132711 "2024-11-18T12:17:55Z")

</div>

void A(const FTransform& Transform){ const FTransform NewTransform = Transform; Pass(NewTransform); } Adds rotations Roll and Pitch on 2nd and next enters. FTransform OutTransform; OutTransform \*= Transform; Still wor…

---

## [Correct way to package a plugin for distribution](https://forums.unrealengine.com/t/correct-way-to-package-a-plugin-for-distribution/2126913)

<div class="topic-metadata">

**Author:** [@Auran131](https://forums.unrealengine.com/u/Auran131)\
**Replies:** 4\
**Last updated:** [November 18, 2024, 1:49am UTC](https://forums.unrealengine.com/t/correct-way-to-package-a-plugin-for-distribution/2126913 "2024-11-18T01:49:15Z")

</div>

i tried to package my plugin using the InEditor option but i get nonsensical errors, like missing a ; when i’m clearly not. to be clear, the plugin compiles perfect, the game builds perfect, i can move the plugin to ano…

---

## [Unreal Engine 1](https://forums.unrealengine.com/t/unreal-engine-1/14084)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_29756e73](https://forums.unrealengine.com/u/anonymous_user_29756e73)\
**Replies:** 60\
**Last updated:** [November 17, 2024, 10:07am UTC](https://forums.unrealengine.com/t/unreal-engine-1/14084 "2024-11-17T10:07:39Z")

</div>

When will it be released functional source from Unreal engine 1? Version 432,533 or 613…:slight\_smile: Please Tim… Why? For one or two developer is Unreal engine 3,4 is more complicated…

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

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