# Programming & Scripting

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

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

**Page:** 96

---

## [Get World Location of 3D Widget Element](https://forums.unrealengine.com/t/get-world-location-of-3d-widget-element/109391)

<div class="topic-metadata">

**Author:** [@drb1992](https://forums.unrealengine.com/u/drb1992)\
**Replies:** 7\
**Last updated:** [May 18, 2026, 2:31pm UTC](https://forums.unrealengine.com/t/get-world-location-of-3d-widget-element/109391 "2026-05-18T14:31:26Z")

</div>

Is it possible to get the world location of an element in a 3D widget? For example, I have a widget that has 3 buttons. I would like to get the world location of each button.

---

## [Changing splines at runtime with objects.](https://forums.unrealengine.com/t/changing-splines-at-runtime-with-objects/2722851)

<div class="topic-metadata">

**Author:** [@Skyboy](https://forums.unrealengine.com/u/Skyboy)\
**Replies:** 0\
**Last updated:** [May 18, 2026, 2:26pm UTC](https://forums.unrealengine.com/t/changing-splines-at-runtime-with-objects/2722851 "2026-05-18T14:26:08Z")

</div>

I’m struggling with splines. I want to transition from one spline to another spline seamlessly, but I have an object in the blueprint with some offset. So I’m wondering how you’d go about snapping the blueprint to the …

---

## ["Cannot open source file" on generated engine files?](https://forums.unrealengine.com/t/cannot-open-source-file-on-generated-engine-files/680062)

<div class="topic-metadata">

**Author:** [@ZackAkai](https://forums.unrealengine.com/u/ZackAkai)\
**Replies:** 4\
**Last updated:** [May 18, 2026, 9:50am UTC](https://forums.unrealengine.com/t/cannot-open-source-file-on-generated-engine-files/680062 "2026-05-18T09:50:54Z")

</div>

I’m trying to set up an AnimInstance using the following include statement: #include "AnimGraphRuntime/Public/KismetAnimationLibrary.h" However when I try to compile, Visual Studio throws an error that it can’t find th…

---

## [About UE5.5 version VS compilation error，\[fatal error LNK1327: Error during running mt.exe\]](https://forums.unrealengine.com/t/about-ue5-5-version-vs-compilation-error-fatal-error-lnk1327-error-during-running-mt-exe/2293524)

<div class="topic-metadata">

**Author:** [@Fsangsiting](https://forums.unrealengine.com/u/Fsangsiting)\
**Replies:** 7\
**Last updated:** [May 18, 2026, 7:07am UTC](https://forums.unrealengine.com/t/about-ue5-5-version-vs-compilation-error-fatal-error-lnk1327-error-during-running-mt-exe/2293524 "2026-05-18T07:07:36Z")

</div>

I am certain that I have the correct mt.exe file. 1\>LINK : fatal error LNK1327: Error during running mt.exe 1\>EXEC : error : Process did not start properly. GetExitCodeProcess returned 0x540 (C:\\Program Files (x86)\\…

---

## [Blueprint reverting to errored state after restarting engine](https://forums.unrealengine.com/t/blueprint-reverting-to-errored-state-after-restarting-engine/2698672)

<div class="topic-metadata">

**Author:** [@jacksonnexhip](https://forums.unrealengine.com/u/jacksonnexhip)\
**Replies:** 5\
**Last updated:** [May 18, 2026, 5:08am UTC](https://forums.unrealengine.com/t/blueprint-reverting-to-errored-state-after-restarting-engine/2698672 "2026-05-18T05:08:42Z")

</div>

I just brought my project from 5.4 to 5.5 and have one blueprint class which is suddenly giving me errors. Looks like this: Looks like a few references to classes are broken, so I go through and fix them: …

---

## [I have a class ref, (red team -Blue team)But i want one team to have 1 player and other team to have a higher number.  I'm very novice! Thanks for any suggestion or support Stephen ](https://forums.unrealengine.com/t/i-have-a-class-ref-red-team-blue-team-but-i-want-one-team-to-have-1-player-and-other-team-to-have-a-higher-number-im-very-novice-thanks-for-any-suggestion-or-support-stephen/2722688)

<div class="topic-metadata">

**Author:** [@DivingStephen](https://forums.unrealengine.com/u/DivingStephen)\
**Replies:** 1\
**Last updated:** [May 18, 2026, 1:39am UTC](https://forums.unrealengine.com/t/i-have-a-class-ref-red-team-blue-team-but-i-want-one-team-to-have-1-player-and-other-team-to-have-a-higher-number-im-very-novice-thanks-for-any-suggestion-or-support-stephen/2722688 "2026-05-18T01:39:24Z")

</div>

---

## [Is it generally considered better to store player stats in the widgets that they display them or the items that the stats apply to?](https://forums.unrealengine.com/t/is-it-generally-considered-better-to-store-player-stats-in-the-widgets-that-they-display-them-or-the-items-that-the-stats-apply-to/2722764)

<div class="topic-metadata">

**Author:** [@Killerbanaple](https://forums.unrealengine.com/u/Killerbanaple)\
**Replies:** 1\
**Last updated:** [May 18, 2026, 1:35am UTC](https://forums.unrealengine.com/t/is-it-generally-considered-better-to-store-player-stats-in-the-widgets-that-they-display-them-or-the-items-that-the-stats-apply-to/2722764 "2026-05-18T01:35:48Z")

</div>

For example, my health system is currently located in the player blueprint and updates a hud widget via an interface whenever health changes. Is this a good way to do this or would it be more appropriate to put the healt…

---

## [PlayerController.cpp line 5563 - Why is blueprint Tick called after PlayerTick and not before?](https://forums.unrealengine.com/t/playercontroller-cpp-line-5563-why-is-blueprint-tick-called-after-playertick-and-not-before/2703037)

<div class="topic-metadata">

**Author:** [@arceryz](https://forums.unrealengine.com/u/arceryz)\
**Replies:** 2\
**Last updated:** [May 18, 2026, 12:58am UTC](https://forums.unrealengine.com/t/playercontroller-cpp-line-5563-why-is-blueprint-tick-called-after-playertick-and-not-before/2703037 "2026-05-18T00:58:25Z")

</div>

I tried to put all my First-Person controller inputs on the PlayerController blueprint, while this works for the movement, the rotation broke. I searched the source code and found that custom actor Tick(DeltaSeconds) at…

---

## [gameplay developer](https://forums.unrealengine.com/t/gameplay-developer/2722765)

<div class="topic-metadata">

**Author:** [@abd3D66](https://forums.unrealengine.com/u/abd3D66)\
**Replies:** 0\
**Last updated:** [May 18, 2026, 12:24am UTC](https://forums.unrealengine.com/t/gameplay-developer/2722765 "2026-05-18T00:24:13Z")

</div>

Hello everyone! We are a small Arab team of five members currently developing a shooting game. We are looking for an experienced gameplay developer with Unreal Engine 5.6 to join us and work with us. We recently releas…

---

## [Creation of Chaos Vehicle](https://forums.unrealengine.com/t/creation-of-chaos-vehicle/2709228)

<div class="topic-metadata">

**Author:** [@Tarehood](https://forums.unrealengine.com/u/Tarehood)\
**Replies:** 2\
**Last updated:** [May 17, 2026, 11:55pm UTC](https://forums.unrealengine.com/t/creation-of-chaos-vehicle/2709228 "2026-05-17T23:55:27Z")

</div>

Hello everyone, i was trying to make chaos physic based vehicle in unreal engine and i am facing issue with physic, i am not sure where the issue is and i would love to use some help from someone experienced. Thank you…

---

## [Custom character movement flight controller having issues with not returning upright](https://forums.unrealengine.com/t/custom-character-movement-flight-controller-having-issues-with-not-returning-upright/2721915)

<div class="topic-metadata">

**Author:** [@HawksHaloveil](https://forums.unrealengine.com/u/HawksHaloveil)\
**Replies:** 1\
**Last updated:** [May 17, 2026, 11:26pm UTC](https://forums.unrealengine.com/t/custom-character-movement-flight-controller-having-issues-with-not-returning-upright/2721915 "2026-05-17T23:26:14Z")

</div>

I’m trying to remake a flight controller in C++. originally I had it in Blueprint but it had too many bugs, so it’s being swapped to C++. However, although I’ve solved most of the issues with the Blueprint version, I’m g…

---

## [How to make an array of all Geometry Collection in a blueprint?](https://forums.unrealengine.com/t/how-to-make-an-array-of-all-geometry-collection-in-a-blueprint/2722588)

<div class="topic-metadata">

**Author:** [@LonelyBox](https://forums.unrealengine.com/u/LonelyBox)\
**Replies:** 9\
**Last updated:** [May 17, 2026, 11:18pm UTC](https://forums.unrealengine.com/t/how-to-make-an-array-of-all-geometry-collection-in-a-blueprint/2722588 "2026-05-17T23:18:14Z")

</div>

I want to add all geometry collections I have in a blueprint to an array, how do I do that? I want to know which array type is correct and how to add each Geometry collection to the array. What I am trying to do is make…

---

## [Can't get my ui button to work](https://forums.unrealengine.com/t/cant-get-my-ui-button-to-work/2722742)

<div class="topic-metadata">

**Author:** [@Shawn.O](https://forums.unrealengine.com/u/Shawn.O)\
**Replies:** 2\
**Last updated:** [May 17, 2026, 9:33pm UTC](https://forums.unrealengine.com/t/cant-get-my-ui-button-to-work/2722742 "2026-05-17T21:33:04Z")

</div>

I am trying to set up a button in my unreal game to make it so when its pressed it calls the function in the directional light to change it to night time for a set duration but for some reason its not working I adde…

---

## [Dragging a Card on a Board](https://forums.unrealengine.com/t/dragging-a-card-on-a-board/2722699)

<div class="topic-metadata">

**Author:** [@Anonymous\_867380bcb29bf4a904df1bf4bd50a98f](https://forums.unrealengine.com/u/Anonymous_867380bcb29bf4a904df1bf4bd50a98f)\
**Replies:** 2\
**Last updated:** [May 17, 2026, 9:32pm UTC](https://forums.unrealengine.com/t/dragging-a-card-on-a-board/2722699 "2026-05-17T21:32:26Z")

</div>

Beginner here. I wanted to do something “simple” like this little game in which you have a set of cards in front of you, you select one and drag&drop it on top of a board, but I’m finding a lot of challenges I have no i…

---

## [Niagara Blueprint not attaching to socket correctly](https://forums.unrealengine.com/t/niagara-blueprint-not-attaching-to-socket-correctly/1433352)

<div class="topic-metadata">

**Author:** [@Ibn\_Battuta](https://forums.unrealengine.com/u/Ibn_Battuta)\
**Replies:** 1\
**Last updated:** [May 17, 2026, 6:38pm UTC](https://forums.unrealengine.com/t/niagara-blueprint-not-attaching-to-socket-correctly/1433352 "2026-05-17T18:38:14Z")

</div>

Hi I am working on a effect of adding a simple trail to a moving projectile in my project. I used Niagara to make a simple trail effect, and then converted it into a Blueprint Actor class. After that I then spawned it in…

---

## [Enhanced Input Not Working in Blank Template ](https://forums.unrealengine.com/t/enhanced-input-not-working-in-blank-template/2719916)

<div class="topic-metadata">

**Author:** [@PeakyPenguin](https://forums.unrealengine.com/u/PeakyPenguin)\
**Replies:** 3\
**Last updated:** [May 17, 2026, 2:52pm UTC](https://forums.unrealengine.com/t/enhanced-input-not-working-in-blank-template/2719916 "2026-05-17T14:52:35Z")

</div>

Hi, I’m having trouble getting my enhanced input/input mapping context to bind (be added?) to my character in the blank template. My blueprint/input actions/controller all seem to work perfectly when I add them to the To…

---

## [display bug in creative mode  ](https://forums.unrealengine.com/t/display-bug-in-creative-mode/2722693)

<div class="topic-metadata">

**Author:** [@Mercury-bene](https://forums.unrealengine.com/u/Mercury-bene)\
**Replies:** 0\
**Last updated:** [May 17, 2026, 1:14pm UTC](https://forums.unrealengine.com/t/display-bug-in-creative-mode/2722693 "2026-05-17T13:14:40Z")

</div>

Hello everyone, I need your help because I’ve had a display bug for the past three days and it’s bothering me a bit. So if you know what it is, please tell me. (The bug is that when you’re in a map, the menu to join anot…

---

## [Fatal error: \[File:D:\\build\\++UE5\\Sync\\Engine\\Source\\Runtime\\D3D12RHI\\Private\\D3D12Util.cpp\] \[Line: 991\] Interfaces.CopyCommandList-\>Close() failed at D:\\build\\++UE5\\Sync\\Engine\\Source\\Runtime\\D3D12RHI\\Private\\D3D12CommandList.cpp:303 with error E\_IN](https://forums.unrealengine.com/t/fatal-error-file-build-ue5-sync-engine-source-runtime-d3d12rhi-private-d3d12util-cpp-line-991-interfaces-copycommandlist-close-failed-at-d-build-ue5-sync-engine-source-runtime-d3d12rhi-private-d3d12commandlist-cpp-303-with-error-e-in/2248854)

<div class="topic-metadata">

**Author:** [@armine99](https://forums.unrealengine.com/u/armine99)\
**Replies:** 1\
**Last updated:** [May 17, 2026, 1:12pm UTC](https://forums.unrealengine.com/t/fatal-error-file-build-ue5-sync-engine-source-runtime-d3d12rhi-private-d3d12util-cpp-line-991-interfaces-copycommandlist-close-failed-at-d-build-ue5-sync-engine-source-runtime-d3d12rhi-private-d3d12commandlist-cpp-303-with-error-e-in/2248854 "2026-05-17T13:12:59Z")

</div>

Fatal error: \[File:D:\\build++UE5\\Sync\\Engine\\Source\\Runtime\\D3D12RHI\\Private\\D3D12Util.cpp\] \[Line: 991\] Interfaces.CopyCommandList-\>Close() failed at D:\\build++UE5\\Sync\\Engine\\Source\\Runtime\\D3D12RHI\\Private\\D3D12Comma…

---

## [我在UE引擎里创建opencolorIO资产，为啥引擎直接崩溃 ](https://forums.unrealengine.com/t/ue-opencolorio/2722687)

<div class="topic-metadata">

**Author:** [@echo7ss](https://forums.unrealengine.com/u/echo7ss)\
**Replies:** 0\
**Last updated:** [May 17, 2026, 1:11pm UTC](https://forums.unrealengine.com/t/ue-opencolorio/2722687 "2026-05-17T13:11:30Z")

</div>

崩溃

---

## [Possible to 'heal' an objective device?](https://forums.unrealengine.com/t/possible-to-heal-an-objective-device/2722476)

<div class="topic-metadata">

**Author:** [@OddButAwesome](https://forums.unrealengine.com/u/OddButAwesome)\
**Replies:** 3\
**Last updated:** [May 17, 2026, 12:43pm UTC](https://forums.unrealengine.com/t/possible-to-heal-an-objective-device/2722476 "2026-05-17T12:43:45Z")

</div>

Summary Hi all, As per the subject. I know I can set health and allow the objective to be destroyed or not etc but is there a way to allow the player to heal the objective (by a set amount per tick or player interaction…

---

## [Enhanced Input: Cannot unbind default key when the default is a Controller.](https://forums.unrealengine.com/t/enhanced-input-cannot-unbind-default-key-when-the-default-is-a-controller/2722621)

<div class="topic-metadata">

**Author:** [@JRed\_3760](https://forums.unrealengine.com/u/JRed_3760)\
**Replies:** 0\
**Last updated:** [May 17, 2026, 3:53am UTC](https://forums.unrealengine.com/t/enhanced-input-cannot-unbind-default-key-when-the-default-is-a-controller/2722621 "2026-05-17T03:53:16Z")

</div>

Basically the title. For my options menu, I want to give players the ability to change controller inputs via Input Key Selectors. I have a function that lets the player unbind keys they don’t want bound. For Keyboard a…

---

## [Single Layer Water Material Shadow clipping](https://forums.unrealengine.com/t/single-layer-water-material-shadow-clipping/2721830)

<div class="topic-metadata">

**Author:** [@cl\_fabula](https://forums.unrealengine.com/u/cl_fabula)\
**Replies:** 1\
**Last updated:** [May 16, 2026, 7:54pm UTC](https://forums.unrealengine.com/t/single-layer-water-material-shadow-clipping/2721830 "2026-05-16T19:54:16Z")

</div>

Hello, I am having issues with a Single layer water material that i’m trying to setup. I have this very basic material for now. The issue is that the shadows on it are clipping at a very small distance, making the w…

---

## [Crashing frequently in Material Graph Editor](https://forums.unrealengine.com/t/crashing-frequently-in-material-graph-editor/2714632)

<div class="topic-metadata">

**Author:** [@Origins](https://forums.unrealengine.com/u/Origins)\
**Replies:** 4\
**Last updated:** [May 16, 2026, 7:14pm UTC](https://forums.unrealengine.com/t/crashing-frequently-in-material-graph-editor/2714632 "2026-05-16T19:14:15Z")

</div>

Engine crashing frequently while working in material editor graph and material have no dependencies yet. It’s really frustrating Version : 5.7.4 OS : Windows 11 Cleared the project cache folders and still the same. Ca…

---

## [How to scale/zoom a widget with blueprints?](https://forums.unrealengine.com/t/how-to-scale-zoom-a-widget-with-blueprints/430983)

<div class="topic-metadata">

**Author:** [@Yokai\_BR](https://forums.unrealengine.com/u/Yokai_BR)\
**Replies:** 68\
**Last updated:** [May 16, 2026, 5:49pm UTC](https://forums.unrealengine.com/t/how-to-scale-zoom-a-widget-with-blueprints/430983 "2026-05-16T17:49:33Z")

</div>

I basically want to scale a widget that’s inside of another widget. I have many many buttons on a complex layout and I want users to be able to zoom in to select the specific button as well as zoom out to see the big pic…

---

## [UE5.8 Preview: Custom plugin reports "undefined class 'XXX\_API'" when using GameplayAbilities classes](https://forums.unrealengine.com/t/ue5-8-preview-custom-plugin-reports-undefined-class-xxx-api-when-using-gameplayabilities-classes/2722532)

<div class="topic-metadata">

**Author:** [@e683df5c37c54f3093a5f1aa38183d34](https://forums.unrealengine.com/u/e683df5c37c54f3093a5f1aa38183d34)\
**Replies:** 2\
**Last updated:** [May 16, 2026, 4:42pm UTC](https://forums.unrealengine.com/t/ue5-8-preview-custom-plugin-reports-undefined-class-xxx-api-when-using-gameplayabilities-classes/2722532 "2026-05-16T16:42:50Z")

</div>

Environment: UE 5.8 Preview Windows 10 Visual Studio 2022 Community Project template: Blank C++ Plugins enabled: GameplayAbilities, Mover, NetworkPrediction, ChaosMover (disabled), EnhancedInput Problem Description: …

---

## [5.7.4 Steam Sessions Dedicated Doesnt Work](https://forums.unrealengine.com/t/5-7-4-steam-sessions-dedicated-doesnt-work/2722549)

<div class="topic-metadata">

**Author:** [@myasga](https://forums.unrealengine.com/u/myasga)\
**Replies:** 0\
**Last updated:** [May 16, 2026, 3:06pm UTC](https://forums.unrealengine.com/t/5-7-4-steam-sessions-dedicated-doesnt-work/2722549 "2026-05-16T15:06:20Z")

</div>

EDIT 3: had to spend milions of tokens , but AI find some workaround (5.8) i WIll release Plugin for FAB EDIT 2: Classic “Ip driver” get hard loop while steam\_appid.txt is in binaries folder for the server \[/Script/E…

---

## [Wall fracture question! (With video) (Breaks When Begin Play)](https://forums.unrealengine.com/t/wall-fracture-question-with-video-breaks-when-begin-play/2722468)

<div class="topic-metadata">

**Author:** [@UkkosDuck](https://forums.unrealengine.com/u/UkkosDuck)\
**Replies:** 2\
**Last updated:** [May 16, 2026, 9:24am UTC](https://forums.unrealengine.com/t/wall-fracture-question-with-video-breaks-when-begin-play/2722468 "2026-05-16T09:24:24Z")

</div>

Hi! So I want the wall to break after player enters a specific “Trigger Box” Right now the wall breaks when I press “Begin Play” I checked and there are no “Bombs” which could explode it, so not really sure what could …

---

## [What is a macro and what is it actually used for?](https://forums.unrealengine.com/t/what-is-a-macro-and-what-is-it-actually-used-for/2722398)

<div class="topic-metadata">

**Author:** [@EikooGameDev](https://forums.unrealengine.com/u/EikooGameDev)\
**Replies:** 5\
**Last updated:** [May 16, 2026, 6:38am UTC](https://forums.unrealengine.com/t/what-is-a-macro-and-what-is-it-actually-used-for/2722398 "2026-05-16T06:38:10Z")

</div>

Hello everyone, I am currently learning blueprint via paid training from Evans Bohl for those who know, and I was wondering what a macro is actually used for and what is the difference with a function?

---

## [Looping through each item and individually async loading its asset?](https://forums.unrealengine.com/t/looping-through-each-item-and-individually-async-loading-its-asset/2722039)

<div class="topic-metadata">

**Author:** [@Shaanig03](https://forums.unrealengine.com/u/Shaanig03)\
**Replies:** 6\
**Last updated:** [May 16, 2026, 3:35am UTC](https://forums.unrealengine.com/t/looping-through-each-item-and-individually-async-loading-its-asset/2722039 "2026-05-16T03:35:05Z")

</div>

hi UE peeps :waving\_hand: , an optimization question: (UPDATED): say I’m using a function with a map variable and calling a custom event(in the fnc) feeding the variable to the custom event as a parameter(pass by ref), …

---

## [I need help with my code! ](https://forums.unrealengine.com/t/i-need-help-with-my-code/2722464)

<div class="topic-metadata">

**Author:** [@QuiltedAnger](https://forums.unrealengine.com/u/QuiltedAnger)\
**Replies:** 0\
**Last updated:** [May 15, 2026, 10:53pm UTC](https://forums.unrealengine.com/t/i-need-help-with-my-code/2722464 "2026-05-15T22:53:42Z")

</div>

Here is my file: \<?php // dashboard.php session\_start(); // 1. SIMULERAT SALDO & DATABASDATA $balance = 1450; // Din besättning (Här simulerar vi resultatet från en databasfråga) $stableHerd = \[ // ... dina tidig…

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

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