# C++

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

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

**Page:** 89

---

## [Textbox Setting in Lyra Game Options Menu](https://forums.unrealengine.com/t/textbox-setting-in-lyra-game-options-menu/1976928)

<div class="topic-metadata">

**Author:** [@ben.ya](https://forums.unrealengine.com/u/ben.ya)\
**Replies:** 0\
**Last updated:** [August 15, 2024, 12:29pm UTC](https://forums.unrealengine.com/t/textbox-setting-in-lyra-game-options-menu/1976928 "2024-08-15T12:29:35Z")

</div>

This is the guide on Lyra game settings: Lyra currently doesn’t come with any textbox settings. Has anyone been able to create a textbox setting? I’m curious how this would be done. My first attempt to extend the C++ c…

---

## [Complex Intersection Road Runtime](https://forums.unrealengine.com/t/complex-intersection-road-runtime/1976592)

<div class="topic-metadata">

**Author:** [@PlayHabits](https://forums.unrealengine.com/u/PlayHabits)\
**Replies:** 0\
**Last updated:** [August 15, 2024, 5:18am UTC](https://forums.unrealengine.com/t/complex-intersection-road-runtime/1976592 "2024-08-15T05:18:26Z")

</div>

I’m working on a game project like cities skyline, I’ve been developing a spline road system for 2 weeks and it’s successful, to create street curves in runtime. but the current problem is how to model complex intersecti…

---

## [How do I play Level Sequence in c++?](https://forums.unrealengine.com/t/how-do-i-play-level-sequence-in-c/771145)

<div class="topic-metadata">

**Author:** [@Syyylaaaar](https://forums.unrealengine.com/u/Syyylaaaar)\
**Replies:** 5\
**Last updated:** [August 15, 2024, 12:31am UTC](https://forums.unrealengine.com/t/how-do-i-play-level-sequence-in-c/771145 "2024-08-15T00:31:39Z")

</div>

Good day to all. I currently have a LevelSequence in my editor. I want to control it in c++. How would I play my LevelSequence in c++? Thank you in advance!

---

## [FBlackboardKeySelector not working on blueprint derived from cpp](https://forums.unrealengine.com/t/fblackboardkeyselector-not-working-on-blueprint-derived-from-cpp/1976088)

<div class="topic-metadata">

**Author:** [@xhallix](https://forums.unrealengine.com/u/xhallix)\
**Replies:** 0\
**Last updated:** [August 14, 2024, 8:44pm UTC](https://forums.unrealengine.com/t/fblackboardkeyselector-not-working-on-blueprint-derived-from-cpp/1976088 "2024-08-14T20:44:00Z")

</div>

Hi I’ve an AAIController class where I want to define the blackboard values like this public: AAIControllerStandardEnemy(); UFUNCTION() void OnTargetPerceptionUpdated(AActor\* Actor, FAIStimulus Stimulus);…

---

## [Gameplay debugger in developer compilation](https://forums.unrealengine.com/t/gameplay-debugger-in-developer-compilation/1975994)

<div class="topic-metadata">

**Author:** [@tomaszewski5252](https://forums.unrealengine.com/u/tomaszewski5252)\
**Replies:** 0\
**Last updated:** [August 14, 2024, 7:14pm UTC](https://forums.unrealengine.com/t/gameplay-debugger-in-developer-compilation/1975994 "2024-08-14T19:14:39Z")

</div>

Hi, I have made custom gameplay debugger category. I have seperated it to a plugin. It is working perfectly in Editor. However when I do developer compilation it does not appear when I press " ’ ". I am wondering if I a…

---

## [JSBSimForUnreal.sln build fails](https://forums.unrealengine.com/t/jsbsimforunreal-sln-build-fails/1871477)

<div class="topic-metadata">

**Author:** [@claudedaddy](https://forums.unrealengine.com/u/claudedaddy)\
**Replies:** 1\
**Last updated:** [August 14, 2024, 6:55pm UTC](https://forums.unrealengine.com/t/jsbsimforunreal-sln-build-fails/1871477 "2024-08-14T18:55:51Z")

</div>

I downloaded and unzipped JSBsim-master, and am following the instructions in jsbsim-master/UnrealEngine/README.md. I configured VS 2022 as described to build vs2019 compatible files, then opened VS and tried to build JS…

---

## [Difference between TFuture.Next() and TFuture.Then()?](https://forums.unrealengine.com/t/difference-between-tfuture-next-and-tfuture-then/1890852)

<div class="topic-metadata">

**Author:** [@Dazyn9](https://forums.unrealengine.com/u/Dazyn9)\
**Replies:** 1\
**Last updated:** [August 14, 2024, 2:45pm UTC](https://forums.unrealengine.com/t/difference-between-tfuture-next-and-tfuture-then/1890852 "2024-08-14T14:45:06Z")

</div>

I’ve been working on some Async function calls recently and TFuture seem to be the way to go for awaiting a value from another function. I see that TFuture.Get() can be used to block the thread until a value has been set…

---

## [Reducing the array when adding a new element and because of this you can't use the function insert](https://forums.unrealengine.com/t/reducing-the-array-when-adding-a-new-element-and-because-of-this-you-cant-use-the-function-insert/1971319)

<div class="topic-metadata">

**Author:** [@Volhvov](https://forums.unrealengine.com/u/Volhvov)\
**Replies:** 2\
**Last updated:** [August 14, 2024, 1:39pm UTC](https://forums.unrealengine.com/t/reducing-the-array-when-adding-a-new-element-and-because-of-this-you-cant-use-the-function-insert/1971319 "2024-08-14T13:39:25Z")

</div>

I am developing a multiplayer game, the task is to create an inventory that will add items to a certain hotbar slot, so that in the future it can be selected and used. the problem is that when using Items.Add regardless …

---

## [Procedural Mesh Component Memory Leak? (UE4)](https://forums.unrealengine.com/t/procedural-mesh-component-memory-leak-ue4/1972704)

<div class="topic-metadata">

**Author:** [@ruggy](https://forums.unrealengine.com/u/ruggy)\
**Replies:** 1\
**Last updated:** [August 14, 2024, 1:33pm UTC](https://forums.unrealengine.com/t/procedural-mesh-component-memory-leak-ue4/1972704 "2024-08-14T13:33:14Z")

</div>

Has anyone had issues with memory leaks and PMC? I’m using it to update a dynamic world and it seems to constantly leak. I’ve tried the mallocleak tool and it keeps pointing to the vertex arrays inside the PMC but I can…

---

## [The rotation is visible on the other client's screen, but not applied on my client occasionally...](https://forums.unrealengine.com/t/the-rotation-is-visible-on-the-other-clients-screen-but-not-applied-on-my-client-occasionally/1975521)

<div class="topic-metadata">

**Author:** [@IDDAN\_UE](https://forums.unrealengine.com/u/IDDAN_UE)\
**Replies:** 0\
**Last updated:** [August 14, 2024, 1:15pm UTC](https://forums.unrealengine.com/t/the-rotation-is-visible-on-the-other-clients-screen-but-not-applied-on-my-client-occasionally/1975521 "2024-08-14T13:15:41Z")

</div>

First of all, I apologize for my lack of proficiency in English as I am a Korean student aspiring to become a game developer using Unreal Engine. I am facing an issue and would greatly appreciate any assistance…

---

## [Perforce (and other version control) best practices](https://forums.unrealengine.com/t/perforce-and-other-version-control-best-practices/2279)

<div class="topic-metadata">

**Author:** [@Neverender](https://forums.unrealengine.com/u/Neverender)\
**Replies:** 6\
**Last updated:** [August 14, 2024, 11:54am UTC](https://forums.unrealengine.com/t/perforce-and-other-version-control-best-practices/2279 "2024-08-14T11:54:33Z")

</div>

I’ve decided to set up my own Perforce server and am trying to figure out the best way to organize and manage UE4 projects. I’m hoping to get the official word on some of this stuff! I considered putting this on AnswerHu…

---

## [The project won't build.](https://forums.unrealengine.com/t/the-project-wont-build/1973903)

<div class="topic-metadata">

**Author:** [@Joestar\_a](https://forums.unrealengine.com/u/Joestar_a)\
**Replies:** 3\
**Last updated:** [August 14, 2024, 7:33am UTC](https://forums.unrealengine.com/t/the-project-wont-build/1973903 "2024-08-14T07:33:42Z")

</div>

Error message MSB3073: ““C:\\Program Files\\Epic Games\\UE\_5.4\\Engine\\Build\\BatchFiles\\Build.bat” ball\_Rnd02Editor Win64 Development -Project=“D:\\UE\_2405\\ball\_Rnd02\\ball\_Rnd02.uproject” -WaitMutex -FromMsBuild -archit…

---

## [FSlateFontMeasure::Measure inaccurate with oultine](https://forums.unrealengine.com/t/fslatefontmeasure-measure-inaccurate-with-oultine/1966974)

<div class="topic-metadata">

**Author:** [@isaac4096](https://forums.unrealengine.com/u/isaac4096)\
**Replies:** 1\
**Last updated:** [August 14, 2024, 6:25am UTC](https://forums.unrealengine.com/t/fslatefontmeasure-measure-inaccurate-with-oultine/1966974 "2024-08-14T06:25:10Z")

</div>

I created a small widget with a icon and text block,then I compared two sizes Size of the text block geometry Size using FontMeasure auto WidgetInstance = StaticCast\<UPOIUserWidget\*\>(GetWidget()); auto FontMeas…

---

## [\[UE4 4.22.3 & C++\] How can I do a 'Point Of View' replay?](https://forums.unrealengine.com/t/ue4-4-22-3-c-how-can-i-do-a-point-of-view-replay/457082)

<div class="topic-metadata">

**Author:** [@LDOGLONDON](https://forums.unrealengine.com/u/LDOGLONDON)\
**Replies:** 4\
**Last updated:** [August 14, 2024, 1:15am UTC](https://forums.unrealengine.com/t/ue4-4-22-3-c-how-can-i-do-a-point-of-view-replay/457082 "2024-08-14T01:15:16Z")

</div>

Hey all, I’m trying to do a replay system where when you playback the replay you have the same point of view as when the replay was recorded. By this I mean the camera maintains the same position & rotation as it was wh…

---

## [Road with spline](https://forums.unrealengine.com/t/road-with-spline/1974164)

<div class="topic-metadata">

**Author:** [@Vodum\_Music](https://forums.unrealengine.com/u/Vodum_Music)\
**Replies:** 0\
**Last updated:** [August 13, 2024, 3:28pm UTC](https://forums.unrealengine.com/t/road-with-spline/1974164 "2024-08-13T15:28:13Z")

</div>

Hey, everybody. Need help from experienced professionals. I have a simple logic to generate a road with spline, but there are some problems. The segments on the spline have several polygons, but they do not want to corre…

---

## [Why are my gameplay ability attributes behaving like this, someone please help!](https://forums.unrealengine.com/t/why-are-my-gameplay-ability-attributes-behaving-like-this-someone-please-help/682802)

<div class="topic-metadata">

**Author:** [@Flulouch](https://forums.unrealengine.com/u/Flulouch)\
**Replies:** 5\
**Last updated:** [August 13, 2024, 1:33pm UTC](https://forums.unrealengine.com/t/why-are-my-gameplay-ability-attributes-behaving-like-this-someone-please-help/682802 "2024-08-13T13:33:34Z")

</div>

Hi, So I’ve gone through a very helpful piece of documentation by tranek on GitHub and I’ve been following through with some pointers on GAS and I come to clamping max values. And used the “GetGameplayAttributeValue…

---

## [\[solved\] Error playing Animation Montage from C++](https://forums.unrealengine.com/t/solved-error-playing-animation-montage-from-c/116778)

<div class="topic-metadata">

**Author:** [@Shmoopy1701](https://forums.unrealengine.com/u/Shmoopy1701)\
**Replies:** 4\
**Last updated:** [August 13, 2024, 8:51am UTC](https://forums.unrealengine.com/t/solved-error-playing-animation-montage-from-c/116778 "2024-08-13T08:51:03Z")

</div>

Following tutorial here to play animations on a SkeletalMeshComponent from C++. https://answers.unrealengine.com/que…lueprints.html Getting this error: “LogAnimation: Warning: Currently in Animation Blueprint mode. Pl…

---

## [My Blueprint library plugin for copy/paste doesnt work anymore](https://forums.unrealengine.com/t/my-blueprint-library-plugin-for-copy-paste-doesnt-work-anymore/1972888)

<div class="topic-metadata">

**Author:** [@Player\_003](https://forums.unrealengine.com/u/Player_003)\
**Replies:** 3\
**Last updated:** [August 12, 2024, 10:06pm UTC](https://forums.unrealengine.com/t/my-blueprint-library-plugin-for-copy-paste-doesnt-work-anymore/1972888 "2024-08-12T22:06:23Z")

</div>

I made BL plugin few months ago for 5.3 but now i need to use it in project that was made in 5.4 i tried recreating it in 5.4 but code always get error on compile .h // Copyright Epic Games, Inc. All Rights Reserved. …

---

## [Overflows the stack](https://forums.unrealengine.com/t/overflows-the-stack/1972738)

<div class="topic-metadata">

**Author:** [@Inklipse08090](https://forums.unrealengine.com/u/Inklipse08090)\
**Replies:** 3\
**Last updated:** [August 12, 2024, 9:30pm UTC](https://forums.unrealengine.com/t/overflows-the-stack/1972738 "2024-08-12T21:30:01Z")

</div>

I have a function that creates many entities at once, but it overflows the stack. What is the best way for me to do this? Unhandled exception at 0x00007FFD5AA4DB45 (UnrealEditor-Sanes.dll) in UnrealEditor.exe: The stack…

---

## [Editor and Runtime versions of the same plugin/library ?](https://forums.unrealengine.com/t/editor-and-runtime-versions-of-the-same-plugin-library/140849)

<div class="topic-metadata">

**Author:** [@erpy77](https://forums.unrealengine.com/u/erpy77)\
**Replies:** 9\
**Last updated:** [August 12, 2024, 7:10pm UTC](https://forums.unrealengine.com/t/editor-and-runtime-versions-of-the-same-plugin-library/140849 "2024-08-12T19:10:51Z")

</div>

I’m creating a BP library as a plugin. I have a function in the lib class that would need to work differently when InEditor. The problem of course is that the Runtime library can’t link to UnrealEd, and, preferably, I’d …

---

## [How to create a health bar that changes size at runtime?](https://forums.unrealengine.com/t/how-to-create-a-health-bar-that-changes-size-at-runtime/1962075)

<div class="topic-metadata">

**Author:** [@TheoRat3](https://forums.unrealengine.com/u/TheoRat3)\
**Replies:** 5\
**Last updated:** [August 12, 2024, 4:53pm UTC](https://forums.unrealengine.com/t/how-to-create-a-health-bar-that-changes-size-at-runtime/1962075 "2024-08-12T16:53:48Z")

</div>

I’m trying to create a health bar that’s scale X changes based on the character’s level. How do I access the size of a progress bar via C++ and change it so that it can be updated while playing?

---

## [Debugging on macOS, using dSYM files provided by UE4 installer](https://forums.unrealengine.com/t/debugging-on-macos-using-dsym-files-provided-by-ue4-installer/152009)

<div class="topic-metadata">

**Author:** [@intvoker](https://forums.unrealengine.com/u/intvoker)\
**Replies:** 3\
**Last updated:** [August 12, 2024, 4:39pm UTC](https://forums.unrealengine.com/t/debugging-on-macos-using-dsym-files-provided-by-ue4-installer/152009 "2024-08-12T16:39:47Z")

</div>

I want to be able to use lldb, see full call stack and step into engine sources. It works out of the box on Windows in with PDBs provided. But on macOS dSYMs are not loaded by lldb. Of course it is possible to attach d…

---

## [CRASH EU5 ON THE FINALS GAME ](https://forums.unrealengine.com/t/crash-eu5-on-the-finals-game/1972844)

<div class="topic-metadata">

**Author:** [@dnzyart](https://forums.unrealengine.com/u/dnzyart)\
**Replies:** 0\
**Last updated:** [August 12, 2024, 2:28pm UTC](https://forums.unrealengine.com/t/crash-eu5-on-the-finals-game/1972844 "2024-08-12T14:28:09Z")

</div>

J’ai une question en rapport avec des crashs intempestifs sur un jeu en particulier (The Finals / Discovery). Les erreurs sont les suivantes : https://drive.google.com/drive/folders/1WeYMyP5T52bsMbg9ZutYS0h8sFohCp2O?…

---

## [How to create 'compile\_commands.json' file](https://forums.unrealengine.com/t/how-to-create-compile-commands-json-file/148346)

<div class="topic-metadata">

**Author:** [@BoomRaccoon](https://forums.unrealengine.com/u/BoomRaccoon)\
**Replies:** 1\
**Last updated:** [August 12, 2024, 1:36pm UTC](https://forums.unrealengine.com/t/how-to-create-compile-commands-json-file/148346 "2024-08-12T13:36:48Z")

</div>

So I am trying to get the ‘compile\_commands.json’ file so I can use it inside of Sourcetrail. I do understand that I have to specify the tool mode ‘GenerateClangDatabase’ but I don’t know how/where. Am I supposed to ad…

---

## [Problem with Websocket connection](https://forums.unrealengine.com/t/problem-with-websocket-connection/715762)

<div class="topic-metadata">

**Author:** [@MestniySheih](https://forums.unrealengine.com/u/MestniySheih)\
**Replies:** 1\
**Last updated:** [August 12, 2024, 11:50am UTC](https://forums.unrealengine.com/t/problem-with-websocket-connection/715762 "2024-08-12T11:50:54Z")

</div>

Hi all. I am trying to make a connection to websocket through standard UE systems and functions in C++ and Blueprints I also use Blueprint WebSockets plugin, which lets me make connections via Blueprints When connecti…

---

## [i cannot import "MediaSoundComponent.h" help me :(](https://forums.unrealengine.com/t/i-cannot-import-mediasoundcomponent-h-help-me/762657)

<div class="topic-metadata">

**Author:** [@WheelletBurger](https://forums.unrealengine.com/u/WheelletBurger)\
**Replies:** 4\
**Last updated:** [August 12, 2024, 6:16am UTC](https://forums.unrealengine.com/t/i-cannot-import-mediasoundcomponent-h-help-me/762657 "2024-08-12T06:16:43Z")

</div>

Hi there :blush:. I have some problem. I’m having a hard time solving a problem. I tried to add and play “MediaSoundComponent.h” in cpp, but I received the following error code. 1\>C:\\Program Files\\Epic Games\\UE\_5.0\\En…

---

## [How to add custom settings in Project Settings?](https://forums.unrealengine.com/t/how-to-add-custom-settings-in-project-settings/146330)

<div class="topic-metadata">

**Author:** [@RowelCaps](https://forums.unrealengine.com/u/RowelCaps)\
**Replies:** 21\
**Last updated:** [August 12, 2024, 5:33am UTC](https://forums.unrealengine.com/t/how-to-add-custom-settings-in-project-settings/146330 "2024-08-12T05:33:36Z")

</div>

Hi. I’ve been trying to add a Custom Settings in Project Settings. I’ve found one tutorial on the web but it does not explain How do I get that data from it, How do I execute it to add on the project settings. It just sh…

---

## [How do I switch between World Partition Levels?](https://forums.unrealengine.com/t/how-do-i-switch-between-world-partition-levels/1972169)

<div class="topic-metadata">

**Author:** [@Elvisa0023](https://forums.unrealengine.com/u/Elvisa0023)\
**Replies:** 0\
**Last updated:** [August 12, 2024, 1:35am UTC](https://forums.unrealengine.com/t/how-do-i-switch-between-world-partition-levels/1972169 "2024-08-12T01:35:49Z")

</div>

I have several Levels, all of which are of the World Partition type. I haven’t found any information on how to switch between different World Partition Levels dynamically, and I want to unload and load them dynamically. …

---

## [pointer is null, why?](https://forums.unrealengine.com/t/pointer-is-null-why/223136)

<div class="topic-metadata">

**Author:** [@MacroGu](https://forums.unrealengine.com/u/MacroGu)\
**Replies:** 0\
**Last updated:** [May 22, 2020, 11:54am UTC](https://forums.unrealengine.com/t/pointer-is-null-why/223136 "2020-05-22T11:54:25Z")

</div>

In the constructor, the Graber pointer has a value, and it will be empty when beginplay why? ! the declaration is： UPROPERTY(EditAnywhere, BlueprintReadOnly) UGrabber\* Graber;

---

## [AssetManager asynchronous loading assets](https://forums.unrealengine.com/t/assetmanager-asynchronous-loading-assets/150962)

<div class="topic-metadata">

**Author:** [@ergin](https://forums.unrealengine.com/u/ergin)\
**Replies:** 1\
**Last updated:** [August 11, 2024, 9:52pm UTC](https://forums.unrealengine.com/t/assetmanager-asynchronous-loading-assets/150962 "2024-08-11T21:52:31Z")

</div>

Hello, I am trying to load inventory aynchronously because I want dlc functionality in the future. In ActionRPG example project, it uses “AsyncLoadPrimaryAssetList” node in Blueprint. But I can’t use it in C++. Do you…

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

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