# C++

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

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

**Page:** 66

---

## [i cant create project. Compiling error?](https://forums.unrealengine.com/t/i-cant-create-project-compiling-error/2179983)

<div class="topic-metadata">

**Author:** [@HotJ11](https://forums.unrealengine.com/u/HotJ11)\
**Replies:** 2\
**Last updated:** [December 9, 2024, 6:37am UTC](https://forums.unrealengine.com/t/i-cant-create-project-compiling-error/2179983 "2024-12-09T06:37:53Z")

</div>

Running D:/UE\_5.5/Engine/Build/BatchFiles/Build.bat Development Win64 -Project=“D:/UE\_5.5 Project/iio/iio.uproject” -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE Using bundled DotNet SDK version: 8.0…

---

## [UE 5.5 NuGet errors on new C++ project](https://forums.unrealengine.com/t/ue-5-5-nuget-errors-on-new-c-project/2176610)

<div class="topic-metadata">

**Author:** [@BitBoy92](https://forums.unrealengine.com/u/BitBoy92)\
**Replies:** 3\
**Last updated:** [December 9, 2024, 6:10am UTC](https://forums.unrealengine.com/t/ue-5-5-nuget-errors-on-new-c-project/2176610 "2024-12-09T06:10:49Z")

</div>

To replicate issue, create new C++ project (tested with blank and fps template) and try to build game project. The errors seen below will be present. To trouble shoot, I’ve already verified my UE 5.5 installation and re…

---

## [setting CurrentMouseCursor only works after a mouse click](https://forums.unrealengine.com/t/setting-currentmousecursor-only-works-after-a-mouse-click/58901)

<div class="topic-metadata">

**Author:** [@BugSwat](https://forums.unrealengine.com/u/BugSwat)\
**Replies:** 5\
**Last updated:** [November 12, 2024, 1:50am UTC](https://forums.unrealengine.com/t/setting-currentmousecursor-only-works-after-a-mouse-click/58901 "2024-11-12T01:50:41Z")

</div>

I want to change the mouse cursor for an actor for “cursor over”. My code: void AMyClass::NotifyActorBeginCursorOver() { if (GEngine) { GEngine-\>AddOnScreenDebugMessage(-1, 3.f, FColor::Cyan, TEXT("NotifyActorBeg…

---

## [COMMENT CREER UN MENU D'ACCUEL AVEC UNREAL 5.4](https://forums.unrealengine.com/t/comment-creer-un-menu-daccuel-avec-unreal-5-4/2185852)

<div class="topic-metadata">

**Author:** [@Le\_NaMiKaZe](https://forums.unrealengine.com/u/Le_NaMiKaZe)\
**Replies:** 0\
**Last updated:** [December 8, 2024, 10:01pm UTC](https://forums.unrealengine.com/t/comment-creer-un-menu-daccuel-avec-unreal-5-4/2185852 "2024-12-08T22:01:55Z")

</div>

include “MyCharacter.h” AMyCharacter::AMyCharacter() { PrimaryActorTick.bCanEverTick = true; } void AMyCharacter::BeginPlay() { Super::BeginPlay(); } void AMyCharacter::Tick(float DeltaTime) { Super::Tick(Delt…

---

## [TRIANGULATION OF A POLYGON WITH A HOLE](https://forums.unrealengine.com/t/triangulation-of-a-polygon-with-a-hole/2185277)

<div class="topic-metadata">

**Author:** [@Dumple1](https://forums.unrealengine.com/u/Dumple1)\
**Replies:** 1\
**Last updated:** [December 8, 2024, 8:33pm UTC](https://forums.unrealengine.com/t/triangulation-of-a-polygon-with-a-hole/2185277 "2024-12-08T20:33:16Z")

</div>

Can someone help me with the triangulation of a polygon with a hole. Polygons without a hole I triangulate with Delaunay2d Triangulation, But I can’t get the triangulation right when I add a hole.

---

## [SetSimulatePhysics broken in multiplayer?](https://forums.unrealengine.com/t/setsimulatephysics-broken-in-multiplayer/76942)

<div class="topic-metadata">

**Author:** [@rob422lou](https://forums.unrealengine.com/u/rob422lou)\
**Replies:** 4\
**Last updated:** [December 8, 2024, 7:00pm UTC](https://forums.unrealengine.com/t/setsimulatephysics-broken-in-multiplayer/76942 "2024-12-08T19:00:08Z")

</div>

Hi, I’m trying to AttachTo() multiple static mesh actors together at runtime and have that replicate in multiplayer. The engine will replicate attachments if an actor has SetSimulatePhysics() set to false. However if y…

---

## [Showing Steam Names and Avatars from each Player in Lobby?](https://forums.unrealengine.com/t/showing-steam-names-and-avatars-from-each-player-in-lobby/398527)

<div class="topic-metadata">

**Author:** [@Beregron](https://forums.unrealengine.com/u/Beregron)\
**Replies:** 1\
**Last updated:** [June 9, 2017, 6:32pm UTC](https://forums.unrealengine.com/t/showing-steam-names-and-avatars-from-each-player-in-lobby/398527 "2017-06-09T18:32:14Z")

</div>

Hi there, i wonder if it’s possible to Show all Player names and Avatars from steam in a multiplayer Lobby menu. I was able to Show my own Player Infos (by using the Plugin Advanced Session). Now i want to Show the Nam…

---

## [Referencing Components inside default blueprint?](https://forums.unrealengine.com/t/referencing-components-inside-default-blueprint/2183791)

<div class="topic-metadata">

**Author:** [@mrm\_dev](https://forums.unrealengine.com/u/mrm_dev)\
**Replies:** 0\
**Last updated:** [December 8, 2024, 1:59pm UTC](https://forums.unrealengine.com/t/referencing-components-inside-default-blueprint/2183791 "2024-12-08T13:59:52Z")

</div>

I have a Health ActorComponent and some multiple UBoxComponent and I’d like to select these box components and store their references inside the Health Component I tried using FComponentReference as such: UPROPERTY(Ed…

---

## [The field changed in the widget blueprint replaces the actual value from the bound C++ widget class](https://forums.unrealengine.com/t/the-field-changed-in-the-widget-blueprint-replaces-the-actual-value-from-the-bound-c-widget-class/2183309)

<div class="topic-metadata">

**Author:** [@Alchezar](https://forums.unrealengine.com/u/Alchezar)\
**Replies:** 0\
**Last updated:** [December 8, 2024, 11:18am UTC](https://forums.unrealengine.com/t/the-field-changed-in-the-widget-blueprint-replaces-the-actual-value-from-the-bound-c-widget-class/2183309 "2024-12-08T11:18:39Z")

</div>

There are two widgets - ParentWidget and ChildWidget. ChildWidget is created inside ParentWidget. Both of that widgets are bound to the UUserWidget child class. ChildWidget has bool flag bBoo with UPROPERTY(EditAnywhere) …

---

## [How to Add Raytracing to In Game Settings Menu](https://forums.unrealengine.com/t/how-to-add-raytracing-to-in-game-settings-menu/2182806)

<div class="topic-metadata">

**Author:** [@BlackDoc1999](https://forums.unrealengine.com/u/BlackDoc1999)\
**Replies:** 0\
**Last updated:** [December 8, 2024, 7:43am UTC](https://forums.unrealengine.com/t/how-to-add-raytracing-to-in-game-settings-menu/2182806 "2024-12-08T07:43:23Z")

</div>

I’ve been trying to figure out for a long while and I haven’t been able to find anything on it in the amount of detail I need. I’m trying to create a few different settings that will allow a user to enable or disable Lu…

---

## [How to create/add a new function from C++?](https://forums.unrealengine.com/t/how-to-create-add-a-new-function-from-c/1750241)

<div class="topic-metadata">

**Author:** [@Probezeit](https://forums.unrealengine.com/u/Probezeit)\
**Replies:** 0\
**Last updated:** [March 13, 2024, 8:43pm UTC](https://forums.unrealengine.com/t/how-to-create-add-a-new-function-from-c/1750241 "2024-03-13T20:43:47Z")

</div>

Hey, I am currently trying to spawn a function graph within my UBlueprint. It works but when I compile that new graph I get this compile error message. Here is my code: void UMyBlueprintFunctionLibrary::CreateFuncti…

---

## [Creating a new function from C++](https://forums.unrealengine.com/t/creating-a-new-function-from-c/1714707)

<div class="topic-metadata">

**Author:** [@Probezeit](https://forums.unrealengine.com/u/Probezeit)\
**Replies:** 1\
**Last updated:** [December 8, 2024, 12:48am UTC](https://forums.unrealengine.com/t/creating-a-new-function-from-c/1714707 "2024-12-08T00:48:08Z")

</div>

Hey, I am currently trying to spawn a function graph within my UBlueprint. It works but when I compile that new graph I get this compile error message: void UMyBlueprintFunctionLibrary::CreateFunctionGraphs() { T…

---

## [Editor Toolbar button?](https://forums.unrealengine.com/t/editor-toolbar-button/771665)

<div class="topic-metadata">

**Author:** [@Probezeit](https://forums.unrealengine.com/u/Probezeit)\
**Replies:** 2\
**Last updated:** [December 8, 2024, 12:01am UTC](https://forums.unrealengine.com/t/editor-toolbar-button/771665 "2024-12-08T00:01:43Z")

</div>

Hello folks, I am currently trying to program a Toolbar button but for the blueprint editor only. So my current way shown below adds the button to the level editor toolbar but I want the button to be in the blueprint ed…

---

## [Joystick compatibility with UE5 ](https://forums.unrealengine.com/t/joystick-compatibility-with-ue5/2167322)

<div class="topic-metadata">

**Author:** [@Zutrill.0](https://forums.unrealengine.com/u/Zutrill.0)\
**Replies:** 1\
**Last updated:** [December 7, 2024, 9:48pm UTC](https://forums.unrealengine.com/t/joystick-compatibility-with-ue5/2167322 "2024-12-07T21:48:30Z")

</div>

There has got to be a better way to include a Sim Joystick into unreal. i had to use a Arduino board with a usb host for it to work. why cant we just have it included with the new enhanced input system?

---

## [\[Plugin\] Android Camera](https://forums.unrealengine.com/t/plugin-android-camera/69320)

<div class="topic-metadata">

**Author:** [@ZkarmaKun](https://forums.unrealengine.com/u/ZkarmaKun)\
**Replies:** 67\
**Last updated:** [December 7, 2024, 2:59pm UTC](https://forums.unrealengine.com/t/plugin-android-camera/69320 "2024-12-07T14:59:21Z")

</div>

Hi Forum, Some guy ask me for an plugin develop by me some time ago, about how to access the android camera and display as an texture, now with the new APL system we can develop our own plugins for android without modif…

---

## [How to use C + + to set the picture of the button](https://forums.unrealengine.com/t/how-to-use-c-to-set-the-picture-of-the-button/548178)

<div class="topic-metadata">

**Author:** [@117351](https://forums.unrealengine.com/u/117351)\
**Replies:** 3\
**Last updated:** [December 7, 2024, 4:35am UTC](https://forums.unrealengine.com/t/how-to-use-c-to-set-the-picture-of-the-button/548178 "2024-12-07T04:35:04Z")

</div>

How to use C + + to set the picture of the button

---

## [3000 FPs when opening the packaged game](https://forums.unrealengine.com/t/3000-fps-when-opening-the-packaged-game/2173177)

<div class="topic-metadata">

**Author:** [@datZac](https://forums.unrealengine.com/u/datZac)\
**Replies:** 2\
**Last updated:** [December 6, 2024, 11:05pm UTC](https://forums.unrealengine.com/t/3000-fps-when-opening-the-packaged-game/2173177 "2024-12-06T23:05:28Z")

</div>

Hi everyone, When I open the game after I packaged it, it rises to fps values like 3000 4000 and I think this is not a healthy situation for GPU. There are fps limit settings in the game, but it does not apply when it fi…

---

## [Using delegates instead of Notifies in Animation Montages?](https://forums.unrealengine.com/t/using-delegates-instead-of-notifies-in-animation-montages/2175880)

<div class="topic-metadata">

**Author:** [@mrm\_dev](https://forums.unrealengine.com/u/mrm_dev)\
**Replies:** 0\
**Last updated:** [December 6, 2024, 8:09am UTC](https://forums.unrealengine.com/t/using-delegates-instead-of-notifies-in-animation-montages/2175880 "2024-12-06T08:09:53Z")

</div>

I’m using the delegate OnMontageEnded of the UAnimInstance to detect when an attack montage has been completed as such: void AMyCharacter::Attack(const FInputActionValue &Value) { if(IsAttacking) return; …

---

## [Dedicated Server and Console Commands (Exec, Cvars)](https://forums.unrealengine.com/t/dedicated-server-and-console-commands-exec-cvars/106445)

<div class="topic-metadata">

**Author:** [@StarfireDev](https://forums.unrealengine.com/u/StarfireDev)\
**Replies:** 6\
**Last updated:** [December 6, 2024, 6:58am UTC](https://forums.unrealengine.com/t/dedicated-server-and-console-commands-exec-cvars/106445 "2024-12-06T06:58:51Z")

</div>

Can a dedicated server execute console commands at runtime (CVars and Exec UFUNCTIONs)? If so, how simple is that? Im asking this before setting up a dedicated server and finding out I would have to rely my console comm…

---

## [Trying to include LandscapeEdit.h](https://forums.unrealengine.com/t/trying-to-include-landscapeedit-h/654796)

<div class="topic-metadata">

**Author:** [@Worlaz](https://forums.unrealengine.com/u/Worlaz)\
**Replies:** 3\
**Last updated:** [December 6, 2024, 6:00am UTC](https://forums.unrealengine.com/t/trying-to-include-landscapeedit-h/654796 "2024-12-06T06:00:25Z")

</div>

We are trying to access heightdata from landscapes after they have been created. For this as we understand it, we can use FLandscapeEditDataInterface. But when we include LandscapeEdit.h and compile we get the following…

---

## [I can't find GetRandomPointInNavigableRadius() in GetNavigationSystem()](https://forums.unrealengine.com/t/i-cant-find-getrandompointinnavigableradius-in-getnavigationsystem/442953)

<div class="topic-metadata">

**Author:** [@Anonymous\_8bfc49d357ba7b528ef55c187d3de2ea](https://forums.unrealengine.com/u/Anonymous_8bfc49d357ba7b528ef55c187d3de2ea)\
**Replies:** 3\
**Last updated:** [December 6, 2024, 6:13am UTC](https://forums.unrealengine.com/t/i-cant-find-getrandompointinnavigableradius-in-getnavigationsystem/442953 "2024-12-06T06:13:05Z")

</div>

In my book FNavLocation RandomPoint; if(GetWorld()-\>GetNavigationSystem()-\>GetRandomPointInNavigableRadius(ThisController-\>GetPawn()-\>GetActorLocation(),5000.0f,RandomPoint)) but error : class"UNavigationSystemBase" ha…

---

## [UE5.0 Build Error MSB3070 with code 9009](https://forums.unrealengine.com/t/ue5-0-build-error-msb3070-with-code-9009/674822)

<div class="topic-metadata">

**Author:** [@PrayHan1](https://forums.unrealengine.com/u/PrayHan1)\
**Replies:** 3\
**Last updated:** [December 6, 2024, 12:21am UTC](https://forums.unrealengine.com/t/ue5-0-build-error-msb3070-with-code-9009/674822 "2024-12-06T00:21:41Z")

</div>

|Error|MSB3073|The command E:\\UE\_5.0\\Engine\\Build\\BatchFiles\\Build.bat MyProjectEditor Win64 Development -Project=D:\\UE5\\MyProject\\MyProject.uproject -WaitMutex -FromMsBuild exited with code 9009.|MyProject|D:\\VS2019\\MSB…

---

## [Why PixelStreaming(5.2) FrameRate is lower than the others?](https://forums.unrealengine.com/t/why-pixelstreaming-5-2-framerate-is-lower-than-the-others/2168713)

<div class="topic-metadata">

**Author:** [@user\_e1e82e24d87d2a97544f9d9e9e9e340e2626be24aabba48baa57eb](https://forums.unrealengine.com/u/user_e1e82e24d87d2a97544f9d9e9e9e340e2626be24aabba48baa57eb)\
**Replies:** 1\
**Last updated:** [December 6, 2024, 12:20am UTC](https://forums.unrealengine.com/t/why-pixelstreaming-5-2-framerate-is-lower-than-the-others/2168713 "2024-12-06T00:20:36Z")

</div>

5.2 PixelStreaming in Local Player(ThirdPersonMap and Default Settings) FrameRate is lower than the others. 5.2 → 150 Framerates at One Instance 5.0/5.1/5.3 → 180 FrameRate at One Instances why??

---

## [Root Motion does not work on spawned actor](https://forums.unrealengine.com/t/root-motion-does-not-work-on-spawned-actor/60661)

<div class="topic-metadata">

**Author:** [@Kanc](https://forums.unrealengine.com/u/Kanc)\
**Replies:** 6\
**Last updated:** [December 5, 2024, 5:55pm UTC](https://forums.unrealengine.com/t/root-motion-does-not-work-on-spawned-actor/60661 "2024-12-05T17:55:32Z")

</div>

Hi, I have a weird issue. I have created a blueprint class inherited from A Character and this char moves using root motion. If I put this blueprint into level manually it works properly but if I spawn an instance of th…

---

## [AOnlineBeaconHost and BeaconNetDriver problem](https://forums.unrealengine.com/t/aonlinebeaconhost-and-beaconnetdriver-problem/356206)

<div class="topic-metadata">

**Author:** [@Netera](https://forums.unrealengine.com/u/Netera)\
**Replies:** 8\
**Last updated:** [December 5, 2024, 4:39pm UTC](https://forums.unrealengine.com/t/aonlinebeaconhost-and-beaconnetdriver-problem/356206 "2024-12-05T16:39:10Z")

</div>

I am trying to spawn an AOnlineBeaconHost actor trough BeaconHostListener = GetWorld()-\>SpawnActor\<AOnlineBeaconHost\>(AOnlineBeaconHost::StaticClass()); When i call the creation of the AOnlineBeaconHost actor i receive…

---

## [C++ The mesh created procedurally does not move.](https://forums.unrealengine.com/t/c-the-mesh-created-procedurally-does-not-move/1748895)

<div class="topic-metadata">

**Author:** [@JASONKIM78](https://forums.unrealengine.com/u/JASONKIM78)\
**Replies:** 2\
**Last updated:** [December 5, 2024, 2:37pm UTC](https://forums.unrealengine.com/t/c-the-mesh-created-procedurally-does-not-move/1748895 "2024-12-05T14:37:51Z")

</div>

Hi, every devs. I’m writing a program that generates a mesh in Unreal based on vertex information. When I press Play button in the editor, the mesh will be created normally. During the execution process, actors are cr…

---

## [Does the FastArray can be nested](https://forums.unrealengine.com/t/does-the-fastarray-can-be-nested/2161039)

<div class="topic-metadata">

**Author:** [@Yazhuo](https://forums.unrealengine.com/u/Yazhuo)\
**Replies:** 2\
**Last updated:** [December 5, 2024, 12:56pm UTC](https://forums.unrealengine.com/t/does-the-fastarray-can-be-nested/2161039 "2024-12-05T12:56:43Z")

</div>

Hi guys，I find that FastArray is fantastic，but there is a new question. As the title,can use FastArrry nested? Whether the ContainerA ，that inherit from FFastArraySerializer ，can used as a property for another FFastAr…

---

## [Protobuf deserialization trouble](https://forums.unrealengine.com/t/protobuf-deserialization-trouble/2173270)

<div class="topic-metadata">

**Author:** [@Seb3D](https://forums.unrealengine.com/u/Seb3D)\
**Replies:** 0\
**Last updated:** [December 5, 2024, 10:21am UTC](https://forums.unrealengine.com/t/protobuf-deserialization-trouble/2173270 "2024-12-05T10:21:51Z")

</div>

Hello all! I’m trying to use the protobuf version (3.18.0) included in Unreal, using the engine’s compiled source code. void InstallationApplicationService::CreateInstallation(const google::protobuf::Message& Message) …

---

## [How do I can handle collision for Mass Entity static meshes?](https://forums.unrealengine.com/t/how-do-i-can-handle-collision-for-mass-entity-static-meshes/1951812)

<div class="topic-metadata">

**Author:** [@Zopich](https://forums.unrealengine.com/u/Zopich)\
**Replies:** 4\
**Last updated:** [December 5, 2024, 6:40am UTC](https://forums.unrealengine.com/t/how-do-i-can-handle-collision-for-mass-entity-static-meshes/1951812 "2024-12-05T06:40:12Z")

</div>

How do I can handle collision for Mass Entity static meshes? I am using visualisation trait with a static mesh, I want to take a shot and in case of intersection with this static mesh I want to reduce its health from Hea…

---

## [Hierarchical Instanced Static Mesh Component not showing](https://forums.unrealengine.com/t/hierarchical-instanced-static-mesh-component-not-showing/2172030)

<div class="topic-metadata">

**Author:** [@The\_untextured](https://forums.unrealengine.com/u/The_untextured)\
**Replies:** 0\
**Last updated:** [December 4, 2024, 11:13pm UTC](https://forums.unrealengine.com/t/hierarchical-instanced-static-mesh-component-not-showing/2172030 "2024-12-04T23:13:41Z")

</div>

I am having issues with hierarchical instanced static meshes (HISM). In the same function, I create a HISM component, attach it to the parent and add instances all in the same function and for some reason, the instances…

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

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