# C++

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

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

**Page:** 25

---

## [Cannot build plugin module - LINK : fatal error LNK1181: cannot open input file '..\\UE4Editor.lib'](https://forums.unrealengine.com/t/cannot-build-plugin-module-link-fatal-error-lnk1181-cannot-open-input-file-ue4editor-lib/78409)

<div class="topic-metadata">

**Author:** [@\_Auron](https://forums.unrealengine.com/u/_Auron)\
**Replies:** 16\
**Last updated:** [September 21, 2025, 1:34pm UTC](https://forums.unrealengine.com/t/cannot-build-plugin-module-link-fatal-error-lnk1181-cannot-open-input-file-ue4editor-lib/78409 "2025-09-21T13:34:15Z")

</div>

For whatever reason no matter what I do, since yesterday all of a sudden I can’t build my plugin module anymore. If I remove it (the whole Plugins folder) from my project it builds just fine, but if I try to build the pl…

---

## [Change Default Actor Class used for Drag and Drop of Assets](https://forums.unrealengine.com/t/change-default-actor-class-used-for-drag-and-drop-of-assets/441541)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_b2f1d043](https://forums.unrealengine.com/u/anonymous_user_b2f1d043)\
**Replies:** 3\
**Last updated:** [September 21, 2025, 2:19am UTC](https://forums.unrealengine.com/t/change-default-actor-class-used-for-drag-and-drop-of-assets/441541 "2025-09-21T02:19:46Z")

</div>

I would like to override the default class used for drag and drop in the editor for Static Meshes. Right now when you drag and drop a Static Mesh asset into the scene it will create a StaticMeshActor using that static m…

---

## [Why is my FMassActorFragment always a nullptr ?](https://forums.unrealengine.com/t/why-is-my-fmassactorfragment-always-a-nullptr/2301732)

<div class="topic-metadata">

**Author:** [@ASTROKARMA](https://forums.unrealengine.com/u/ASTROKARMA)\
**Replies:** 1\
**Last updated:** [September 21, 2025, 1:39am UTC](https://forums.unrealengine.com/t/why-is-my-fmassactorfragment-always-a-nullptr/2301732 "2025-09-21T01:39:13Z")

</div>

Hello, I started learning ECS and Unreal Engine Mass one month ago, I think that I have understand many things already. But my main problem remain unsolve, I would like find a way to get the actor attached ( by the mass…

---

## [StateTree Schema how to set context](https://forums.unrealengine.com/t/statetree-schema-how-to-set-context/2657973)

<div class="topic-metadata">

**Author:** [@Davidzhu](https://forums.unrealengine.com/u/Davidzhu)\
**Replies:** 1\
**Last updated:** [September 20, 2025, 8:38pm UTC](https://forums.unrealengine.com/t/statetree-schema-how-to-set-context/2657973 "2025-09-20T20:38:23Z")

</div>

\#pragma once #include "CoreMinimal.h" #include "Components/StateTreeAIComponentSchema.h" #include "Ubs\_StateTreeAISchema.generated.h" class AAIController; /\*\* \* Custom State Tree schema for AI, providing context data…

---

## [\[BUG\] Critical Error Array.h line 758 UE 5.4.3 and 5.4.4](https://forums.unrealengine.com/t/bug-critical-error-array-h-line-758-ue-5-4-3-and-5-4-4/1992209)

<div class="topic-metadata">

**Author:** [@Valentinvis](https://forums.unrealengine.com/u/Valentinvis)\
**Replies:** 7\
**Last updated:** [September 20, 2025, 7:11pm UTC](https://forums.unrealengine.com/t/bug-critical-error-array-h-line-758-ue-5-4-3-and-5-4-4/1992209 "2025-09-20T19:11:46Z")

</div>

//Edit: I’m starting with the edit because what I said below is still valid, but this error isn’t only for Project Launcher where I encountered it first, but I also got the error when trying to move a folder with lots of…

---

## [Access Violation error in BeginPlay, nullptr help?](https://forums.unrealengine.com/t/access-violation-error-in-beginplay-nullptr-help/2656939)

<div class="topic-metadata">

**Author:** [@NewDogPlus](https://forums.unrealengine.com/u/NewDogPlus)\
**Replies:** 6\
**Last updated:** [September 20, 2025, 2:16pm UTC](https://forums.unrealengine.com/t/access-violation-error-in-beginplay-nullptr-help/2656939 "2025-09-20T14:16:10Z")

</div>

I’ve been following along with an online class teaching how to make a third person shooter, and the current topic is about enemy behaviors and behavior trees. However, despite following along exactly with the code in the…

---

## [Could not find definition for module, need help!](https://forums.unrealengine.com/t/could-not-find-definition-for-module-need-help/470489)

<div class="topic-metadata">

**Author:** [@MVPaaryan](https://forums.unrealengine.com/u/MVPaaryan)\
**Replies:** 3\
**Last updated:** [September 19, 2025, 6:30pm UTC](https://forums.unrealengine.com/t/could-not-find-definition-for-module-need-help/470489 "2025-09-19T18:30:42Z")

</div>

Hi, I’m trying to create a editor module that runs at initialization. I’ve tried following a couple tutorials like: http://cairansteverink.nl/cairansteverink/blog/creating-an-editor-module-in-unreal-engine-4/ UE4 Cod…

---

## [Request for Access – Passionate Unreal Engine Learner ](https://forums.unrealengine.com/t/request-for-access-passionate-unreal-engine-learner/2658274)

<div class="topic-metadata">

**Author:** [@An8zmu](https://forums.unrealengine.com/u/An8zmu)\
**Replies:** 0\
**Last updated:** [September 19, 2025, 3:59pm UTC](https://forums.unrealengine.com/t/request-for-access-passionate-unreal-engine-learner/2658274 "2025-09-19T15:59:52Z")

</div>

Hello Unreal Engine Forum Admins, I am ZayDen, currently exploring Unreal Engine 5 for learning and personal projects. My main interests are in: Programming & Scripting – practicing Blueprints and learning C++ basics…

---

## [Please help, PIE Crash when editing Open World maps](https://forums.unrealengine.com/t/please-help-pie-crash-when-editing-open-world-maps/2655214)

<div class="topic-metadata">

**Author:** [@Likkkez](https://forums.unrealengine.com/u/Likkkez)\
**Replies:** 17\
**Last updated:** [September 19, 2025, 6:36am UTC](https://forums.unrealengine.com/t/please-help-pie-crash-when-editing-open-world-maps/2655214 "2025-09-19T06:36:07Z")

</div>

I’m trying to move my project from 5.5 to 5.6.1 but all the maps we made crash the engine if we touch anything! Just moving some objects crashes the whole engine as soon as we click PIE. I have no idea how to reproduce …

---

## [AAVot AI – Smarter Workflow Assistance for Developers](https://forums.unrealengine.com/t/aavot-ai-smarter-workflow-assistance-for-developers/2658073)

<div class="topic-metadata">

**Author:** [@Alictewarta](https://forums.unrealengine.com/u/Alictewarta)\
**Replies:** 0\
**Last updated:** [September 19, 2025, 1:28am UTC](https://forums.unrealengine.com/t/aavot-ai-smarter-workflow-assistance-for-developers/2658073 "2025-09-19T01:28:59Z")

</div>

AAVot AI is designed to support developers by enhancing productivity and simplifying creative workflows. It provides smart suggestions, efficient automation, and reliable assistance for different stages of development. W…

---

## [Shipping Problem](https://forums.unrealengine.com/t/shipping-problem/2657988)

<div class="topic-metadata">

**Author:** [@AmadO1](https://forums.unrealengine.com/u/AmadO1)\
**Replies:** 0\
**Last updated:** [September 18, 2025, 5:29pm UTC](https://forums.unrealengine.com/t/shipping-problem/2657988 "2025-09-18T17:29:09Z")

</div>

Hello, I have been having trouble shipping games since a long time ago, now I would like to bring the concern to the forum, I have a game I am suppose to release to the public, the shipping has a continuous message, here…

---

## [Unable to open source file "MaterialEditingLibrary.h"](https://forums.unrealengine.com/t/unable-to-open-source-file-materialeditinglibrary-h/2657864)

<div class="topic-metadata">

**Author:** [@JogsLeech\_Boys](https://forums.unrealengine.com/u/JogsLeech_Boys)\
**Replies:** 0\
**Last updated:** [September 18, 2025, 8:35am UTC](https://forums.unrealengine.com/t/unable-to-open-source-file-materialeditinglibrary-h/2657864 "2025-09-18T08:35:12Z")

</div>

I followed the documentation and added the corresponding module ‘MaterialEditor’, but why am I still unable to open the source file ‘MaterialEditingLibrary.h’?

---

## [Hi ！How can I call this FUNCTION？](https://forums.unrealengine.com/t/hi-how-can-i-call-this-function/2657045)

<div class="topic-metadata">

**Author:** [@likemm1](https://forums.unrealengine.com/u/likemm1)\
**Replies:** 3\
**Last updated:** [September 18, 2025, 7:39am UTC](https://forums.unrealengine.com/t/hi-how-can-i-call-this-function/2657045 "2025-09-18T07:39:53Z")

</div>

How can I call this function with （ &InArray）？ 我该怎么调用这个反射到蓝图入参带引用的函数？ When I call this function，Why its input stand at output。。。 我在蓝图调用这个函数时，入参InArray怎么出现在了输出的引脚上？ thank you for your help~ 请大佬们给点提示，谢谢~

---

## [Leonardo AI Image Generator - Create Art, Images & Video](https://forums.unrealengine.com/t/leonardo-ai-image-generator-create-art-images-video/2657810)

<div class="topic-metadata">

**Author:** [@Julianramireza](https://forums.unrealengine.com/u/Julianramireza)\
**Replies:** 0\
**Last updated:** [September 18, 2025, 6:54am UTC](https://forums.unrealengine.com/t/leonardo-ai-image-generator-create-art-images-video/2657810 "2025-09-18T06:54:32Z")

</div>

Hi everyone, I’ve recently been exploring Leonardo AI, a creative tool that focuses on AI-driven image and art generation. It allows users to quickly produce concept art, design variations, and even visual references th…

---

## [Is there a way to know if you're initializing a world subsystem in game vs in the editor?](https://forums.unrealengine.com/t/is-there-a-way-to-know-if-youre-initializing-a-world-subsystem-in-game-vs-in-the-editor/2657716)

<div class="topic-metadata">

**Author:** [@ddbrown30](https://forums.unrealengine.com/u/ddbrown30)\
**Replies:** 5\
**Last updated:** [September 18, 2025, 3:50am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-know-if-youre-initializing-a-world-subsystem-in-game-vs-in-the-editor/2657716 "2025-09-18T03:50:34Z")

</div>

When launching the editor, I get the call to Initialize in world subsystem a couple of times as it’s loading. This is happening because the editor creates two worlds as part of the boot process. The first is an empty wor…

---

## [Dynamic creation of multiple trees](https://forums.unrealengine.com/t/dynamic-creation-of-multiple-trees/2657665)

<div class="topic-metadata">

**Author:** [@Zimaell](https://forums.unrealengine.com/u/Zimaell)\
**Replies:** 0\
**Last updated:** [September 17, 2025, 7:26pm UTC](https://forums.unrealengine.com/t/dynamic-creation-of-multiple-trees/2657665 "2025-09-17T19:26:03Z")

</div>

How to create, for example, several thousand trees from a script and make it work reliably. I’m trying to do it this way FString PathEuro = TEXT("/Game/Megascans/3D\_Plants/EuropeanHornbeam/Geometry/SimpleWind/"); …

---

## [Not able to find c++ Enum class in blackboard key type dropdown ](https://forums.unrealengine.com/t/not-able-to-find-c-enum-class-in-blackboard-key-type-dropdown/2657562)

<div class="topic-metadata">

**Author:** [@Romen\_Guru](https://forums.unrealengine.com/u/Romen_Guru)\
**Replies:** 0\
**Last updated:** [September 17, 2025, 1:55pm UTC](https://forums.unrealengine.com/t/not-able-to-find-c-enum-class-in-blackboard-key-type-dropdown/2657562 "2025-09-17T13:55:21Z")

</div>

I am making a NPC using C++. I am making a Enum class to check what the State of NPC is(Passive, attacking, dead, etc). Now I am making a blackboard key of enum key type but in enum type dropdown I cant see my c++ enum c…

---

## [Bug report UE5.5 / 5.6 Call Function GetAsyncLoadPercentage(PackageName) ,The return value is incorrect(return -1)](https://forums.unrealengine.com/t/bug-report-ue5-5-5-6-call-function-getasyncloadpercentage-packagename-the-return-value-is-incorrect-return-1/2652655)

<div class="topic-metadata">

**Author:** [@user\_e7b7d57b667aa039f0e52883051901956a155e229891d2f5286dce](https://forums.unrealengine.com/u/user_e7b7d57b667aa039f0e52883051901956a155e229891d2f5286dce)\
**Replies:** 0\
**Last updated:** [September 1, 2025, 2:41am UTC](https://forums.unrealengine.com/t/bug-report-ue5-5-5-6-call-function-getasyncloadpercentage-packagename-the-return-value-is-incorrect-return-1/2652655 "2025-09-01T02:41:37Z")

</div>

1.Call Funtion : COREUOBJECT\_API int32 LoadPackageAsync(const FString& InName, FLoadPackageAsyncDelegate InCompletionDelegate, TAsyncLoadPriority InPackagePriority = 0, EPackageFlags InPackageFlags = PKG\_None, int32 InP…

---

## [UE5 websocket WSS problem](https://forums.unrealengine.com/t/ue5-websocket-wss-problem/502399)

<div class="topic-metadata">

**Author:** [@aznur](https://forums.unrealengine.com/u/aznur)\
**Replies:** 5\
**Last updated:** [September 17, 2025, 2:03am UTC](https://forums.unrealengine.com/t/ue5-websocket-wss-problem/502399 "2025-09-17T02:03:43Z")

</div>

i have folow the first part of this tutorial “How to Use WebSockets in Unreal Engine - YouTube” for testing and i want conect my game client to a nodejs server with WSS Websocket Secure and after making the changes o…

---

## [C++ Classes break on reload](https://forums.unrealengine.com/t/c-classes-break-on-reload/2656826)

<div class="topic-metadata">

**Author:** [@Danimita](https://forums.unrealengine.com/u/Danimita)\
**Replies:** 2\
**Last updated:** [September 16, 2025, 7:23pm UTC](https://forums.unrealengine.com/t/c-classes-break-on-reload/2656826 "2025-09-16T19:23:22Z")

</div>

Hi everyone! I’m having issues now that I’m trying to create C++ Classes to my previously Blueprint-only UE 5.6.1 project. The issue is as follows: I create a new C++ Class called “TestActor” Close the project, b…

---

## [Happy to Join – Please Unlock My Access ](https://forums.unrealengine.com/t/happy-to-join-please-unlock-my-access/2657212)

<div class="topic-metadata">

**Author:** [@anxumwwa](https://forums.unrealengine.com/u/anxumwwa)\
**Replies:** 0\
**Last updated:** [September 16, 2025, 3:46pm UTC](https://forums.unrealengine.com/t/happy-to-join-please-unlock-my-access/2657212 "2025-09-16T15:46:44Z")

</div>

Hi everyone, I’m really happy to join this forum. I’ve just started working with Autodesk Construction Cloud and I believe this community will be a great place to exchange ideas, learn tips, and share knowledge about wo…

---

## [New Member Introduction – Unlock Request ](https://forums.unrealengine.com/t/new-member-introduction-unlock-request/2657182)

<div class="topic-metadata">

**Author:** [@Hwn126PO](https://forums.unrealengine.com/u/Hwn126PO)\
**Replies:** 0\
**Last updated:** [September 16, 2025, 2:53pm UTC](https://forums.unrealengine.com/t/new-member-introduction-unlock-request/2657182 "2025-09-16T14:53:49Z")

</div>

Hello, I’m a new member who just joined this community to learn more about Autodesk Construction Cloud and share experiences with others. I’m very interested in topics about project collaboration, workflows, and best pr…

---

## [Using webrtc data channel with PixelStreaming2](https://forums.unrealengine.com/t/using-webrtc-data-channel-with-pixelstreaming2/2653248)

<div class="topic-metadata">

**Author:** [@PaulBlythe](https://forums.unrealengine.com/u/PaulBlythe)\
**Replies:** 13\
**Last updated:** [September 16, 2025, 7:46am UTC](https://forums.unrealengine.com/t/using-webrtc-data-channel-with-pixelstreaming2/2653248 "2025-09-16T07:46:56Z")

</div>

Hi guys, Has anyone found a way to communicate with the stream broadcaster using data channels? When I create a new data channel and send messages to the broadcaster it gets to the FEpicRtcStreamer , but then errors ou…

---

## [Deleted by Author](https://forums.unrealengine.com/t/deleted-by-author/1951779)

<div class="topic-metadata">

**Author:** [@HighRender](https://forums.unrealengine.com/u/HighRender)\
**Replies:** 0\
**Last updated:** [July 27, 2024, 12:08am UTC](https://forums.unrealengine.com/t/deleted-by-author/1951779 "2024-07-27T00:08:00Z")

</div>

Deleted by Author

---

## [Deleted by Author](https://forums.unrealengine.com/t/deleted-by-author/1911884)

<div class="topic-metadata">

**Author:** [@HighRender](https://forums.unrealengine.com/u/HighRender)\
**Replies:** 0\
**Last updated:** [June 21, 2024, 7:15pm UTC](https://forums.unrealengine.com/t/deleted-by-author/1911884 "2024-06-21T19:15:11Z")

</div>

Deleted by Author

---

## [How to change a plugin's value using Config File after packaging?](https://forums.unrealengine.com/t/how-to-change-a-plugins-value-using-config-file-after-packaging/2656934)

<div class="topic-metadata">

**Author:** [@HighRender](https://forums.unrealengine.com/u/HighRender)\
**Replies:** 0\
**Last updated:** [September 15, 2025, 8:22pm UTC](https://forums.unrealengine.com/t/how-to-change-a-plugins-value-using-config-file-after-packaging/2656934 "2025-09-15T20:22:33Z")

</div>

I can successfully change a value of my plugin using its “own .ini file” (Default\[PluginName\].ini) when using the editor. However, I can’t find the “PluginName.ini” file in the package version to change the value. So, t…

---

## [Flattening and encoding an octree in unreal](https://forums.unrealengine.com/t/flattening-and-encoding-an-octree-in-unreal/2656465)

<div class="topic-metadata">

**Author:** [@Eyufoi](https://forums.unrealengine.com/u/Eyufoi)\
**Replies:** 2\
**Last updated:** [September 15, 2025, 2:58am UTC](https://forums.unrealengine.com/t/flattening-and-encoding-an-octree-in-unreal/2656465 "2025-09-15T02:58:19Z")

</div>

This is an octree for a voxel engine I am creating, I have been having a dilemma with choosing a way of flattening and/or encoding this octree, so I have a way of sending data over to a client. struct OctreeNode { BYTE…

---

## [important issues ](https://forums.unrealengine.com/t/important-issues/2656329)

<div class="topic-metadata">

**Author:** [@aaquite](https://forums.unrealengine.com/u/aaquite)\
**Replies:** 1\
**Last updated:** [September 14, 2025, 5:45pm UTC](https://forums.unrealengine.com/t/important-issues/2656329 "2025-09-14T17:45:00Z")

</div>

I’m sorry to waste everyone’s time, but I’m wondering if anyone can do me a favour. I’m very interested in mate human in ue5.6. I clicked on his plug-in. When I was thinking about adding mate human creator, my page flash…

---

## [Unreal Audio Modulation not working when called from C++](https://forums.unrealengine.com/t/unreal-audio-modulation-not-working-when-called-from-c/2656406)

<div class="topic-metadata">

**Author:** [@RCE\_WillPimentel](https://forums.unrealengine.com/u/RCE_WillPimentel)\
**Replies:** 1\
**Last updated:** [September 13, 2025, 8:55pm UTC](https://forums.unrealengine.com/t/unreal-audio-modulation-not-working-when-called-from-c/2656406 "2025-09-13T20:55:45Z")

</div>

Hello all, I have been dealing with a strange issue where attempting to deal with Unreal Engine’s audio modulation is flat-out not working in C++. In a custom game user settings class, I have an API to deal with audio …

---

## [SetForceDisableSplitscreen does not appear to be working ](https://forums.unrealengine.com/t/setforcedisablesplitscreen-does-not-appear-to-be-working/2656414)

<div class="topic-metadata">

**Author:** [@MyPantsAreCheese](https://forums.unrealengine.com/u/MyPantsAreCheese)\
**Replies:** 0\
**Last updated:** [September 13, 2025, 8:49pm UTC](https://forums.unrealengine.com/t/setforcedisablesplitscreen-does-not-appear-to-be-working/2656414 "2025-09-13T20:49:15Z")

</div>

SetForceDisableSplitscreen does not appear to be doing anything? I set it up like this in my game mode on beginplay, but when i call addlocalplayer, that player still gets there second screen. Im just looking to disable …

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

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