# C++

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

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

**Page:** 4

---

## [Trouble moving components created using NewObject\<\>() ](https://forums.unrealengine.com/t/trouble-moving-components-created-using-newobject/2836914)

<div class="topic-metadata">

**Author:** [@Aldrege](https://forums.unrealengine.com/u/Aldrege)\
**Replies:** 2\
**Last updated:** [October 5, 2026, 6:14pm UTC](https://forums.unrealengine.com/t/trouble-moving-components-created-using-newobject/2836914 "2026-10-05T18:14:49Z")

</div>

Hi I’m working on a project in C++ right now where I am trying to create my own building system that the player can use similar to others like Fortnite or ARK as a practice experiment. The trouble I have run into is I am…

---

## [EOS\_Platform\_Create segfaults on iOS SDK v1.19.2.1 with a valid ClientSecret while succeeding on Android — need a fix or workaround. ](https://forums.unrealengine.com/t/eos-platform-create-segfaults-on-ios-sdk-v1-19-2-1-with-a-valid-clientsecret-while-succeeding-on-android-need-a-fix-or-workaround/2837469)

<div class="topic-metadata">

**Author:** [@HenyRemy](https://forums.unrealengine.com/u/HenyRemy)\
**Replies:** 0\
**Last updated:** [October 5, 2026, 5:22pm UTC](https://forums.unrealengine.com/t/eos-platform-create-segfaults-on-ios-sdk-v1-19-2-1-with-a-valid-clientsecret-while-succeeding-on-android-need-a-fix-or-workaround/2837469 "2026-10-05T17:22:20Z")

</div>

EOS\_Platform\_Create segfaults every launch (EXC\_BAD\_ACCESS/SIGSEGV, null deref at 0x0; dispatch thread → app frames → 4 EOSSDK frames → EOS\_Platform\_Create). 7 identical .ips reports (one attached). Bisection, same call…

---

## [Closing Colour Picker causes infinite loop](https://forums.unrealengine.com/t/closing-colour-picker-causes-infinite-loop/2739837)

<div class="topic-metadata">

**Author:** [@DBCS](https://forums.unrealengine.com/u/DBCS)\
**Replies:** 2\
**Last updated:** [October 5, 2026, 4:15pm UTC](https://forums.unrealengine.com/t/closing-colour-picker-causes-infinite-loop/2739837 "2026-10-05T16:15:41Z")

</div>

To reproduce: Make a child asset of the spotlight Edit the colour of the child asset. Clicking okay or cancel or X on the colour picker causes the crash FColorStructCustomization::OnColorPickerWindowClosed() └── FPr…

---

## [PumpActionBase\_BP](https://forums.unrealengine.com/t/pumpactionbase-bp/2835140)

<div class="topic-metadata">

**Author:** [@Quaked54](https://forums.unrealengine.com/u/Quaked54)\
**Replies:** 1\
**Last updated:** [October 2, 2026, 2:14pm UTC](https://forums.unrealengine.com/t/pumpactionbase-bp/2835140 "2026-10-02T14:14:59Z")

</div>

if (APumpActionShotgunBase\* PumpShotgun = Cast\<APumpActionShotgunBase\>(CurrentWeapon)) { if (WeaponArray\[weaponIndex\] == PumpShotgun) { if (PumpShotgun-\>CurrentMagazineAmmo \>= 1) { ShotgunPumpActionBool = t…

---

## [Will Unreal Engine 6 still support C++ if I don't want to switch to Verse?](https://forums.unrealengine.com/t/will-unreal-engine-6-still-support-c-if-i-dont-want-to-switch-to-verse/2731032)

<div class="topic-metadata">

**Author:** [@Mozart5372](https://forums.unrealengine.com/u/Mozart5372)\
**Replies:** 5\
**Last updated:** [September 29, 2026, 6:59pm UTC](https://forums.unrealengine.com/t/will-unreal-engine-6-still-support-c-if-i-dont-want-to-switch-to-verse/2731032 "2026-09-29T18:59:06Z")

</div>

Hi everyone, I have a question about the future of Unreal Engine. With all the discussion around Verse, I’m wondering if Unreal Engine 6 will still fully support C++ as a programming language. I enjoy using C++ and wou…

---

## [Why is there no "New C++ Struct" option?](https://forums.unrealengine.com/t/why-is-there-no-new-c-struct-option/2745392)

<div class="topic-metadata">

**Author:** [@BudgetArms](https://forums.unrealengine.com/u/BudgetArms)\
**Replies:** 7\
**Last updated:** [September 26, 2026, 3:22pm UTC](https://forums.unrealengine.com/t/why-is-there-no-new-c-struct-option/2745392 "2026-09-26T15:22:40Z")

</div>

Under Tools, there’s an option “New C++ Class”, which allows the creation of C++ classes and to see what classes derive from what other classes. Overall, it makes it way easier to create an unreal class, compared to man…

---

## [Potential Linux Support for UEFN? ](https://forums.unrealengine.com/t/potential-linux-support-for-uefn/2834494)

<div class="topic-metadata">

**Author:** [@skybloom404](https://forums.unrealengine.com/u/skybloom404)\
**Replies:** 0\
**Last updated:** [September 26, 2026, 2:14pm UTC](https://forums.unrealengine.com/t/potential-linux-support-for-uefn/2834494 "2026-09-26T14:14:40Z")

</div>

Linux gaming has grown significantly over the past decade due to Proton, the Steam Deck, and improvements to graphics drivers and anti-cheat support. Unreal Engine already supports Linux development, and Easy Anti-Cheat …

---

## [Why character fall down through landscape? Engine bug](https://forums.unrealengine.com/t/why-character-fall-down-through-landscape-engine-bug/2834463)

<div class="topic-metadata">

**Author:** [@Ruslanmin2](https://forums.unrealengine.com/u/Ruslanmin2)\
**Replies:** 0\
**Last updated:** [September 26, 2026, 10:25am UTC](https://forums.unrealengine.com/t/why-character-fall-down-through-landscape-engine-bug/2834463 "2026-09-26T10:25:37Z")

</div>

I have created binoculars with spring arm of camera, but when I activate camera and move camera around in the world then my character falls down through landscape, how I can fix it? Please help me! I am using ALS Commun…

---

## [How to make the blueprint subclass that inherits from localplayersubsystem usable after packaging?](https://forums.unrealengine.com/t/how-to-make-the-blueprint-subclass-that-inherits-from-localplayersubsystem-usable-after-packaging/2658096)

<div class="topic-metadata">

**Author:** [@serwdadw](https://forums.unrealengine.com/u/serwdadw)\
**Replies:** 4\
**Last updated:** [September 26, 2026, 9:30am UTC](https://forums.unrealengine.com/t/how-to-make-the-blueprint-subclass-that-inherits-from-localplayersubsystem-usable-after-packaging/2658096 "2026-09-26T09:30:11Z")

</div>

Hello everyone, I have created a class that inherits from localplayerSubsystem and added an initialization event to its blueprint subclass. But the initialization event is only triggered in PIE mode and will not be trigg…

---

## [How do I get Enhanced Input Local Player Subsystem without accessing Player Controller in C++?](https://forums.unrealengine.com/t/how-do-i-get-enhanced-input-local-player-subsystem-without-accessing-player-controller-in-c/2708916)

<div class="topic-metadata">

**Author:** [@pagi111](https://forums.unrealengine.com/u/pagi111)\
**Replies:** 6\
**Last updated:** [September 26, 2026, 9:06am UTC](https://forums.unrealengine.com/t/how-do-i-get-enhanced-input-local-player-subsystem-without-accessing-player-controller-in-c/2708916 "2026-09-26T09:06:55Z")

</div>

Hello, I’ve been searching for some time and seen quite a lot of topics about how to get UEnhancedInputLocalPlayerSubsystem, but they all seem to involve PlayerController in some way (or at least getting the current UWo…

---

## [Livecoding corrupting Data Table row structure](https://forums.unrealengine.com/t/livecoding-corrupting-data-table-row-structure/1343371)

<div class="topic-metadata">

**Author:** [@BeesKnees113](https://forums.unrealengine.com/u/BeesKnees113)\
**Replies:** 1\
**Last updated:** [September 25, 2026, 5:25pm UTC](https://forums.unrealengine.com/t/livecoding-corrupting-data-table-row-structure/1343371 "2026-09-25T17:25:14Z")

</div>

After a few Livecoding compiles my Data Tables lose their row structure. The name of the row structure changes to /Engine/Transient.LIVECODING\_MyDataName\_1 I think livecoding is corrupting the row structure. How can I …

---

## [Chargeable Attack With PaperZD and GAS](https://forums.unrealengine.com/t/chargeable-attack-with-paperzd-and-gas/2833909)

<div class="topic-metadata">

**Author:** [@Gilan101](https://forums.unrealengine.com/u/Gilan101)\
**Replies:** 1\
**Last updated:** [September 25, 2026, 4:23am UTC](https://forums.unrealengine.com/t/chargeable-attack-with-paperzd-and-gas/2833909 "2026-09-25T04:23:00Z")

</div>

Hi, I’m trying to make a game using PaperZD and GAS. At the moment, I’m stuck trying to get a chargable attack working. I’ve created a gameplay ability for the attack, and given it 3 states: startup, charging, and attac…

---

## [How can I connect a POS system with inventory management in an Unreal Engine project?](https://forums.unrealengine.com/t/how-can-i-connect-a-pos-system-with-inventory-management-in-an-unreal-engine-project/2833511)

<div class="topic-metadata">

**Author:** [@Suhebm](https://forums.unrealengine.com/u/Suhebm)\
**Replies:** 0\
**Last updated:** [September 23, 2026, 9:06am UTC](https://forums.unrealengine.com/t/how-can-i-connect-a-pos-system-with-inventory-management-in-an-unreal-engine-project/2833511 "2026-09-23T09:06:15Z")

</div>

How can I connect a POS system with inventory management in an Unreal Engine project?

---

## [Can you create gameplay tags at runtime?](https://forums.unrealengine.com/t/can-you-create-gameplay-tags-at-runtime/237075)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_d2bc34eb](https://forums.unrealengine.com/u/anonymous_user_d2bc34eb)\
**Replies:** 2\
**Last updated:** [September 22, 2026, 10:49pm UTC](https://forums.unrealengine.com/t/can-you-create-gameplay-tags-at-runtime/237075 "2026-09-22T22:49:32Z")

</div>

Hi, I’m creating an online game with gameplay tags, and I just thought it would be easier if you can dynamically create tags while the game is playing, is this possible, or is it only possible with predefined gameplay ta…

---

## [How should I handle image and video uploads from an Unreal Engine mobile application?](https://forums.unrealengine.com/t/how-should-i-handle-image-and-video-uploads-from-an-unreal-engine-mobile-application/2833302)

<div class="topic-metadata">

**Author:** [@Suhebm](https://forums.unrealengine.com/u/Suhebm)\
**Replies:** 1\
**Last updated:** [September 22, 2026, 7:02pm UTC](https://forums.unrealengine.com/t/how-should-i-handle-image-and-video-uploads-from-an-unreal-engine-mobile-application/2833302 "2026-09-22T19:02:18Z")

</div>

If I make a mobile app using Unreal Engine, how can I let users upload photos and videos from their phone to the app?

---

## [Cannot open Unreal Engine 5 after changing C++ code ](https://forums.unrealengine.com/t/cannot-open-unreal-engine-5-after-changing-c-code/2833341)

<div class="topic-metadata">

**Author:** [@kbsims](https://forums.unrealengine.com/u/kbsims)\
**Replies:** 3\
**Last updated:** [September 22, 2026, 5:53pm UTC](https://forums.unrealengine.com/t/cannot-open-unreal-engine-5-after-changing-c-code/2833341 "2026-09-22T17:53:23Z")

</div>

My enthusiasm for Unreal Engine is waning quickly. Almost every time I make a change to my C++ files (mostly header files) I run into a problem where I cannot open the editor and I have to start the project again. Lately…

---

## [Unreal Engine 5 project fails when adding an enum variable ](https://forums.unrealengine.com/t/unreal-engine-5-project-fails-when-adding-an-enum-variable/2833344)

<div class="topic-metadata">

**Author:** [@kbsims](https://forums.unrealengine.com/u/kbsims)\
**Replies:** 1\
**Last updated:** [September 22, 2026, 3:44pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-project-fails-when-adding-an-enum-variable/2833344 "2026-09-22T15:44:44Z")

</div>

I am trying to create a project in Unreal Engine 5.8.2. I have created an enum in C++ in its own header file: enum class MATHGENIE\_API EOperations { Addition, Subtraction, Multiplication, Division }; In the header…

---

## [How to write constructor for custom struct](https://forums.unrealengine.com/t/how-to-write-constructor-for-custom-struct/341749)

<div class="topic-metadata">

**Author:** [@SiberianExpress](https://forums.unrealengine.com/u/SiberianExpress)\
**Replies:** 3\
**Last updated:** [September 22, 2026, 9:03am UTC](https://forums.unrealengine.com/t/how-to-write-constructor-for-custom-struct/341749 "2026-09-22T09:03:57Z")

</div>

I created a custom struct “FIntVector2D” simply a 2D integer vector using the FIntVector template. file ObjectLib.h \> #include "Engine/ObjectLibrary.h" \> #include "ObjectLib.generated.h" \> \> USTRUCT(im…

---

## [Stack overflow error with an instanced property in a Primary Data Asset ](https://forums.unrealengine.com/t/stack-overflow-error-with-an-instanced-property-in-a-primary-data-asset/2833078)

<div class="topic-metadata">

**Author:** [@Serberuss](https://forums.unrealengine.com/u/Serberuss)\
**Replies:** 1\
**Last updated:** [September 21, 2026, 11:20pm UTC](https://forums.unrealengine.com/t/stack-overflow-error-with-an-instanced-property-in-a-primary-data-asset/2833078 "2026-09-21T23:20:23Z")

</div>

I am running into an issue where my Unreal editor is crashing every time I open one of my data assets. I have narrowed it down to non-transient properties inside an instanced class. I have created the smallest reproducib…

---

## [Logging nested TMap / TSet in UE C++ without nested JoinBy ](https://forums.unrealengine.com/t/logging-nested-tmap-tset-in-ue-c-without-nested-joinby/2833013)

<div class="topic-metadata">

**Author:** [@Woo\_z1](https://forums.unrealengine.com/u/Woo_z1)\
**Replies:** 0\
**Last updated:** [September 21, 2026, 3:15pm UTC](https://forums.unrealengine.com/t/logging-nested-tmap-tset-in-ue-c-without-nested-joinby/2833013 "2026-09-21T15:15:00Z")

</div>

Problem: logging TMap\<uint64, TSet\> is still nested FString::JoinBy. If the value type later changes from TArray to TSet, every lambda signature has to change with it. UE\_LOG(LogTemp, Display, TEXT("IdToValues: %s"), …

---

## [Physics being simulated after code was deleted](https://forums.unrealengine.com/t/physics-being-simulated-after-code-was-deleted/2832745)

<div class="topic-metadata">

**Author:** [@pastelfable](https://forums.unrealengine.com/u/pastelfable)\
**Replies:** 2\
**Last updated:** [September 20, 2026, 5:22pm UTC](https://forums.unrealengine.com/t/physics-being-simulated-after-code-was-deleted/2832745 "2026-09-20T17:22:36Z")

</div>

I had written some code to simulate physics on my player character’s mesh when they died, but it wasn’t working, so I deleted it to try something else. After deleting it though, physics started getting simulated immediat…

---

## [ISO-8859-1 format issues](https://forums.unrealengine.com/t/iso-8859-1-format-issues/16484)

<div class="topic-metadata">

**Author:** [@abhishek17](https://forums.unrealengine.com/u/abhishek17)\
**Replies:** 4\
**Last updated:** [September 19, 2026, 8:05am UTC](https://forums.unrealengine.com/t/iso-8859-1-format-issues/16484 "2026-09-19T08:05:54Z")

</div>

Hi. I am trying to receive a response from a server. The server sends the data in ISO-8859-1 format. Because of this, characters like ", ’ are being shown as ?. Can I do something to fix that? Any help would be greatly…

---

## [Attribute clamping issues with mixed instant and duration GameplayEffect](https://forums.unrealengine.com/t/attribute-clamping-issues-with-mixed-instant-and-duration-gameplayeffect/2764861)

<div class="topic-metadata">

**Author:** [@jw5a](https://forums.unrealengine.com/u/jw5a)\
**Replies:** 1\
**Last updated:** [September 18, 2026, 3:43pm UTC](https://forums.unrealengine.com/t/attribute-clamping-issues-with-mixed-instant-and-duration-gameplayeffect/2764861 "2026-09-18T15:43:21Z")

</div>

I want to implement a shielding effect that has some stacks and each stack completely mitigates a single damage instance. For that I added a UCombatSet::Shield and UCombatSet::MaxShield (in this scenario value of 3) attr…

---

## [Lyra and SkyCreator crash because they keep Ticking after shutdown](https://forums.unrealengine.com/t/lyra-and-skycreator-crash-because-they-keep-ticking-after-shutdown/2769790)

<div class="topic-metadata">

**Author:** [@TruGolfDan](https://forums.unrealengine.com/u/TruGolfDan)\
**Replies:** 1\
**Last updated:** [September 18, 2026, 3:32pm UTC](https://forums.unrealengine.com/t/lyra-and-skycreator-crash-because-they-keep-ticking-after-shutdown/2769790 "2026-09-18T15:32:50Z")

</div>

We’re noticing our game has started to crash when we click the X button or click our Quit Game button (which simply calls Quit Game in blueprint). Which component crashes (thus far I’ve personally seen Lyra & SkyCreator…

---

## [What is the recommended way to implement real-time messaging between users in an Unreal Engine mobile app?](https://forums.unrealengine.com/t/what-is-the-recommended-way-to-implement-real-time-messaging-between-users-in-an-unreal-engine-mobile-app/2794481)

<div class="topic-metadata">

**Author:** [@Suhebm](https://forums.unrealengine.com/u/Suhebm)\
**Replies:** 1\
**Last updated:** [September 17, 2026, 4:59pm UTC](https://forums.unrealengine.com/t/what-is-the-recommended-way-to-implement-real-time-messaging-between-users-in-an-unreal-engine-mobile-app/2794481 "2026-09-17T16:59:38Z")

</div>

If I want two users to chat with each other instantly inside my Unreal Engine mobile app, what technology or method should I use?

---

## [vs2022 integration tool error](https://forums.unrealengine.com/t/vs2022-integration-tool-error/2463105)

<div class="topic-metadata">

**Author:** [@black\_cat](https://forums.unrealengine.com/u/black_cat)\
**Replies:** 5\
**Last updated:** [September 16, 2026, 8:47pm UTC](https://forums.unrealengine.com/t/vs2022-integration-tool-error/2463105 "2026-09-16T20:47:33Z")

</div>

After enabling vs studio integration in a project this error shows when live coding: Expecting to find a type to be declared in a module rules named ‘VisualStudioTools’ in ‘UE5Rules, Version=0.0.0.0, Culture=neutral, Pu…

---

## [Game creation  ](https://forums.unrealengine.com/t/game-creation/2778324)

<div class="topic-metadata">

**Author:** [@AlmeBandzz](https://forums.unrealengine.com/u/AlmeBandzz)\
**Replies:** 0\
**Last updated:** [September 16, 2026, 6:28pm UTC](https://forums.unrealengine.com/t/game-creation/2778324 "2026-09-16T18:28:02Z")

</div>

Looking for an Unreal Engine 5 Developer Hey, I’m a game designer and creative director working on an ambitious open-world multiplayer superhero game, and I’m looking for an Unreal Engine 5 developer who wants to build …

---

## [SetMouseCursorWidget only works when I release mouse press](https://forums.unrealengine.com/t/setmousecursorwidget-only-works-when-i-release-mouse-press/2776064)

<div class="topic-metadata">

**Author:** [@Arwimiles](https://forums.unrealengine.com/u/Arwimiles)\
**Replies:** 8\
**Last updated:** [September 16, 2026, 4:10pm UTC](https://forums.unrealengine.com/t/setmousecursorwidget-only-works-when-i-release-mouse-press/2776064 "2026-09-16T16:10:28Z")

</div>

Hello! I’m working on drag and drop functionality for an inventory system. I want to SetMouseCursorWidget to the widget of an item if you’ve clicked it and dragged, however it instead just hides the cursor and only shows…

---

## [How to start? ](https://forums.unrealengine.com/t/how-to-start/2776046)

<div class="topic-metadata">

**Author:** [@0d91b41bc76041bc81c4a8994b742362](https://forums.unrealengine.com/u/0d91b41bc76041bc81c4a8994b742362)\
**Replies:** 1\
**Last updated:** [September 15, 2026, 7:07pm UTC](https://forums.unrealengine.com/t/how-to-start/2776046 "2026-09-15T19:07:17Z")

</div>

I’m a beginner in UE5, and I want to work in engine development, but it’s hard to find some useful learning path, and the UE engine source code is so complicated that I don’t know where to start. Tutorials available on t…

---

## [ue6.0源代码编译在MacBook Pro（m1max）上崩溃,editor version:xcode26.6 ](https://forums.unrealengine.com/t/ue6-0-macbook-pro-m1max-editor-version-xcode26-6/2776057)

<div class="topic-metadata">

**Author:** [@hahalalahehe](https://forums.unrealengine.com/u/hahalalahehe)\
**Replies:** 0\
**Last updated:** [September 15, 2026, 6:49pm UTC](https://forums.unrealengine.com/t/ue6-0-macbook-pro-m1max-editor-version-xcode26-6/2776057 "2026-09-15T18:49:09Z")

</div>

why unreal engine crash at this code? environment is m1max macbookpro,editor version:xcode26.6

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

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