# Programming & Scripting

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

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

**Page:** 11

---

## [Slate Post Buffers and nDisplay ](https://forums.unrealengine.com/t/slate-post-buffers-and-ndisplay/2838296)

<div class="topic-metadata">

**Author:** [@FlatCabinet3858](https://forums.unrealengine.com/u/FlatCabinet3858)\
**Replies:** 3\
**Last updated:** [October 22, 2026, 4:11pm UTC](https://forums.unrealengine.com/t/slate-post-buffers-and-ndisplay/2838296 "2026-10-22T16:11:09Z")

</div>

Does anyone know if Slate Post Buffers work when using nDisplay in a project? Whenever I launch my project in nDisplay, only solid black is drawn from the buffers in the UI. Is there a way to fix this?

---

## [Incorrect state when buffer fills mid-episode. ](https://forums.unrealengine.com/t/incorrect-state-when-buffer-fills-mid-episode/2835458)

<div class="topic-metadata">

**Author:** [@MannyVindiola](https://forums.unrealengine.com/u/MannyVindiola)\
**Replies:** 3\
**Last updated:** [October 22, 2026, 3:40pm UTC](https://forums.unrealengine.com/t/incorrect-state-when-buffer-fills-mid-episode/2835458 "2026-10-22T15:40:30Z")

</div>

Hello, I think there is an issue with filling the replay buffer when an episode is longer than the remaining steps. If you look here: https://github.com/EpicGames/UnrealEngine/blob/396c9f059903aed5fec78ecd3d437a40c641…

---

## [PPO eps clip is unbounded when advantage is negative  ](https://forums.unrealengine.com/t/ppo-eps-clip-is-unbounded-when-advantage-is-negative/2835449)

<div class="topic-metadata">

**Author:** [@MannyVindiola](https://forums.unrealengine.com/u/MannyVindiola)\
**Replies:** 2\
**Last updated:** [October 22, 2026, 3:39pm UTC](https://forums.unrealengine.com/t/ppo-eps-clip-is-unbounded-when-advantage-is-negative/2835449 "2026-10-22T15:39:45Z")

</div>

Hello, I have found an issue with the trust region when adavantage is negative. Take a look at this code snippet. surr = torch.min(ratio, ratio.clamp(eps\_clip\_log\_min, eps\_clip\_log\_max)) loss\_surr += ... adv\[:,i\] \* -(s…

---

## [Metadata file missing C++](https://forums.unrealengine.com/t/metadata-file-missing-c/2843792)

<div class="topic-metadata">

**Author:** [@Ruslanmin2](https://forums.unrealengine.com/u/Ruslanmin2)\
**Replies:** 1\
**Last updated:** [October 22, 2026, 2:40pm UTC](https://forums.unrealengine.com/t/metadata-file-missing-c/2843792 "2026-10-22T14:40:38Z")

</div>

I am using VS2026 now, everything was okay until I got such errors even after successful builds: What cause such error during compilation? Please help me to resolve this issue! Ruslan

---

## [UE: 5.5Unreal PCG Spline breaks on Z axis change](https://forums.unrealengine.com/t/ue-5-5unreal-pcg-spline-breaks-on-z-axis-change/2843046)

<div class="topic-metadata">

**Author:** [@Hoboayoyo](https://forums.unrealengine.com/u/Hoboayoyo)\
**Replies:** 2\
**Last updated:** [October 22, 2026, 2:16pm UTC](https://forums.unrealengine.com/t/ue-5-5unreal-pcg-spline-breaks-on-z-axis-change/2843046 "2026-10-22T14:16:57Z")

</div>

Video demonstration https://youtu.be/uV8RWF8uKNs I’m having an issue with making a wall with PCG and splines. If I move one of the splines up or down in height, the entire spline breaks (in the video) I’m not exactly su…

---

## [Chaos Player Actor not playing back recorded simulation UE 5.8](https://forums.unrealengine.com/t/chaos-player-actor-not-playing-back-recorded-simulation-ue-5-8/2843810)

<div class="topic-metadata">

**Author:** [@GoodToGo3](https://forums.unrealengine.com/u/GoodToGo3)\
**Replies:** 0\
**Last updated:** [October 22, 2026, 1:59pm UTC](https://forums.unrealengine.com/t/chaos-player-actor-not-playing-back-recorded-simulation-ue-5-8/2843810 "2026-10-22T13:59:00Z")

</div>

(topic deleted by author)

---

## [Anti aliasing split screen local coop screen issues](https://forums.unrealengine.com/t/anti-aliasing-split-screen-local-coop-screen-issues/2693863)

<div class="topic-metadata">

**Author:** [@WillMead13](https://forums.unrealengine.com/u/WillMead13)\
**Replies:** 2\
**Last updated:** [October 22, 2026, 1:13pm UTC](https://forums.unrealengine.com/t/anti-aliasing-split-screen-local-coop-screen-issues/2693863 "2026-10-22T13:13:08Z")

</div>

My project is 3D/2D hybrid so I need to use FXAA anti aliasing settings to avoid blur on the sprites (following Cobra Code’s YT video!) https://www.youtube.com/watch?v=mrNr9iR1eP4 But with my project which is splitscree…

---

## [material spiral blur background breaks my water material when seeing it through it](https://forums.unrealengine.com/t/material-spiral-blur-background-breaks-my-water-material-when-seeing-it-through-it/2843304)

<div class="topic-metadata">

**Author:** [@WillMead13](https://forums.unrealengine.com/u/WillMead13)\
**Replies:** 3\
**Last updated:** [October 22, 2026, 12:55pm UTC](https://forums.unrealengine.com/t/material-spiral-blur-background-breaks-my-water-material-when-seeing-it-through-it/2843304 "2026-10-22T12:55:45Z")

</div>

I’ve made a material with a basic spiral blur to fake a DOF background blur for my project (it was causing glitches the regular way with camera DOF because my game is local coop splitscreen). However, when it overlaps w…

---

## [How do I completely stop the Editor from making calls to URL https://www.google.com/generate\_204 ?](https://forums.unrealengine.com/t/how-do-i-completely-stop-the-editor-from-making-calls-to-url-https-www-google-com-generate-204/2681843)

<div class="topic-metadata">

**Author:** [@Prreta](https://forums.unrealengine.com/u/Prreta)\
**Replies:** 11\
**Last updated:** [October 22, 2026, 11:26am UTC](https://forums.unrealengine.com/t/how-do-i-completely-stop-the-editor-from-making-calls-to-url-https-www-google-com-generate-204/2681843 "2026-10-22T11:26:46Z")

</div>

This call is firing constantly during my attempt to stream a large amount of data from a custom server. My code is C++ on both ends. when the mentioned URL is not connected, it introduces a 3 second delay between actual …

---

## [Wondering how something would work. ](https://forums.unrealengine.com/t/wondering-how-something-would-work/2841740)

<div class="topic-metadata">

**Author:** [@L00nyspirit](https://forums.unrealengine.com/u/L00nyspirit)\
**Replies:** 1\
**Last updated:** [October 22, 2026, 10:44am UTC](https://forums.unrealengine.com/t/wondering-how-something-would-work/2841740 "2026-10-22T10:44:27Z")

</div>

i found a video on a cool concept for a game where the player faces enemies but can only hit weak points, i was wondering how someone could make the axe tracking in unreal Video for refrence

---

## [Holding ALT to show mouse to interact with HUD without clicking button cancelling held ALT](https://forums.unrealengine.com/t/holding-alt-to-show-mouse-to-interact-with-hud-without-clicking-button-cancelling-held-alt/2727074)

<div class="topic-metadata">

**Author:** [@HawksHaloveil](https://forums.unrealengine.com/u/HawksHaloveil)\
**Replies:** 1\
**Last updated:** [October 22, 2026, 8:04am UTC](https://forums.unrealengine.com/t/holding-alt-to-show-mouse-to-interact-with-hud-without-clicking-button-cancelling-held-alt/2727074 "2026-10-22T08:04:26Z")

</div>

Hello I’ve got a slight issue with allowing players to use alt buttons to interact with the HUD. What I want is to be able to hold alt and then the mouse appears and the player can click buttons in the alt (like menu bu…

---

## [Niagara User Parameter in Dynamic Scratch Module?](https://forums.unrealengine.com/t/niagara-user-parameter-in-dynamic-scratch-module/2579358)

<div class="topic-metadata">

**Author:** [@ea\_bow](https://forums.unrealengine.com/u/ea_bow)\
**Replies:** 4\
**Last updated:** [October 22, 2026, 8:02am UTC](https://forums.unrealengine.com/t/niagara-user-parameter-in-dynamic-scratch-module/2579358 "2026-10-22T08:02:10Z")

</div>

I’m writing a scratch module in Niagara, but cannot for the life of me figure out how to get a User Parameter as an input. There’s another question here from Aug 2024, and the guy answered his own problem by saying “just…

---

## [Freezing of the Image when trying to Capture the Scene (UE5.3.2)](https://forums.unrealengine.com/t/freezing-of-the-image-when-trying-to-capture-the-scene-ue5-3-2/1809821)

<div class="topic-metadata">

**Author:** [@seeyouanteeius](https://forums.unrealengine.com/u/seeyouanteeius)\
**Replies:** 1\
**Last updated:** [October 22, 2026, 7:57am UTC](https://forums.unrealengine.com/t/freezing-of-the-image-when-trying-to-capture-the-scene-ue5-3-2/1809821 "2026-10-22T07:57:34Z")

</div>

Hello! I am capturing a scene with help of USceneCaptureComponent2D. When there appear an event that tells me to capture I run this code below: // SceneCaptureComp is a UCameraCaptureComponent2D SceneCaptureComp-\>Capt…

---

## [Shooting an object directly at specific target (Hockey puck)](https://forums.unrealengine.com/t/shooting-an-object-directly-at-specific-target-hockey-puck/783870)

<div class="topic-metadata">

**Author:** [@Jesst0sterone182](https://forums.unrealengine.com/u/Jesst0sterone182)\
**Replies:** 6\
**Last updated:** [October 22, 2026, 7:51am UTC](https://forums.unrealengine.com/t/shooting-an-object-directly-at-specific-target-hockey-puck/783870 "2026-10-22T07:51:53Z")

</div>

Hi all, I’m fairly new with coding and blueprints so hopefully this will be an easy answer for yall. I’m trying to create a hockey game and I want to be able to have a tracer and target show up for where you’re aiming …

---

## [UE5 is there a simple way to override gravity in a volume](https://forums.unrealengine.com/t/ue5-is-there-a-simple-way-to-override-gravity-in-a-volume/790265)

<div class="topic-metadata">

**Author:** [@anon78908730](https://forums.unrealengine.com/u/anon78908730)\
**Replies:** 4\
**Last updated:** [October 22, 2026, 7:48am UTC](https://forums.unrealengine.com/t/ue5-is-there-a-simple-way-to-override-gravity-in-a-volume/790265 "2026-10-22T07:48:45Z")

</div>

I’m simply wondering if there is a way to create a volume where this gravity override takes effect, here are two examples I had in mind. In a Cube, the gravity would change direction, this could point in any direction. …

---

## [Control Rotation not playing nice with Set Gravity Direction Question](https://forums.unrealengine.com/t/control-rotation-not-playing-nice-with-set-gravity-direction-question/2719612)

<div class="topic-metadata">

**Author:** [@Jack\_W\_Lewis](https://forums.unrealengine.com/u/Jack_W_Lewis)\
**Replies:** 6\
**Last updated:** [October 22, 2026, 7:44am UTC](https://forums.unrealengine.com/t/control-rotation-not-playing-nice-with-set-gravity-direction-question/2719612 "2026-10-22T07:44:56Z")

</div>

Hello, I am trying to make a game where the player is on a moving ship and the ship can rotate in all directions, keeping gravity for the player on the floor. I found the Set Gravity Direction node on the character move…

---

## [What would be good way to do multiplayer pickable/interactable](https://forums.unrealengine.com/t/what-would-be-good-way-to-do-multiplayer-pickable-interactable/1162928)

<div class="topic-metadata">

**Author:** [@MegaRoma](https://forums.unrealengine.com/u/MegaRoma)\
**Replies:** 1\
**Last updated:** [October 22, 2026, 7:42am UTC](https://forums.unrealengine.com/t/what-would-be-good-way-to-do-multiplayer-pickable-interactable/1162928 "2026-10-22T07:42:22Z")

</div>

Hi. I am making a muliplayer game and I think I made kind of odd design for pickable items. First I made an interface for interactable and made a blueprint for pickable item, it is can be dropped/trown so it is phys…

---

## [I can pick up and drop an item once. ](https://forums.unrealengine.com/t/i-can-pick-up-and-drop-an-item-once/2462002)

<div class="topic-metadata">

**Author:** [@A\_HOTDOG6996](https://forums.unrealengine.com/u/A_HOTDOG6996)\
**Replies:** 7\
**Last updated:** [October 22, 2026, 7:40am UTC](https://forums.unrealengine.com/t/i-can-pick-up-and-drop-an-item-once/2462002 "2026-10-22T07:40:56Z")

</div>

I’m not sure what i messed up on but when i go into the game test I can pick up and then drop the item, but when I try to pick it up again nothing happens. I’ve tried switching my item to static and skeletal mesh in the …

---

## [Replicated Items in multiplayer ](https://forums.unrealengine.com/t/replicated-items-in-multiplayer/2679480)

<div class="topic-metadata">

**Author:** [@Majkluss](https://forums.unrealengine.com/u/Majkluss)\
**Replies:** 2\
**Last updated:** [October 22, 2026, 7:32am UTC](https://forums.unrealengine.com/t/replicated-items-in-multiplayer/2679480 "2026-10-22T07:32:48Z")

</div>

Hello everyone, I’m working on a multiplayer FPS game using the standard character setup (separate 1P Mesh set to ‘Only Owner See’ and 3P Mesh set to ‘Owner No See’). I need advice on the best networking/replication st…

---

## [Getting vertex from FaceIndex on SkeletalMeshComponent?](https://forums.unrealengine.com/t/getting-vertex-from-faceindex-on-skeletalmeshcomponent/63072)

<div class="topic-metadata">

**Author:** [@514mart](https://forums.unrealengine.com/u/514mart)\
**Replies:** 5\
**Last updated:** [October 22, 2026, 2:40am UTC](https://forums.unrealengine.com/t/getting-vertex-from-faceindex-on-skeletalmeshcomponent/63072 "2026-10-22T02:40:38Z")

</div>

Hi all, I’m trying to retrieve the vertices of a triangle on a skeletal mesh. I’ve managed to get the FaceIndex using a LineTrace, but I couldn’t find out how to convert this FaceIndex to the actual vertices indexes. H…

---

## [How to delay only the first hit?](https://forums.unrealengine.com/t/how-to-delay-only-the-first-hit/2701022)

<div class="topic-metadata">

**Author:** [@UkkosDuck](https://forums.unrealengine.com/u/UkkosDuck)\
**Replies:** 3\
**Last updated:** [October 21, 2026, 9:28pm UTC](https://forums.unrealengine.com/t/how-to-delay-only-the-first-hit/2701022 "2026-10-21T21:28:16Z")

</div>

Hello! I asked this before but I’ll do it again! So I have this problem where in my “3 piece combo” the player can just spam \[Left Mouse Button\] and the animations will overlap (cancel out the previous one and instantly …

---

## [Load CSV file from local drive into DataTable for Cesium](https://forums.unrealengine.com/t/load-csv-file-from-local-drive-into-datatable-for-cesium/2638397)

<div class="topic-metadata">

**Author:** [@FastFishy96](https://forums.unrealengine.com/u/FastFishy96)\
**Replies:** 7\
**Last updated:** [October 21, 2026, 9:26pm UTC](https://forums.unrealengine.com/t/load-csv-file-from-local-drive-into-datatable-for-cesium/2638397 "2026-10-21T21:26:11Z")

</div>

Hello, I have followed the tutorial from Cesium concerning a flight tracker (Build a Flight Tracker with Cesium for Unreal – Cesium) and they import the CSV there as a DataTable . I was wondering: how can I load any CSV …

---

## [Save screenshots in gallery?](https://forums.unrealengine.com/t/save-screenshots-in-gallery/2332603)

<div class="topic-metadata">

**Author:** [@carlosmklein321](https://forums.unrealengine.com/u/carlosmklein321)\
**Replies:** 2\
**Last updated:** [October 21, 2026, 9:23pm UTC](https://forums.unrealengine.com/t/save-screenshots-in-gallery/2332603 "2026-10-21T21:23:23Z")

</div>

Hi there, i wonder how can i take a screenshot and save them directly in a gallery widget, instead of a folder. The idea is that the player will be able to take multiple pictures and download the ones them most like. Tha…

---

## [How to show specific keybind in widget from Enhanced Input System?](https://forums.unrealengine.com/t/how-to-show-specific-keybind-in-widget-from-enhanced-input-system/2151610)

<div class="topic-metadata">

**Author:** [@nick-0](https://forums.unrealengine.com/u/nick-0)\
**Replies:** 2\
**Last updated:** [October 21, 2026, 9:19pm UTC](https://forums.unrealengine.com/t/how-to-show-specific-keybind-in-widget-from-enhanced-input-system/2151610 "2026-10-21T21:19:20Z")

</div>

I have some images on the corner of my screen that should display the key assigned for ability 1, 2, 3 and 4 but they just show up as “None”. What would be the correct way of going about this?

---

## [Suggest Projectile Velocity problem](https://forums.unrealengine.com/t/suggest-projectile-velocity-problem/1663145)

<div class="topic-metadata">

**Author:** [@eromanga](https://forums.unrealengine.com/u/eromanga)\
**Replies:** 14\
**Last updated:** [October 21, 2026, 9:17pm UTC](https://forums.unrealengine.com/t/suggest-projectile-velocity-problem/1663145 "2026-10-21T21:17:19Z")

</div>

Hi, I’m trying to use this function but can’t figure it out. So my goal is to add a velocity to the projectile at specefic time and send it to specific place. Firstly I create the projectile with 0 “initial speed” but t…

---

## [How to make complex shaped gravity fields?](https://forums.unrealengine.com/t/how-to-make-complex-shaped-gravity-fields/2675332)

<div class="topic-metadata">

**Author:** [@NEYSE\_O001](https://forums.unrealengine.com/u/NEYSE_O001)\
**Replies:** 4\
**Last updated:** [October 21, 2026, 9:12pm UTC](https://forums.unrealengine.com/t/how-to-make-complex-shaped-gravity-fields/2675332 "2026-10-21T21:12:48Z")

</div>

My purpose is just make the character walk along the chosen surfaces, and I want that specific surfaces to be surrounded by thin gravity fields, at least this is what I have imagined. Those specific surfaces will be alot…

---

## [How do I add 3D surface-based Gravity, like in Run 3](https://forums.unrealengine.com/t/how-do-i-add-3d-surface-based-gravity-like-in-run-3/2126358)

<div class="topic-metadata">

**Author:** [@Jazz8942](https://forums.unrealengine.com/u/Jazz8942)\
**Replies:** 4\
**Last updated:** [October 21, 2026, 9:10pm UTC](https://forums.unrealengine.com/t/how-do-i-add-3d-surface-based-gravity-like-in-run-3/2126358 "2026-10-21T21:10:52Z")

</div>

I’m sure a lot of you played Run 3 on coolmath games as a kid, it’s basically a moving platformer where you play inside a polygonal tunnel, and if you touch a different face of the tunnel, your gravity becomes that direc…

---

## [Can a \`UAttributeSet\` live on a non-physical instance (\`UObject\`)?](https://forums.unrealengine.com/t/can-a-uattributeset-live-on-a-non-physical-instance-uobject/2223800)

<div class="topic-metadata">

**Author:** [@ZenPyroo](https://forums.unrealengine.com/u/ZenPyroo)\
**Replies:** 1\
**Last updated:** [October 21, 2026, 9:08pm UTC](https://forums.unrealengine.com/t/can-a-uattributeset-live-on-a-non-physical-instance-uobject/2223800 "2026-10-21T21:08:57Z")

</div>

Hello everyone! I am bascially asking if this approach is not only fine, but also one that will not lead to headache down the road. I am have an animal that has a physical and non-physical representation. The non-physic…

---

## [Replicating object references?](https://forums.unrealengine.com/t/replicating-object-references/2233112)

<div class="topic-metadata">

**Author:** [@BiboDerTeppich](https://forums.unrealengine.com/u/BiboDerTeppich)\
**Replies:** 4\
**Last updated:** [October 21, 2026, 9:06pm UTC](https://forums.unrealengine.com/t/replicating-object-references/2233112 "2026-10-21T21:06:59Z")

</div>

I dont understand why object references refuse to replicate. It works fine with all other types of data/variables but not object refrences.

---

## [Inventory system with unique item issue, what did I miss ?](https://forums.unrealengine.com/t/inventory-system-with-unique-item-issue-what-did-i-miss/1848079)

<div class="topic-metadata">

**Author:** [@Morph12345](https://forums.unrealengine.com/u/Morph12345)\
**Replies:** 15\
**Last updated:** [October 21, 2026, 9:04pm UTC](https://forums.unrealengine.com/t/inventory-system-with-unique-item-issue-what-did-i-miss/1848079 "2026-10-21T21:04:50Z")

</div>

Hello everyone, I’m trying to create an inventory system that can store all types of items (a rock, a weapon, a bucket…) in a multiplayer game. So I started following common tutorials on the internet, and they all work…

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

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