# C++

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

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

**Page:** 85

---

## [HELP ! UE4.25.3 Error! Blueprint components missing location and rotations](https://forums.unrealengine.com/t/help-ue4-25-3-error-blueprint-components-missing-location-and-rotations/155521)

<div class="topic-metadata">

**Author:** [@DeathRaceReal](https://forums.unrealengine.com/u/DeathRaceReal)\
**Replies:** 4\
**Last updated:** [September 3, 2024, 1:46am UTC](https://forums.unrealengine.com/t/help-ue4-25-3-error-blueprint-components-missing-location-and-rotations/155521 "2024-09-03T01:46:00Z")

</div>

Hello, I recently moved from unity to UE4 due to better graphics enviroment. I managed to get substepping working after long period of time and now i have large struggle with blueprints x C++. I have made components th…

---

## [Adjusting ANavMeshBoundsVolume bounds at runtime](https://forums.unrealengine.com/t/adjusting-anavmeshboundsvolume-bounds-at-runtime/306996)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_d1f1e259](https://forums.unrealengine.com/u/anonymous_user_d1f1e259)\
**Replies:** 1\
**Last updated:** [September 2, 2024, 3:22pm UTC](https://forums.unrealengine.com/t/adjusting-anavmeshboundsvolume-bounds-at-runtime/306996 "2024-09-02T15:22:06Z")

</div>

Hello, I have a level which I have added a NavMeshBoundsVolume to via the editor. After spawning some static mesh instances I’d like to update the location and bounds of the ANavMeshBoundsVolume instance I placed in my…

---

## [What is a Gravity Group in geometry collection settings?](https://forums.unrealengine.com/t/what-is-a-gravity-group-in-geometry-collection-settings/2001772)

<div class="topic-metadata">

**Author:** [@playwithmewerder](https://forums.unrealengine.com/u/playwithmewerder)\
**Replies:** 3\
**Last updated:** [September 2, 2024, 11:42am UTC](https://forums.unrealengine.com/t/what-is-a-gravity-group-in-geometry-collection-settings/2001772 "2024-09-02T11:42:32Z")

</div>

There is a setting in geometry collection called gravity group. What it does? How does it work? How to create these gravity groups? Tried to go through a C++ code but there is a long long chain with gravity group setter…

---

## [Component Sweep Multi](https://forums.unrealengine.com/t/component-sweep-multi/1713838)

<div class="topic-metadata">

**Author:** [@BLAZEPunk](https://forums.unrealengine.com/u/BLAZEPunk)\
**Replies:** 1\
**Last updated:** [September 2, 2024, 10:20am UTC](https://forums.unrealengine.com/t/component-sweep-multi/1713838 "2024-09-02T10:20:25Z")

</div>

Does anyone know how I can use this in C++, I am new to C++ and want to make this usable in a blueprint function. If that’s not possible I would still like to know how I can use this in C++? Thank you

---

## [C++ FPS Template Character doesn't Move](https://forums.unrealengine.com/t/c-fps-template-character-doesnt-move/2001701)

<div class="topic-metadata">

**Author:** [@Cissoid](https://forums.unrealengine.com/u/Cissoid)\
**Replies:** 1\
**Last updated:** [September 2, 2024, 7:47am UTC](https://forums.unrealengine.com/t/c-fps-template-character-doesnt-move/2001701 "2024-09-02T07:47:08Z")

</div>

Hi, i created a project c++ fps template (engine 4.5). I create a new character based on the c++ class and changed it in the game mode, but the character doens’t move, i cant find any differences in created BP\_FirstPe…

---

## [Plugins Are Only Working For People in a Package Game if they have C++ Project](https://forums.unrealengine.com/t/plugins-are-only-working-for-people-in-a-package-game-if-they-have-c-project/8455)

<div class="topic-metadata">

**Author:** [@Rama](https://forums.unrealengine.com/u/Rama)\
**Replies:** 50\
**Last updated:** [September 2, 2024, 2:17am UTC](https://forums.unrealengine.com/t/plugins-are-only-working-for-people-in-a-package-game-if-they-have-c-project/8455 "2024-09-02T02:17:30Z")

</div>

Dear Friends at Epic, Remember the discussion about whether to mandate inclusion of full source code for plugins? Well currently that is the only option! I have been selling people plugins that they ask me to make for…

---

## [How can I package a plugin excluding its functional tests](https://forums.unrealengine.com/t/how-can-i-package-a-plugin-excluding-its-functional-tests/242212)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_2454dea5](https://forums.unrealengine.com/u/anonymous_user_2454dea5)\
**Replies:** 0\
**Last updated:** [July 23, 2021, 9:22pm UTC](https://forums.unrealengine.com/t/how-can-i-package-a-plugin-excluding-its-functional-tests/242212 "2021-07-23T21:22:03Z")

</div>

Hi, I have been attempting to build a plugin that contains functional tests with the shipping configuration. When including the “FunctionalTesting” module in the .Build.cs file, the following error is prompted on build: …

---

## [.generated.h: No such file or directory](https://forums.unrealengine.com/t/generated-h-no-such-file-or-directory/2000942)

<div class="topic-metadata">

**Author:** [@ViaCognita](https://forums.unrealengine.com/u/ViaCognita)\
**Replies:** 2\
**Last updated:** [September 1, 2024, 4:52pm UTC](https://forums.unrealengine.com/t/generated-h-no-such-file-or-directory/2000942 "2024-09-01T16:52:18Z")

</div>

Hi! I’m using Unreal Engine 5.4.4. In a project with two modules I’m getting this error in the secondary module: C:\\OpenDoorMultiplayer\\Source\\MultiplayerDoor\\Public\\DoorLeverInteract.h(7): fatal error C1083: Cannot o…

---

## [Get name of particle emitter (Cascade)](https://forums.unrealengine.com/t/get-name-of-particle-emitter-cascade/2000894)

<div class="topic-metadata">

**Author:** [@Chaotic\_Ray](https://forums.unrealengine.com/u/Chaotic_Ray)\
**Replies:** 0\
**Last updated:** [September 1, 2024, 2:48pm UTC](https://forums.unrealengine.com/t/get-name-of-particle-emitter-cascade/2000894 "2024-09-01T14:48:55Z")

</div>

Hi, everyone) I have an actor with UParticleSystemComponent in it. The particle system is initialized in the constructor with UParticleSystemComponent. How can I get the name (or any other properties) of the emitters t…

---

## [Unreal Engine 5 Plugin Updation Issue](https://forums.unrealengine.com/t/unreal-engine-5-plugin-updation-issue/522039)

<div class="topic-metadata">

**Author:** [@FinalRockstar](https://forums.unrealengine.com/u/FinalRockstar)\
**Replies:** 8\
**Last updated:** [September 1, 2024, 6:47am UTC](https://forums.unrealengine.com/t/unreal-engine-5-plugin-updation-issue/522039 "2024-09-01T06:47:16Z")

</div>

Hello I am trying to update my plugin for Unreal Engine 5. I am able to use the plugin in my editor and it works fine but on packaging, I am getting an Error on ClassGeneratedBy. Subsystem = GetWorld()-\>GetGameInstance…

---

## [IsAllowedToTick](https://forums.unrealengine.com/t/isallowedtotick/1998242)

<div class="topic-metadata">

**Author:** [@Auran131](https://forums.unrealengine.com/u/Auran131)\
**Replies:** 4\
**Last updated:** [September 1, 2024, 3:46am UTC](https://forums.unrealengine.com/t/isallowedtotick/1998242 "2024-09-01T03:46:17Z")

</div>

surely this must be called on tick so how does this differ from an IF statement inside the tick override function?

---

## [How make flying character always move forward](https://forums.unrealengine.com/t/how-make-flying-character-always-move-forward/1998420)

<div class="topic-metadata">

**Author:** [@Viniccius007](https://forums.unrealengine.com/u/Viniccius007)\
**Replies:** 8\
**Last updated:** [September 1, 2024, 2:19am UTC](https://forums.unrealengine.com/t/how-make-flying-character-always-move-forward/1998420 "2024-09-01T02:19:55Z")

</div>

I want to make a flying character which always move forward in the direction it’s facing (basically the same behavior of the editor view) but right now it slowly change the movement direction when going in the opposite d…

---

## [What is TSubClassOf and how can i use it?](https://forums.unrealengine.com/t/what-is-tsubclassof-and-how-can-i-use-it/19626)

<div class="topic-metadata">

**Author:** [@HelloWorldTeraByte](https://forums.unrealengine.com/u/HelloWorldTeraByte)\
**Replies:** 5\
**Last updated:** [September 1, 2024, 1:06am UTC](https://forums.unrealengine.com/t/what-is-tsubclassof-and-how-can-i-use-it/19626 "2024-09-01T01:06:11Z")

</div>

Hey Guys and Gals :slight\_smile: So as the title says i want to know what is TSubClassOf and how can I use it. I know what TSubObjectPtr is and how to use it ,(which got replaced in 4.6) I seen lot of people use it, I …

---

## [How do you get a custom FCollisionShape from a static mesh or other Geometry](https://forums.unrealengine.com/t/how-do-you-get-a-custom-fcollisionshape-from-a-static-mesh-or-other-geometry/2000320)

<div class="topic-metadata">

**Author:** [@Kaiju\_1](https://forums.unrealengine.com/u/Kaiju_1)\
**Replies:** 0\
**Last updated:** [September 1, 2024, 1:04am UTC](https://forums.unrealengine.com/t/how-do-you-get-a-custom-fcollisionshape-from-a-static-mesh-or-other-geometry/2000320 "2024-09-01T01:04:38Z")

</div>

I am trying to convert a UStaticMesh into an FCollisionShape for use in a SweepSingleByProfile() the static mesh is a quarter of a cylinder I have the Mesh defined as simply UPROPERTY(EditDefaultsOnly) UStaticMesh\*…

---

## [Use C++ in datatable](https://forums.unrealengine.com/t/use-c-in-datatable/2000182)

<div class="topic-metadata">

**Author:** [@Malcav1an](https://forums.unrealengine.com/u/Malcav1an)\
**Replies:** 1\
**Last updated:** [August 31, 2024, 10:16pm UTC](https://forums.unrealengine.com/t/use-c-in-datatable/2000182 "2024-08-31T22:16:03Z")

</div>

I have tried googling but not sure correct terminology. I have a struct in c++ but i cant see it in the list when creating a data table. I am assuming its the declarations at the top. TIA

---

## [visualize and modify an array of transforms](https://forums.unrealengine.com/t/visualize-and-modify-an-array-of-transforms/1996115)

<div class="topic-metadata">

**Author:** [@AreYouTheBot020](https://forums.unrealengine.com/u/AreYouTheBot020)\
**Replies:** 8\
**Last updated:** [August 31, 2024, 5:28pm UTC](https://forums.unrealengine.com/t/visualize-and-modify-an-array-of-transforms/1996115 "2024-08-31T17:28:41Z")

</div>

I have a struct USTRUCT(BlueprintType) struct FspecialPoints{ // technically only care about the location as offset (could be world space but right now offset), and rotation as absolute world position UPROPERTY(…

---

## [Is it normal to have about 50 projects in freshly created C++ project in visual studio 2022 ?](https://forums.unrealengine.com/t/is-it-normal-to-have-about-50-projects-in-freshly-created-c-project-in-visual-studio-2022/1998178)

<div class="topic-metadata">

**Author:** [@zeOrb](https://forums.unrealengine.com/u/zeOrb)\
**Replies:** 1\
**Last updated:** [August 31, 2024, 1:55pm UTC](https://forums.unrealengine.com/t/is-it-normal-to-have-about-50-projects-in-freshly-created-c-project-in-visual-studio-2022/1998178 "2024-08-31T13:55:13Z")

</div>

Hey folks! I’ve been recently migrating my UE4 C++ projects to UE 5.4.4 and everything is dandy, except every time I generate VS studio files… It has 50 projects inside, including all autotests for engine itself and a l…

---

## [A way to make UE5 HotReload from vscode under Linux](https://forums.unrealengine.com/t/a-way-to-make-ue5-hotreload-from-vscode-under-linux/829465)

<div class="topic-metadata">

**Author:** [@suiyuex](https://forums.unrealengine.com/u/suiyuex)\
**Replies:** 1\
**Last updated:** [August 31, 2024, 12:12pm UTC](https://forums.unrealengine.com/t/a-way-to-make-ue5-hotreload-from-vscode-under-linux/829465 "2024-08-31T12:12:51Z")

</div>

If you build your project within vscode under Linux, you should noticed that the UE5 does not Hot Reload the newly c++ code. And after some researches, I found a solution to resolve this issue. First, You need install …

---

## [UAudioComponent is not stopping](https://forums.unrealengine.com/t/uaudiocomponent-is-not-stopping/1999214)

<div class="topic-metadata">

**Author:** [@xenofsnstudios](https://forums.unrealengine.com/u/xenofsnstudios)\
**Replies:** 3\
**Last updated:** [August 31, 2024, 8:50am UTC](https://forums.unrealengine.com/t/uaudiocomponent-is-not-stopping/1999214 "2024-08-31T08:50:58Z")

</div>

I’m trying to stop a bark if another bark is played while the first bark is playing. The below blueprint in the Level blueprint works: The equivalent c++ code in the game mode does not stop the audio component: voi…

---

## [Fixing short type name warning messages](https://forums.unrealengine.com/t/fixing-short-type-name-warning-messages/696553)

<div class="topic-metadata">

**Author:** [@STRiFE.x](https://forums.unrealengine.com/u/STRiFE.x)\
**Replies:** 4\
**Last updated:** [August 30, 2024, 11:46pm UTC](https://forums.unrealengine.com/t/fixing-short-type-name-warning-messages/696553 "2024-08-30T23:46:59Z")

</div>

I was getting weird warning messages while updating my plugin to UE5.1. LogClass: Warning: Short type name "EKronosMatchmakingFlags" provided for TryFindType. Please convert it to a path name (suggested: "/Script/Kronos…

---

## [TSharedPtr destroyes previous RawPointer.](https://forums.unrealengine.com/t/tsharedptr-destroyes-previous-rawpointer/105169)

<div class="topic-metadata">

**Author:** [@Rumbleball](https://forums.unrealengine.com/u/Rumbleball)\
**Replies:** 9\
**Last updated:** [August 3, 2018, 10:44am UTC](https://forums.unrealengine.com/t/tsharedptr-destroyes-previous-rawpointer/105169 "2018-08-03T10:44:25Z")

</div>

Hi, having a bit of trouble working this out. I want to make use of UMovieSceneCapture, which needs me to call UMovieSceneCapture::Initialize. UMovieSceneCapture::Initialize wants a TSharedPtr \< FSceneViewport \>. I g…

---

## [Unknown Cook Failure: CookCommand.Automation.cs:249 Wrapped by AutomationException: Cook failed.](https://forums.unrealengine.com/t/unknown-cook-failure-cookcommand-automation-cs-249-wrapped-by-automationexception-cook-failed/138364)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_56d22a2a1](https://forums.unrealengine.com/u/anonymous_user_56d22a2a1)\
**Replies:** 12\
**Last updated:** [August 30, 2024, 5:00pm UTC](https://forums.unrealengine.com/t/unknown-cook-failure-cookcommand-automation-cs-249-wrapped-by-automationexception-cook-failed/138364 "2024-08-30T17:00:26Z")

</div>

Hi all, Our development team has been blocked by this Unknown Cook Failure when packaging for Win64 in the editor for quite a while now and we are really running out of ideas to resolve it. If you google for this issue …

---

## [Header doesn't work](https://forums.unrealengine.com/t/header-doesnt-work/1998482)

<div class="topic-metadata">

**Author:** [@cilpsi](https://forums.unrealengine.com/u/cilpsi)\
**Replies:** 12\
**Last updated:** [August 30, 2024, 4:28pm UTC](https://forums.unrealengine.com/t/header-doesnt-work/1998482 "2024-08-30T16:28:21Z")

</div>

I’m pretty new to c++ so its very possible i’ve overlooked something but as far as i understood the header should enable the engine to recognize this variabletype FDynamicMeshAttributeSet | Unreal Engine 5.4 Documentatio…

---

## [Can you hide UFUNCTION parameters depending on a bool?](https://forums.unrealengine.com/t/can-you-hide-ufunction-parameters-depending-on-a-bool/1998448)

<div class="topic-metadata">

**Author:** [@davmik](https://forums.unrealengine.com/u/davmik)\
**Replies:** 1\
**Last updated:** [August 30, 2024, 3:28pm UTC](https://forums.unrealengine.com/t/can-you-hide-ufunction-parameters-depending-on-a-bool/1998448 "2024-08-30T15:28:27Z")

</div>

For UPROPERTY’s, there is the meta specifier EditCondition. I am wondering if there is a similar one for UFUNCTIONs, so that I could for example hide the amount if I have ‘all’ checked. See picture for reference.

---

## [Asset/File change monitoring](https://forums.unrealengine.com/t/asset-file-change-monitoring/410418)

<div class="topic-metadata">

**Author:** [@Ozirus](https://forums.unrealengine.com/u/Ozirus)\
**Replies:** 3\
**Last updated:** [August 30, 2024, 3:09pm UTC](https://forums.unrealengine.com/t/asset-file-change-monitoring/410418 "2024-08-30T15:09:42Z")

</div>

I’m trying to detect when a data asset (UDataAsset) is being modified while running the game from the editor, so that I could call a function to account for those changes without restarting the game. Is this functionali…

---

## [Error windows SDK v8.1 must be installed in order to build this target](https://forums.unrealengine.com/t/error-windows-sdk-v8-1-must-be-installed-in-order-to-build-this-target/379685)

<div class="topic-metadata">

**Author:** [@lsent](https://forums.unrealengine.com/u/lsent)\
**Replies:** 30\
**Last updated:** [August 30, 2024, 1:10pm UTC](https://forums.unrealengine.com/t/error-windows-sdk-v8-1-must-be-installed-in-order-to-build-this-target/379685 "2024-08-30T13:10:25Z")

</div>

I have windows 7 trying to make basic C++ coding file in Unreal engine version 4.14.1 but it says I need windows 8.1, I don’t want windows 8 or 10 so I guess I have to download a previous version of Unreal engine, does a…

---

## [UnrealBuildTool - "Could not find definition for module" error when packaging c++ plugin](https://forums.unrealengine.com/t/unrealbuildtool-could-not-find-definition-for-module-error-when-packaging-c-plugin/1996849)

<div class="topic-metadata">

**Author:** [@DatosLab](https://forums.unrealengine.com/u/DatosLab)\
**Replies:** 1\
**Last updated:** [August 30, 2024, 12:47pm UTC](https://forums.unrealengine.com/t/unrealbuildtool-could-not-find-definition-for-module-error-when-packaging-c-plugin/1996849 "2024-08-30T12:47:43Z")

</div>

Hi, I created a c++ plugin in UE5.4.3 VS2022 with dependency on another local/project plugin under the same project as follows: TestProject -Plugins -A -B Where B depends on A, ie in B.build.cs, I …

---

## [Visual Studio often consumes all memory & 100% of disk for up to an hour](https://forums.unrealengine.com/t/visual-studio-often-consumes-all-memory-100-of-disk-for-up-to-an-hour/1997221)

<div class="topic-metadata">

**Author:** [@ryan\_motive](https://forums.unrealengine.com/u/ryan_motive)\
**Replies:** 5\
**Last updated:** [August 30, 2024, 12:32am UTC](https://forums.unrealengine.com/t/visual-studio-often-consumes-all-memory-100-of-disk-for-up-to-an-hour/1997221 "2024-08-30T00:32:58Z")

</div>

I’m working on a plugin using a very simple project based on the First Person template. In most cases building & running takes less than a minute. From time to time however (usually after computer restart or re-launching…

---

## [Can I combine 2 different projects(different types) to one project](https://forums.unrealengine.com/t/can-i-combine-2-different-projects-different-types-to-one-project/389689)

<div class="topic-metadata">

**Author:** [@DesertXGhost](https://forums.unrealengine.com/u/DesertXGhost)\
**Replies:** 6\
**Last updated:** [August 29, 2024, 7:43pm UTC](https://forums.unrealengine.com/t/can-i-combine-2-different-projects-different-types-to-one-project/389689 "2024-08-29T19:43:26Z")

</div>

To be more specific can I make 2 projects one of them is a third person one and combine it with a first person one?

---

## [This solution contains packages with vulnerabilities. manage nuget packages](https://forums.unrealengine.com/t/this-solution-contains-packages-with-vulnerabilities-manage-nuget-packages/1995702)

<div class="topic-metadata">

**Author:** [@Sklayter](https://forums.unrealengine.com/u/Sklayter)\
**Replies:** 1\
**Last updated:** [August 29, 2024, 7:33pm UTC](https://forums.unrealengine.com/t/this-solution-contains-packages-with-vulnerabilities-manage-nuget-packages/1995702 "2024-08-29T19:33:35Z")

</div>

Can’t solve this problem. It doesn’t let me open the project from the source. I tried to update the packages but it seems they just don’t want to. Epic Games\\UE\_5.4\\Engine\\Source\\Programs\\AutomationTool\\TVOS\\TVOS.Autom…

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

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