# Programming & Scripting

**URL:** https://forums.unrealengine.com/c/development-discussion/programming-scripting/148.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

---

## [Is there a plan to provide a MCP (Model Context Protocol) server](https://forums.unrealengine.com/t/is-there-a-plan-to-provide-a-mcp-model-context-protocol-server/2580648)

<div class="topic-metadata">

**Author:** [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Replies:** 8\
**Last updated:** [May 30, 2026, 9:01pm UTC](https://forums.unrealengine.com/t/is-there-a-plan-to-provide-a-mcp-model-context-protocol-server/2580648 "2026-05-30T21:01:10Z")

</div>

We plan to use Unreal Editor in association with LLMs. We may develop our own MCP (Model Context Protocol) server to interface the unreal python API, but we would like to know what are Epic plans to provide such MCP serv…

---

## [How to check if target is reachable navmesh](https://forums.unrealengine.com/t/how-to-check-if-target-is-reachable-navmesh/333015)

<div class="topic-metadata">

**Author:** [@nedled](https://forums.unrealengine.com/u/nedled)\
**Replies:** 4\
**Last updated:** [May 30, 2026, 3:32pm UTC](https://forums.unrealengine.com/t/how-to-check-if-target-is-reachable-navmesh/333015 "2026-05-30T15:32:57Z")

</div>

Hi there, I’m using a Behavior tree for my AI with a priority system where I list all types of enemies. I want to check the reach-ability of all enemies using a priority list. However when I’m checking an enemy that i…

---

## [DataTable vs UDataAsset for storing large amount of static data](https://forums.unrealengine.com/t/datatable-vs-udataasset-for-storing-large-amount-of-static-data/111622)

<div class="topic-metadata">

**Author:** [@kostenickj](https://forums.unrealengine.com/u/kostenickj)\
**Replies:** 14\
**Last updated:** [May 30, 2026, 11:54am UTC](https://forums.unrealengine.com/t/datatable-vs-udataasset-for-storing-large-amount-of-static-data/111622 "2026-05-30T11:54:06Z")

</div>

Hi all, My game is very data driven, i need to store a large amount of data with the same structure, and i’m stuck between using DataTables with structs, or a UDataAsset object. I’m curious what some more experienced de…

---

## [UI/Widget based game help needed. Lots of pics for reference here!](https://forums.unrealengine.com/t/ui-widget-based-game-help-needed-lots-of-pics-for-reference-here/2724971)

<div class="topic-metadata">

**Author:** [@Didgeridrew5](https://forums.unrealengine.com/u/Didgeridrew5)\
**Replies:** 1\
**Last updated:** [May 30, 2026, 9:59am UTC](https://forums.unrealengine.com/t/ui-widget-based-game-help-needed-lots-of-pics-for-reference-here/2724971 "2026-05-30T09:59:57Z")

</div>

I just need some general guidance here on how to setup my UI based game. The game is designed to simply be a way to input your hits when throwing axes or darts at a projected image. (I use something like this at my axe t…

---

## [Compass HUD missing in Fortnite Creative 1.0 & UEFN ](https://forums.unrealengine.com/t/compass-hud-missing-in-fortnite-creative-1-0-uefn/2725035)

<div class="topic-metadata">

**Author:** [@NoobKi11er1](https://forums.unrealengine.com/u/NoobKi11er1)\
**Replies:** 1\
**Last updated:** [May 30, 2026, 9:49am UTC](https://forums.unrealengine.com/t/compass-hud-missing-in-fortnite-creative-1-0-uefn/2725035 "2026-05-30T09:49:32Z")

</div>

Is it a bug that UEFN doesn’t use compass HUD? HUD Controller nor Island Settings can enable what I thought was a foundational HUD feature in Fortnite..? Attached is a clear video of this happening in a real creative gam…

---

## [LNK2001 & LNK2019 | MASS Translator causes linking issues when trying to derived from it](https://forums.unrealengine.com/t/lnk2001-lnk2019-mass-translator-causes-linking-issues-when-trying-to-derived-from-it/2725081)

<div class="topic-metadata">

**Author:** [@WeenieSashimi](https://forums.unrealengine.com/u/WeenieSashimi)\
**Replies:** 1\
**Last updated:** [May 30, 2026, 7:29am UTC](https://forums.unrealengine.com/t/lnk2001-lnk2019-mass-translator-causes-linking-issues-when-trying-to-derived-from-it/2725081 "2026-05-30T07:29:36Z")

</div>

I have been trying to derived from UMassProcessors & Translators lately on Unreal Engine 5.6.1. Which I understand has a slew of issues in regard to Gauntlet.Automation & other linkihng errors. But using the same versi…

---

## [NEED HELP: Fixing RTB Inline Image](https://forums.unrealengine.com/t/need-help-fixing-rtb-inline-image/2725248)

<div class="topic-metadata">

**Author:** [@GraczCourier](https://forums.unrealengine.com/u/GraczCourier)\
**Replies:** 0\
**Last updated:** [May 30, 2026, 1:50am UTC](https://forums.unrealengine.com/t/need-help-fixing-rtb-inline-image/2725248 "2026-05-30T01:50:41Z")

</div>

I’m trying to center the inline image, but it keeps going to the same bottom. How I can center it? What changes do I need to apply to my inline class? class SCndRichInlineImage : public SCompoundWidget { public: SLA…

---

## [Learning agents action masking ](https://forums.unrealengine.com/t/learning-agents-action-masking/2725240)

<div class="topic-metadata">

**Author:** [@Adros1902](https://forums.unrealengine.com/u/Adros1902)\
**Replies:** 0\
**Last updated:** [May 30, 2026, 12:23am UTC](https://forums.unrealengine.com/t/learning-agents-action-masking/2725240 "2026-05-30T00:23:24Z")

</div>

Hello, I am trying to understand Learning Agenst Plugin in UE 5.7. I am trying to learn PPO model to play my tower defence game. Because I have many possible actions i want to use action masking, to mask all moves that …

---

## [GetPrimaryGPUBrand - How To Retrieve Non-Primary GPU?](https://forums.unrealengine.com/t/getprimarygpubrand-how-to-retrieve-non-primary-gpu/2725236)

<div class="topic-metadata">

**Author:** [@p1xel\_imperfect](https://forums.unrealengine.com/u/p1xel_imperfect)\
**Replies:** 0\
**Last updated:** [May 29, 2026, 11:08pm UTC](https://forums.unrealengine.com/t/getprimarygpubrand-how-to-retrieve-non-primary-gpu/2725236 "2026-05-29T23:08:58Z")

</div>

I’m using FWindowsPlatformMisc::GetPrimaryGPUBrand as part of a process to extract debug information for my project. Its current return value is the integrated Intel UHD Graphics setup; however, my laptop also has an NVI…

---

## [Any way to stop UMG editor expanding Hierarchy collapsed for editing?](https://forums.unrealengine.com/t/any-way-to-stop-umg-editor-expanding-hierarchy-collapsed-for-editing/381255)

<div class="topic-metadata">

**Author:** [@Looniper](https://forums.unrealengine.com/u/Looniper)\
**Replies:** 9\
**Last updated:** [May 29, 2026, 6:24pm UTC](https://forums.unrealengine.com/t/any-way-to-stop-umg-editor-expanding-hierarchy-collapsed-for-editing/381255 "2026-05-29T18:24:53Z")

</div>

When making more complex menus it helps to be able to ‘collapse’ branches in the hierarchy that are not being edited. In this quick example, on the Left side I have collapsed the branch starting with the Border so I c…

---

## [Is it Possible to Edit Cascade Particle Modules in Blueprints?](https://forums.unrealengine.com/t/is-it-possible-to-edit-cascade-particle-modules-in-blueprints/2724783)

<div class="topic-metadata">

**Author:** [@Drabby\_Page](https://forums.unrealengine.com/u/Drabby_Page)\
**Replies:** 11\
**Last updated:** [May 29, 2026, 6:05pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-edit-cascade-particle-modules-in-blueprints/2724783 "2026-05-29T18:05:53Z")

</div>

Goal: I want to take preexisting cascade particles created by a previous developer and adjust them during runtime for future developers to have a easier and faster time creating scenes. Information: I am editing fires c…

---

## [Need help: How to remove grass and rocks from MW Automaterial?](https://forums.unrealengine.com/t/need-help-how-to-remove-grass-and-rocks-from-mw-automaterial/2724819)

<div class="topic-metadata">

**Author:** [@Verdict0224](https://forums.unrealengine.com/u/Verdict0224)\
**Replies:** 3\
**Last updated:** [May 29, 2026, 5:25pm UTC](https://forums.unrealengine.com/t/need-help-how-to-remove-grass-and-rocks-from-mw-automaterial/2724819 "2026-05-29T17:25:01Z")

</div>

MW auto material is probably the most popular auto material that people use and rave about. First encountered it on Youtube and that’s how I heard about it and started using it. It’s pretty decent, but one of the frustra…

---

## [How to use Enhanced Input Action with UI?](https://forums.unrealengine.com/t/how-to-use-enhanced-input-action-with-ui/2720172)

<div class="topic-metadata">

**Author:** [@Hexagon37](https://forums.unrealengine.com/u/Hexagon37)\
**Replies:** 4\
**Last updated:** [May 29, 2026, 5:21pm UTC](https://forums.unrealengine.com/t/how-to-use-enhanced-input-action-with-ui/2720172 "2026-05-29T17:21:43Z")

</div>

Im trying to make a widget that simply lets me use the new “back” to exit and other functions like drop, next tab, etc. im able to get the input to show up visually on the button, but it does not function. here is the co…

---

## [How do i mix two poses together based off a enum state from my BP\_ThirdPersonCharacter](https://forums.unrealengine.com/t/how-do-i-mix-two-poses-together-based-off-a-enum-state-from-my-bp-thirdpersoncharacter/2725166)

<div class="topic-metadata">

**Author:** [@Quittzer](https://forums.unrealengine.com/u/Quittzer)\
**Replies:** 0\
**Last updated:** [May 29, 2026, 4:13pm UTC](https://forums.unrealengine.com/t/how-do-i-mix-two-poses-together-based-off-a-enum-state-from-my-bp-thirdpersoncharacter/2725166 "2026-05-29T16:13:19Z")

</div>

Im using epics third person template for the Character BP and the Anim BP, i also got the playerstate from the third person character but this may be wrong, im new to BP.

---

## [How do you pose a control rig in a blueprint?](https://forums.unrealengine.com/t/how-do-you-pose-a-control-rig-in-a-blueprint/2725017)

<div class="topic-metadata">

**Author:** [@bcjhood](https://forums.unrealengine.com/u/bcjhood)\
**Replies:** 1\
**Last updated:** [May 29, 2026, 3:55pm UTC](https://forums.unrealengine.com/t/how-do-you-pose-a-control-rig-in-a-blueprint/2725017 "2026-05-29T15:55:31Z")

</div>

Can you expose a control rig’s controls in an actor blueprint? I’m trying to pose the control rig/skeletal mesh. I want to place the BP in the level in preparation for a sequence (before it starts). Once the sequence sta…

---

## [Sound isn't playing or previewing in (UE5.5)](https://forums.unrealengine.com/t/sound-isnt-playing-or-previewing-in-ue5-5/2725123)

<div class="topic-metadata">

**Author:** [@user\_e4af5306dc3668d4fabcf41c383ef7b774d656501864a7c1c2dd94](https://forums.unrealengine.com/u/user_e4af5306dc3668d4fabcf41c383ef7b774d656501864a7c1c2dd94)\
**Replies:** 1\
**Last updated:** [May 29, 2026, 3:12pm UTC](https://forums.unrealengine.com/t/sound-isnt-playing-or-previewing-in-ue5-5/2725123 "2026-05-29T15:12:13Z")

</div>

Hey, Im working on a game and in the progress I wanted to add an wind sound for the background and here’s what is happening: Basically im hitting play but nothing is happening but this one plays normally The issue…

---

## [Unable to get axis value while using RawInput in 5.7 ](https://forums.unrealengine.com/t/unable-to-get-axis-value-while-using-rawinput-in-5-7/2732048)

<div class="topic-metadata">

**Author:** [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Replies:** 2\
**Last updated:** [May 29, 2026, 1:18pm UTC](https://forums.unrealengine.com/t/unable-to-get-axis-value-while-using-rawinput-in-5-7/2732048 "2026-05-29T13:18:12Z")

</div>

We are currently using a custom input device for player controls. To support it, we configured the PID, VID, button, and axis properties through the RawInput plugin. The input values received from RawInput are mapped in …

---

## [Whats the purpose of the StateGraph experimental class? ](https://forums.unrealengine.com/t/whats-the-purpose-of-the-stategraph-experimental-class/2722241)

<div class="topic-metadata">

**Author:** [@hirenumradia](https://forums.unrealengine.com/u/hirenumradia)\
**Replies:** 2\
**Last updated:** [May 29, 2026, 12:20pm UTC](https://forums.unrealengine.com/t/whats-the-purpose-of-the-stategraph-experimental-class/2722241 "2026-05-29T12:20:58Z")

</div>

Hi, I stumbled on the StateGraph C++ class and I was wondering what its use was? Im looking for a way to model world state and create state transitions using a graph data structure. Thanks, Hiren

---

## [(UE 4.27) "On See Pawn" component only activates when seeing, atleast the center, of the pawn](https://forums.unrealengine.com/t/ue-4-27-on-see-pawn-component-only-activates-when-seeing-atleast-the-center-of-the-pawn/2724955)

<div class="topic-metadata">

**Author:** [@nightling33](https://forums.unrealengine.com/u/nightling33)\
**Replies:** 5\
**Last updated:** [May 29, 2026, 10:28am UTC](https://forums.unrealengine.com/t/ue-4-27-on-see-pawn-component-only-activates-when-seeing-atleast-the-center-of-the-pawn/2724955 "2026-05-29T10:28:52Z")

</div>

(UE 4.27) Does the “On See Pawn” event on the “PawnSensing” component only register when its seeing the center of the player, or when it sees even a slight piece of the player. If its the former. then how can i make it s…

---

## [Check if Blueprint is being run within the editor (i.e if WITH\_EDITOR in C++)](https://forums.unrealengine.com/t/check-if-blueprint-is-being-run-within-the-editor-i-e-if-with-editor-in-c/11952)

<div class="topic-metadata">

**Author:** [@VSZ](https://forums.unrealengine.com/u/VSZ)\
**Replies:** 38\
**Last updated:** [May 29, 2026, 8:55am UTC](https://forums.unrealengine.com/t/check-if-blueprint-is-being-run-within-the-editor-i-e-if-with-editor-in-c/11952 "2026-05-29T08:55:31Z")

</div>

I’m looking for the Blueprint equivalent of #if WITH\_EDITOR which is used in UE C++ to run perform certain actions only if the game is running within the context of the editor. The main intention is to add useful debugg…

---

## [Packaging Error](https://forums.unrealengine.com/t/packaging-error/2723600)

<div class="topic-metadata">

**Author:** [@herve1234](https://forums.unrealengine.com/u/herve1234)\
**Replies:** 12\
**Last updated:** [May 29, 2026, 8:45am UTC](https://forums.unrealengine.com/t/packaging-error/2723600 "2026-05-29T08:45:53Z")

</div>

Hi, I’m getting a few errors during the packaging process. I’ve managed to fix some of them, but there are a few I don’t understand. If anyone can help me out, that would be great. LogProperty: Error: FStructProperty::S…

---

## [Severe CPU Choking on Spawn Actor](https://forums.unrealengine.com/t/severe-cpu-choking-on-spawn-actor/2724859)

<div class="topic-metadata">

**Author:** [@MiscellaneousMyth](https://forums.unrealengine.com/u/MiscellaneousMyth)\
**Replies:** 3\
**Last updated:** [May 29, 2026, 5:45am UTC](https://forums.unrealengine.com/t/severe-cpu-choking-on-spawn-actor/2724859 "2026-05-29T05:45:58Z")

</div>

G’day chaps! So, I’ve traced my spawn logic’s CPU choke to this set of lines here. And when it finishes the spawning process (even with my rather lightweight begin play functionality tied to the buildable actor disabled…

---

## [Animations not working](https://forums.unrealengine.com/t/animations-not-working/2724752)

<div class="topic-metadata">

**Author:** [@Shawn.O](https://forums.unrealengine.com/u/Shawn.O)\
**Replies:** 1\
**Last updated:** [May 29, 2026, 4:33am UTC](https://forums.unrealengine.com/t/animations-not-working/2724752 "2026-05-29T04:33:04Z")

</div>

I have an issue with my animations I am trying to make, they work in scene but when I go to create animation and open them in the viewport they do not move. Here is a video of it.

---

## [Assertion failed: ParentAnimClass-\>GetSparseClassDataStruct() \[File:D:\\build++UE5\\Sync\\Engine\\Source\\Editor\\AnimGraph\\Private\\AnimBlueprintCompiler.cpp\] \[Line: 1268\]](https://forums.unrealengine.com/t/assertion-failed-parentanimclass-getsparseclassdatastruct-file-build-ue5-sync-engine-source-editor-animgraph-private-animblueprintcompiler-cpp-line-1268/723466)

<div class="topic-metadata">

**Author:** [@feur25](https://forums.unrealengine.com/u/feur25)\
**Replies:** 6\
**Last updated:** [May 29, 2026, 4:32am UTC](https://forums.unrealengine.com/t/assertion-failed-parentanimclass-getsparseclassdatastruct-file-build-ue5-sync-engine-source-editor-animgraph-private-animblueprintcompiler-cpp-line-1268/723466 "2026-05-29T04:32:02Z")

</div>

In case for those who had this error here is how to solve it download the three files then go: D:\\UE\_5.0\\Engine\\Source\\Editor\\AnimGraph\\Private and replace all the files you downloaded Debug Error Ue5 - Google…

---

## [Smooth FOV during sprint  ](https://forums.unrealengine.com/t/smooth-fov-during-sprint/2724804)

<div class="topic-metadata">

**Author:** [@SouthernSlime](https://forums.unrealengine.com/u/SouthernSlime)\
**Replies:** 2\
**Last updated:** [May 29, 2026, 4:29am UTC](https://forums.unrealengine.com/t/smooth-fov-during-sprint/2724804 "2026-05-29T04:29:07Z")

</div>

How can I change the FOV when sprinting? Most tutorials just set a static FOV during sprint, but because it’s a magic number it’s going to break if you change the FOV later. I’ve fixed that by adding a getFOV + 10 inst…

---

## [MutableMesh Questions](https://forums.unrealengine.com/t/mutablemesh-questions/2724417)

<div class="topic-metadata">

**Author:** [@doswls1](https://forums.unrealengine.com/u/doswls1)\
**Replies:** 5\
**Last updated:** [May 29, 2026, 3:26am UTC](https://forums.unrealengine.com/t/mutablemesh-questions/2724417 "2026-05-29T03:26:53Z")

</div>

i want to make body types normal, big, fat i could do it with using 3 diffrent body models but i think i can do it in morph target, but it is for npc so there could be many of them possible if i use morph target in mu…

---

## [How can I scale a geometry collection using Construction Script and Dataflow?](https://forums.unrealengine.com/t/how-can-i-scale-a-geometry-collection-using-construction-script-and-dataflow/2705857)

<div class="topic-metadata">

**Author:** [@ssks1914](https://forums.unrealengine.com/u/ssks1914)\
**Replies:** 1\
**Last updated:** [May 29, 2026, 1:22am UTC](https://forums.unrealengine.com/t/how-can-i-scale-a-geometry-collection-using-construction-script-and-dataflow/2705857 "2026-05-29T01:22:15Z")

</div>

I want to create a destructible wall of any length, but how can I freely scale a geometry collection? I know that scaling on components doesn’t work. Therefore, I tried overriding the dataflow variables in the Construc…

---

## [Using Dynamic Material Instance Doesn't Work Properly With Render Text Material](https://forums.unrealengine.com/t/using-dynamic-material-instance-doesnt-work-properly-with-render-text-material/2724860)

<div class="topic-metadata">

**Author:** [@BluAstronaut](https://forums.unrealengine.com/u/BluAstronaut)\
**Replies:** 1\
**Last updated:** [May 28, 2026, 9:13pm UTC](https://forums.unrealengine.com/t/using-dynamic-material-instance-doesnt-work-properly-with-render-text-material/2724860 "2026-05-28T21:13:12Z")

</div>

I have a material for my render text component, and it work just fine. I am trying to add the functionality for changing the appearance during gameplay. It seems that the font is corrupted. Here is it working correct…

---

## [Building an Architectural Tool Inside Unreal Engine](https://forums.unrealengine.com/t/building-an-architectural-tool-inside-unreal-engine/2724992)

<div class="topic-metadata">

**Author:** [@Dumple1](https://forums.unrealengine.com/u/Dumple1)\
**Replies:** 0\
**Last updated:** [May 28, 2026, 8:18pm UTC](https://forums.unrealengine.com/t/building-an-architectural-tool-inside-unreal-engine/2724992 "2026-05-28T20:18:15Z")

</div>

A year and nine months ago I decided to move my entire workflow directly into Unreal Engine and leave behind the endless ArchiCAD → Blender → Unreal import/export cycle. Before this project I didn’t even know what a var…

---

## [How to use variable type "Value or Blackboard Key Base" in Behavior Tree?](https://forums.unrealengine.com/t/how-to-use-variable-type-value-or-blackboard-key-base-in-behavior-tree/2724988)

<div class="topic-metadata">

**Author:** [@StailMagnus](https://forums.unrealengine.com/u/StailMagnus)\
**Replies:** 0\
**Last updated:** [May 28, 2026, 8:06pm UTC](https://forums.unrealengine.com/t/how-to-use-variable-type-value-or-blackboard-key-base-in-behavior-tree/2724988 "2026-05-28T20:06:50Z")

</div>

Hello, just a quick question, since I could not find anything useful about this online. In Behavior Trees, aside from the usual Blackboard Key Selector variable type, there is also a variable type called “Value or Black…

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

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