# C++

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

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

**Page:** 94

---

## [Making an aerial dodge](https://forums.unrealengine.com/t/making-an-aerial-dodge/1946746)

<div class="topic-metadata">

**Author:** [@TheoRat3](https://forums.unrealengine.com/u/TheoRat3)\
**Replies:** 0\
**Last updated:** [July 23, 2024, 3:58am UTC](https://forums.unrealengine.com/t/making-an-aerial-dodge/1946746 "2024-07-23T03:58:41Z")

</div>

I’m trying to make a move for my player character where they can jump in the air, then hit the jump button again mid-air to dodge in a direction determined by the input direction. I’m currently having trouble even knowin…

---

## [Local Player is null when i'm in multiplayer playmode](https://forums.unrealengine.com/t/local-player-is-null-when-im-in-multiplayer-playmode/1265920)

<div class="topic-metadata">

**Author:** [@SquiDev](https://forums.unrealengine.com/u/SquiDev)\
**Replies:** 4\
**Last updated:** [July 23, 2024, 3:26am UTC](https://forums.unrealengine.com/t/local-player-is-null-when-im-in-multiplayer-playmode/1265920 "2024-07-23T03:26:08Z")

</div>

Hello ! I wanted to make my prototype multiplayer, so i tried launching it in mutliplayer playmode to see what happends, and i figured out that GetLocalPlayer was returning a nullptr in my player controller, and i can’t …

---

## [Live Coding window displaying incorrectly, pixelated, blurry](https://forums.unrealengine.com/t/live-coding-window-displaying-incorrectly-pixelated-blurry/718848)

<div class="topic-metadata">

**Author:** [@FlorenciaRosa](https://forums.unrealengine.com/u/FlorenciaRosa)\
**Replies:** 2\
**Last updated:** [July 23, 2024, 12:36am UTC](https://forums.unrealengine.com/t/live-coding-window-displaying-incorrectly-pixelated-blurry/718848 "2024-07-23T00:36:51Z")

</div>

Hi everyone, I’ve started developing using Unreal Engine 5.1, and when trying to compile C++ using Live Coding, I’m met with this window that’s unreadable. I’ve not seen this issue much elsewhere, and the times I have s…

---

## [Least expensive way to check each element of an struct array in tick?](https://forums.unrealengine.com/t/least-expensive-way-to-check-each-element-of-an-struct-array-in-tick/1930788)

<div class="topic-metadata">

**Author:** [@Kotaru\_1](https://forums.unrealengine.com/u/Kotaru_1)\
**Replies:** 10\
**Last updated:** [July 22, 2024, 5:21pm UTC](https://forums.unrealengine.com/t/least-expensive-way-to-check-each-element-of-an-struct-array-in-tick/1930788 "2024-07-22T17:21:55Z")

</div>

I’m working on a VR Gesture system. Ideally, this system regularly updates (probably won’t be in event tick, but rather fixed tick rate), and decides which struct out of an array of structs is the best choice. I can’t i…

---

## [FAutomationEditorCommonUtils::CreateNewMap crashes the test in UE5](https://forums.unrealengine.com/t/fautomationeditorcommonutils-createnewmap-crashes-the-test-in-ue5/552984)

<div class="topic-metadata">

**Author:** [@Fexolm](https://forums.unrealengine.com/u/Fexolm)\
**Replies:** 15\
**Last updated:** [July 22, 2024, 1:33pm UTC](https://forums.unrealengine.com/t/fautomationeditorcommonutils-createnewmap-crashes-the-test-in-ue5/552984 "2024-07-22T13:33:45Z")

</div>

I’m trying to implement simple test im Unreal Engine 5, but I stuck on creating an empty map. The following code crashes with this error: \[2022.05.09-17.50.13:609\]\[519\]LogAutomationController: Error: EditCondition atte…

---

## [Best way to have a PlayerCharacter interact with Pickup Actor (multiplayer C++)?](https://forums.unrealengine.com/t/best-way-to-have-a-playercharacter-interact-with-pickup-actor-multiplayer-c/1945937)

<div class="topic-metadata">

**Author:** [@kcinkcinkcinnick](https://forums.unrealengine.com/u/kcinkcinkcinnick)\
**Replies:** 0\
**Last updated:** [July 22, 2024, 12:40pm UTC](https://forums.unrealengine.com/t/best-way-to-have-a-playercharacter-interact-with-pickup-actor-multiplayer-c/1945937 "2024-07-22T12:40:02Z")

</div>

Hi ! I’ve been busy for days, looking through documentation, watching courses, but in my head it still hasn’t clicked unfortunately. A bit of stage setting: In a Listen server multiplayer game, I’ld like to have the…

---

## [UE 5.4.3 crashes after adding and compiling a new C++ class](https://forums.unrealengine.com/t/ue-5-4-3-crashes-after-adding-and-compiling-a-new-c-class/1945283)

<div class="topic-metadata">

**Author:** [@Tetrit](https://forums.unrealengine.com/u/Tetrit)\
**Replies:** 2\
**Last updated:** [July 22, 2024, 10:58am UTC](https://forums.unrealengine.com/t/ue-5-4-3-crashes-after-adding-and-compiling-a-new-c-class/1945283 "2024-07-22T10:58:35Z")

</div>

I recently decided to familiarize myself with this engine and with C++. But I ran into problems. One of them I can’t solve. For some reason, even when I create a new project, create a new C++ class and write basic code f…

---

## [VideoCaptureProtocol](https://forums.unrealengine.com/t/videocaptureprotocol/1945704)

<div class="topic-metadata">

**Author:** [@sichaosun](https://forums.unrealengine.com/u/sichaosun)\
**Replies:** 0\
**Last updated:** [July 22, 2024, 8:25am UTC](https://forums.unrealengine.com/t/videocaptureprotocol/1945704 "2024-07-22T08:25:09Z")

</div>

UE5.4.3 project build with latest Rider leads to the error : VideoCaptureProtocol.h(10): Error C1083 : 无法打开包括文件: “AVIWriter.h”: No such file or directory

---

## [A warning message about Iris : Generating descriptor for struct that has custom serialization.](https://forums.unrealengine.com/t/a-warning-message-about-iris-generating-descriptor-for-struct-that-has-custom-serialization/1942679)

<div class="topic-metadata">

**Author:** [@vigilw](https://forums.unrealengine.com/u/vigilw)\
**Replies:** 2\
**Last updated:** [July 22, 2024, 6:59am UTC](https://forums.unrealengine.com/t/a-warning-message-about-iris-generating-descriptor-for-struct-that-has-custom-serialization/1942679 "2024-07-22T06:59:35Z")

</div>

FRootMotionSource\_MoveLocalToWorld ，It’s my custom RootMotionSource structure，Used for climbing and other movements in multiplayer games. How to resolve this warning? The following is the code declaration #pragma once …

---

## [Epic C++ comment: ...if on an anim node initialize the reference in CacheBones?? How to do it?](https://forums.unrealengine.com/t/epic-c-comment-if-on-an-anim-node-initialize-the-reference-in-cachebones-how-to-do-it/1783073)

<div class="topic-metadata">

**Author:** [@rit](https://forums.unrealengine.com/u/rit)\
**Replies:** 2\
**Last updated:** [July 22, 2024, 3:27am UTC](https://forums.unrealengine.com/t/epic-c-comment-if-on-an-anim-node-initialize-the-reference-in-cachebones-how-to-do-it/1783073 "2024-07-22T03:27:03Z")

</div>

I encounter a crash with the following error call stack: Assertion failed: Pose.IsValidIndex(BoneIndex) \[File:D:\\build\\++UE5\\Sync\\Engine\\Source\\Runtime\\Engine\\Public\\BonePose.h\] \[Line: 568\] UnrealEditor\_AnimGraphRuntim…

---

## [Always launch EAC before the game, even if the game's .exe file is executed.](https://forums.unrealengine.com/t/always-launch-eac-before-the-game-even-if-the-games-exe-file-is-executed/1945448)

<div class="topic-metadata">

**Author:** [@MaybeAnge](https://forums.unrealengine.com/u/MaybeAnge)\
**Replies:** 0\
**Last updated:** [July 22, 2024, 2:22am UTC](https://forums.unrealengine.com/t/always-launch-eac-before-the-game-even-if-the-games-exe-file-is-executed/1945448 "2024-07-22T02:22:13Z")

</div>

Hello, I have Easy Anti Cheat on my Unreal Engine 5 game. In the files, I have the SDK is all I need. When I launch “start\_protected\_game.exe” everything goes correctly, I have EAC launching and launching my game afte…

---

## [Creating session (steamcore) and make lobby members join it.](https://forums.unrealengine.com/t/creating-session-steamcore-and-make-lobby-members-join-it/1945400)

<div class="topic-metadata">

**Author:** [@eldany.uy](https://forums.unrealengine.com/u/eldany.uy)\
**Replies:** 2\
**Last updated:** [July 22, 2024, 1:20am UTC](https://forums.unrealengine.com/t/creating-session-steamcore-and-make-lobby-members-join-it/1945400 "2024-07-22T01:20:19Z")

</div>

I have a Steam Lobby with the Owner and other members. The owner creates a session with the name of the session as session parameter and members knows it so they just make a find session and join on the first item of th…

---

## [Replication test automation](https://forums.unrealengine.com/t/replication-test-automation/1151878)

<div class="topic-metadata">

**Author:** [@Burnout2111](https://forums.unrealengine.com/u/Burnout2111)\
**Replies:** 1\
**Last updated:** [July 21, 2024, 11:47pm UTC](https://forums.unrealengine.com/t/replication-test-automation/1151878 "2024-07-21T23:47:05Z")

</div>

How to test client-server interaction on UE4? I did not find the ability to start the server and connect the client to it inside the unit test. Automation Framework does not provide such an opportunity? I need to sta…

---

## [GAS: Effect Application Issue](https://forums.unrealengine.com/t/gas-effect-application-issue/243126)

<div class="topic-metadata">

**Author:** [@Zcience](https://forums.unrealengine.com/u/Zcience)\
**Replies:** 1\
**Last updated:** [July 21, 2024, 7:13pm UTC](https://forums.unrealengine.com/t/gas-effect-application-issue/243126 "2024-07-21T19:13:18Z")

</div>

hi! I currently have the following issue, hoping that somebody already stumbled upon this: I have an instant Gameplay Effect, which adjusts an Attribute using an execution calculation and the magnitude is set using Set …

---

## [TextBox datatype](https://forums.unrealengine.com/t/textbox-datatype/1944690)

<div class="topic-metadata">

**Author:** [@Inklipse08090](https://forums.unrealengine.com/u/Inklipse08090)\
**Replies:** 0\
**Last updated:** [July 21, 2024, 9:23am UTC](https://forums.unrealengine.com/t/textbox-datatype/1944690 "2024-07-21T09:23:45Z")

</div>

What data type does textbox accept? I created functions that return FString/FText , but they are not displayed in the binding

---

## [Why Cast\<UArrayProperty\>(Property) gives linker error?](https://forums.unrealengine.com/t/why-cast-uarrayproperty-property-gives-linker-error/1944615)

<div class="topic-metadata">

**Author:** [@Navid](https://forums.unrealengine.com/u/Navid)\
**Replies:** 0\
**Last updated:** [July 21, 2024, 6:28am UTC](https://forums.unrealengine.com/t/why-cast-uarrayproperty-property-gives-linker-error/1944615 "2024-07-21T06:28:50Z")

</div>

UArrayProperty works fine generaly for example this works fine: UArrayProperty\* TestProperty=nullptr; but using it like this: Property-\>IsA\<UArrayProperty\>(); or like this: Cast\<UArrayProperty\>(Property); would res…

---

## [Error while compiling settings menu](https://forums.unrealengine.com/t/error-while-compiling-settings-menu/1944080)

<div class="topic-metadata">

**Author:** [@bublickk](https://forums.unrealengine.com/u/bublickk)\
**Replies:** 1\
**Last updated:** [July 21, 2024, 3:52am UTC](https://forums.unrealengine.com/t/error-while-compiling-settings-menu/1944080 "2024-07-21T03:52:50Z")

</div>

Hi everyone! At the moment I’m developing the settings menu of the game and encountered a problem that I do not know how to solve and would like to ask for your help. Here are the errors I encountered: 0\>SettingsMenu.c…

---

## [fast rendering camera](https://forums.unrealengine.com/t/fast-rendering-camera/1944019)

<div class="topic-metadata">

**Author:** [@reza-shahriari](https://forums.unrealengine.com/u/reza-shahriari)\
**Replies:** 2\
**Last updated:** [July 20, 2024, 2:58pm UTC](https://forums.unrealengine.com/t/fast-rendering-camera/1944019 "2024-07-20T14:58:51Z")

</div>

Hi i am using Airsim to simulate drones everything works good but the problem is when i want to render images from the camera. airsim has a client that i can request images with it easily but its really slow! i have a …

---

## [Bitmask Enum value in EditCondition freezes the editor.](https://forums.unrealengine.com/t/bitmask-enum-value-in-editcondition-freezes-the-editor/1311664)

<div class="topic-metadata">

**Author:** [@NTHeitorAlmeida](https://forums.unrealengine.com/u/NTHeitorAlmeida)\
**Replies:** 1\
**Last updated:** [July 19, 2024, 9:39pm UTC](https://forums.unrealengine.com/t/bitmask-enum-value-in-editcondition-freezes-the-editor/1311664 "2024-07-19T21:39:20Z")

</div>

Hello! I’m trying to block the edition of some properties of a struct, if the value of another property of the struct, which is a bitmask that may contain several values from an Enum, contains a certain Enum value. I’m…

---

## [Is it normal for me to send an array to a delegate and receive only a single entry?](https://forums.unrealengine.com/t/is-it-normal-for-me-to-send-an-array-to-a-delegate-and-receive-only-a-single-entry/1940547)

<div class="topic-metadata">

**Author:** [@JansenSensei](https://forums.unrealengine.com/u/JansenSensei)\
**Replies:** 1\
**Last updated:** [July 20, 2024, 9:55am UTC](https://forums.unrealengine.com/t/is-it-normal-for-me-to-send-an-array-to-a-delegate-and-receive-only-a-single-entry/1940547 "2024-07-20T09:55:46Z")

</div>

I created a custom UObject class called UCML which contains a TArray of another custom UObject class called UCMLData. Right before I broadcast my UCML I do a UE\_Log to check the number of UCMLData objects and I get the …

---

## [In C++, how to check if it's the Client or the Server that is running?](https://forums.unrealengine.com/t/in-c-how-to-check-if-its-the-client-or-the-server-that-is-running/1943326)

<div class="topic-metadata">

**Author:** [@kcinkcinkcinnick](https://forums.unrealengine.com/u/kcinkcinkcinnick)\
**Replies:** 0\
**Last updated:** [July 19, 2024, 6:53pm UTC](https://forums.unrealengine.com/t/in-c-how-to-check-if-its-the-client-or-the-server-that-is-running/1943326 "2024-07-19T18:53:13Z")

</div>

Hello my fellow enthousiasts! I am looking at the BeginPlay() of my PlayerCharacter and other Actors. I can find lots of documentation for Blueprint, but not really for C++. Blueprint has Kismet’s IsServer(), IsLoca…

---

## [How to keep mesh attached to camera from jittering?](https://forums.unrealengine.com/t/how-to-keep-mesh-attached-to-camera-from-jittering/144673)

<div class="topic-metadata">

**Author:** [@perspecdev](https://forums.unrealengine.com/u/perspecdev)\
**Replies:** 6\
**Last updated:** [July 19, 2024, 4:02pm UTC](https://forums.unrealengine.com/t/how-to-keep-mesh-attached-to-camera-from-jittering/144673 "2024-07-19T16:02:56Z")

</div>

I’ve got a weapon mesh that I’m trying to attach to the camera for a first person view. It’s a skeletal mesh, currently with no animations, no physics body, no collision, and not simulating physics. In BeginPlay, I get…

---

## [UE5.1 Mass Processor issue](https://forums.unrealengine.com/t/ue5-1-mass-processor-issue/1086950)

<div class="topic-metadata">

**Author:** [@lucakd](https://forums.unrealengine.com/u/lucakd)\
**Replies:** 9\
**Last updated:** [July 19, 2024, 4:03am UTC](https://forums.unrealengine.com/t/ue5-1-mass-processor-issue/1086950 "2024-07-19T04:03:41Z")

</div>

i have learned by epic’s tutorial “Large number of Entities with mass in UE5”,and there is code like it works in UE5.0 but in UE5.1 the comes error Assertion failed: ExecutionContext.ExecutionType == ExpectedContext…

---

## [I cannot create a Mass Entity Processor C++ class without Unreal 5.3.1 crashing](https://forums.unrealengine.com/t/i-cannot-create-a-mass-entity-processor-c-class-without-unreal-5-3-1-crashing/1328420)

<div class="topic-metadata">

**Author:** [@ConorImaginati](https://forums.unrealengine.com/u/ConorImaginati)\
**Replies:** 4\
**Last updated:** [July 19, 2024, 4:03am UTC](https://forums.unrealengine.com/t/i-cannot-create-a-mass-entity-processor-c-class-without-unreal-5-3-1-crashing/1328420 "2024-07-19T04:03:40Z")

</div>

Hi there. I am attempting to create my own mass entity processor, but unfortunately it crashes with this error: LowLevelFatalError \[File:D:\\build++UE5\\Sync\\Engine\\Plugins\\Runtime\\MassEntity\\Source\\MassEntity\\Public\\Mass…

---

## [How To Create Widget Animation With Pure c++ Using UWidgetAnimation, UMovieScene, UMovieSceneTracks, UMovieSceneSections ETC.](https://forums.unrealengine.com/t/how-to-create-widget-animation-with-pure-c-using-uwidgetanimation-umoviescene-umoviescenetracks-umoviescenesections-etc/1941033)

<div class="topic-metadata">

**Author:** [@Tuqayqokce09](https://forums.unrealengine.com/u/Tuqayqokce09)\
**Replies:** 2\
**Last updated:** [July 18, 2024, 10:21pm UTC](https://forums.unrealengine.com/t/how-to-create-widget-animation-with-pure-c-using-uwidgetanimation-umoviescene-umoviescenetracks-umoviescenesections-etc/1941033 "2024-07-18T22:21:16Z")

</div>

Hello I have a widget written in pure C++. I want to create and play an animation for this widget using C++. Currently, I am using the UWidgetAnimation, UMovieScene, and UMovieSceneTracks, UmovieSceneSection, classes, bu…

---

## [Dynamic Level Streaming does not reference streamed objects](https://forums.unrealengine.com/t/dynamic-level-streaming-does-not-reference-streamed-objects/719375)

<div class="topic-metadata">

**Author:** [@anon93738978](https://forums.unrealengine.com/u/anon93738978)\
**Replies:** 0\
**Last updated:** [December 1, 2022, 3:20pm UTC](https://forums.unrealengine.com/t/dynamic-level-streaming-does-not-reference-streamed-objects/719375 "2022-12-01T15:20:20Z")

</div>

Hello everyone, I try to stream in Level Instances into my persistant level via the ULevelStreamingDynamic::LoadLevelInstance, it works very well in the editor and my map segments appear albeit in a random order they ap…

---

## [Does the Forward Vector of a camera depend on its location?](https://forums.unrealengine.com/t/does-the-forward-vector-of-a-camera-depend-on-its-location/1942114)

<div class="topic-metadata">

**Author:** [@ViaCognita](https://forums.unrealengine.com/u/ViaCognita)\
**Replies:** 3\
**Last updated:** [July 18, 2024, 8:32pm UTC](https://forums.unrealengine.com/t/does-the-forward-vector-of-a-camera-depend-on-its-location/1942114 "2024-07-18T20:32:16Z")

</div>

Hi! I have a question about Vectors. Does the forward vector value depend on the location? If I get the Forward Vector of a camera, does it value depend on the camera’s location? Now, the camera is at (0, 0, 100), but I…

---

## [How to setup replication for c++ UserWidget's textblock?](https://forums.unrealengine.com/t/how-to-setup-replication-for-c-userwidgets-textblock/1942260)

<div class="topic-metadata">

**Author:** [@kcinkcinkcinnick](https://forums.unrealengine.com/u/kcinkcinkcinnick)\
**Replies:** 0\
**Last updated:** [July 18, 2024, 8:09pm UTC](https://forums.unrealengine.com/t/how-to-setup-replication-for-c-userwidgets-textblock/1942260 "2024-07-18T20:09:19Z")

</div>

Hello my fellow enthousiasts, A Quick overview of what I want to achieve: In a multiplayer game APickup Actor has a WidgetComponent. When the player gets close to the Actor, the Widget’s visibility is turned on and …

---

## [Relaunching the editor after compiling with live coding seems to not save the changes.](https://forums.unrealengine.com/t/relaunching-the-editor-after-compiling-with-live-coding-seems-to-not-save-the-changes/1220269)

<div class="topic-metadata">

**Author:** [@lidorbuba](https://forums.unrealengine.com/u/lidorbuba)\
**Replies:** 3\
**Last updated:** [July 18, 2024, 3:00pm UTC](https://forums.unrealengine.com/t/relaunching-the-editor-after-compiling-with-live-coding-seems-to-not-save-the-changes/1220269 "2024-07-18T15:00:01Z")

</div>

I have recently started using C++ after becoming comfortable with blueprints. In order to compile quickly and easily, I have been using Live Coding. However, I have noticed that when I make changes using Live Coding and …

---

## [How to set custom thumbnails for C++ and Blueprint classes?](https://forums.unrealengine.com/t/how-to-set-custom-thumbnails-for-c-and-blueprint-classes/628181)

<div class="topic-metadata">

**Author:** [@gomi](https://forums.unrealengine.com/u/gomi)\
**Replies:** 6\
**Last updated:** [July 18, 2024, 2:52pm UTC](https://forums.unrealengine.com/t/how-to-set-custom-thumbnails-for-c-and-blueprint-classes/628181 "2024-07-18T14:52:39Z")

</div>

I want to change default thumb image for a C++ class in editor. If possible I want to modify BP thumb image too. What is the way I do it? Thank you.

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

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