# Programming & Scripting

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

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

**Page:** 12

---

## [How to use a single process to implement multiple headless clients for stress-testing a DS server](https://forums.unrealengine.com/t/how-to-use-a-single-process-to-implement-multiple-headless-clients-for-stress-testing-a-ds-server/2843374)

<div class="topic-metadata">

**Author:** [@Real.S](https://forums.unrealengine.com/u/Real.S)\
**Replies:** 0\
**Last updated:** [October 21, 2026, 4:50pm UTC](https://forums.unrealengine.com/t/how-to-use-a-single-process-to-implement-multiple-headless-clients-for-stress-testing-a-ds-server/2843374 "2026-10-21T16:50:15Z")

</div>

Hey everyone, If you have ever tried to load-test an Unreal dedicated server at realistic player counts, you probably hit the same wall: launching one real client process per simulated player quickly turns into a hardwa…

---

## [How to use the NetcodeUnitTest?](https://forums.unrealengine.com/t/how-to-use-the-netcodeunittest/410461)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_de3fd467](https://forums.unrealengine.com/u/anonymous_user_de3fd467)\
**Replies:** 3\
**Last updated:** [October 21, 2026, 4:22pm UTC](https://forums.unrealengine.com/t/how-to-use-the-netcodeunittest/410461 "2026-10-21T16:22:02Z")

</div>

I want to use the automation test of NetcodeUnitTest, but it not showed in the frontend, how to run this automation code? My purpose is to modify this unittest to a auto robots stress test to a dedicated server, is there…

---

## [Making an arcade cabinet version of a game](https://forums.unrealengine.com/t/making-an-arcade-cabinet-version-of-a-game/405508)

<div class="topic-metadata">

**Author:** [@bigpapaleo](https://forums.unrealengine.com/u/bigpapaleo)\
**Replies:** 3\
**Last updated:** [October 21, 2026, 4:12pm UTC](https://forums.unrealengine.com/t/making-an-arcade-cabinet-version-of-a-game/405508 "2026-10-21T16:12:14Z")

</div>

Has anyone set up an arcade cabinet for their game? My plan is to build the cabinet and put a PC in it to run the game. Use an old LCD and speakers for the display. Controller inputs is where i’m stuck at. I found this …

---

## [If you dont move or press anything, go to main menu. How to do it?](https://forums.unrealengine.com/t/if-you-dont-move-or-press-anything-go-to-main-menu-how-to-do-it/350739)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_ed5e42b1](https://forums.unrealengine.com/u/anonymous_user_ed5e42b1)\
**Replies:** 4\
**Last updated:** [October 21, 2026, 4:09pm UTC](https://forums.unrealengine.com/t/if-you-dont-move-or-press-anything-go-to-main-menu-how-to-do-it/350739 "2026-10-21T16:09:44Z")

</div>

Hello!! :smiley: I would like to know how to make a blueprint that if i don’t move or press anything, after a few of seconds this take me to the main menu? plz, i need help with this! :c Btw, im using only xbox 360 cont…

---

## [How to upload Images to be displayed from PC](https://forums.unrealengine.com/t/how-to-upload-images-to-be-displayed-from-pc/2012672)

<div class="topic-metadata">

**Author:** [@kaiwuff](https://forums.unrealengine.com/u/kaiwuff)\
**Replies:** 8\
**Last updated:** [October 21, 2026, 4:07pm UTC](https://forums.unrealengine.com/t/how-to-upload-images-to-be-displayed-from-pc/2012672 "2026-10-21T16:07:21Z")

</div>

Hi, I’ve implemented a ‘photo mode’ that will take a screenshot and save it to a folder in the project right now, but I wanted to get a way to display that photo in the game. I was following this tutorial: https://www.yo…

---

## [How to set current key to Input Key Selector in UE5.3?](https://forums.unrealengine.com/t/how-to-set-current-key-to-input-key-selector-in-ue5-3/1675081)

<div class="topic-metadata">

**Author:** [@Blackforcedragon](https://forums.unrealengine.com/u/Blackforcedragon)\
**Replies:** 5\
**Last updated:** [October 21, 2026, 4:04pm UTC](https://forums.unrealengine.com/t/how-to-set-current-key-to-input-key-selector-in-ue5-3/1675081 "2026-10-21T16:04:38Z")

</div>

I’m working on a remapping system for Unreal Engine 5.3 Enhanced Input System, making one widget that has the Input Key Selector and add it to a second widget. the remapping do work, but I can’t get the Input Key Selecto…

---

## [How can I add gravity/force from the direction of varibale surfaces?](https://forums.unrealengine.com/t/how-can-i-add-gravity-force-from-the-direction-of-varibale-surfaces/2675127)

<div class="topic-metadata">

**Author:** [@NEYSE\_O001](https://forums.unrealengine.com/u/NEYSE_O001)\
**Replies:** 1\
**Last updated:** [October 21, 2026, 4:00pm UTC](https://forums.unrealengine.com/t/how-can-i-add-gravity-force-from-the-direction-of-varibale-surfaces/2675127 "2026-10-21T16:00:35Z")

</div>

There will be a collision that works as a sensor below the caharacter, whichever surface (among the stickable ones) the sensor collision sees, character must be able to walk in the surface, by applying gravity or force f…

---

## [How to use "suggest projectile velocity" with 0 gravity](https://forums.unrealengine.com/t/how-to-use-suggest-projectile-velocity-with-0-gravity/2717087)

<div class="topic-metadata">

**Author:** [@CrimsonFeyStu](https://forums.unrealengine.com/u/CrimsonFeyStu)\
**Replies:** 7\
**Last updated:** [October 21, 2026, 3:57pm UTC](https://forums.unrealengine.com/t/how-to-use-suggest-projectile-velocity-with-0-gravity/2717087 "2026-10-21T15:57:55Z")

</div>

I would like my NPC to shoot straight projectiles (no gravity) at the target. It seems if I change the “override gravityZ” input on the “suggest projectile velocity” nodes, it completely breaks. Maybe I just dont underst…

---

## [Previous Value of Replicated FFastArray empty ](https://forums.unrealengine.com/t/previous-value-of-replicated-ffastarray-empty/2720014)

<div class="topic-metadata">

**Author:** [@darkfire1321](https://forums.unrealengine.com/u/darkfire1321)\
**Replies:** 2\
**Last updated:** [October 21, 2026, 3:53pm UTC](https://forums.unrealengine.com/t/previous-value-of-replicated-ffastarray-empty/2720014 "2026-10-21T15:53:56Z")

</div>

Hello! I’ve been running into an odd bug with the previous value of the OnRep function parameter. I have a struct that inherits FFastArraySerializer that I have replicated to owners in an Actor Component. The actual rep…

---

## [CurrentAmmo Count Variable doesn't get stored on Clients](https://forums.unrealengine.com/t/currentammo-count-variable-doesnt-get-stored-on-clients/2308549)

<div class="topic-metadata">

**Author:** [@JumanCreativeDEV](https://forums.unrealengine.com/u/JumanCreativeDEV)\
**Replies:** 10\
**Last updated:** [October 21, 2026, 3:51pm UTC](https://forums.unrealengine.com/t/currentammo-count-variable-doesnt-get-stored-on-clients/2308549 "2026-10-21T15:51:52Z")

</div>

Hey there! Another day another replication question from a multiplayer newbie like myself :nerd\_face: I’ll try to make it super nice and clear! I’m working on a Coop shooter that’ll have basic multiplayer stuff, but th…

---

## [Structure For item hold array of this structure](https://forums.unrealengine.com/t/structure-for-item-hold-array-of-this-structure/1746258)

<div class="topic-metadata">

**Author:** [@PlaceToPlayUA](https://forums.unrealengine.com/u/PlaceToPlayUA)\
**Replies:** 15\
**Last updated:** [October 21, 2026, 3:49pm UTC](https://forums.unrealengine.com/t/structure-for-item-hold-array-of-this-structure/1746258 "2026-10-21T15:49:50Z")

</div>

Guys and girls. My inventory builded on structures item is Structure BasicItem inventory is array Structure BasicItem everything ok i can migrate items between different inventories containers etc. BUT! Some items mu…

---

## [A 1v1 map I made I want to lent how to puplish it ](https://forums.unrealengine.com/t/a-1v1-map-i-made-i-want-to-lent-how-to-puplish-it/2842977)

<div class="topic-metadata">

**Author:** [@Mo-killer2016](https://forums.unrealengine.com/u/Mo-killer2016)\
**Replies:** 1\
**Last updated:** [October 21, 2026, 2:52pm UTC](https://forums.unrealengine.com/t/a-1v1-map-i-made-i-want-to-lent-how-to-puplish-it/2842977 "2026-10-21T14:52:02Z")

</div>

I want to purplish my map but enroll now is coming up

---

## [Opening File from File Explorer (no plugins) ](https://forums.unrealengine.com/t/opening-file-from-file-explorer-no-plugins/2685205)

<div class="topic-metadata">

**Author:** [@epadler\_cesi](https://forums.unrealengine.com/u/epadler_cesi)\
**Replies:** 2\
**Last updated:** [October 21, 2026, 1:22pm UTC](https://forums.unrealengine.com/t/opening-file-from-file-explorer-no-plugins/2685205 "2026-10-21T13:22:02Z")

</div>

Trying to use the OpenFileDialog (or any other build in functionality) to open a file dialogue and then read in file contents. The reading in of the file works. However, when I use this dialog function, the file path tha…

---

## [How to Make a Seed Map like Valheim/Minecraft](https://forums.unrealengine.com/t/how-to-make-a-seed-map-like-valheim-minecraft/2695559)

<div class="topic-metadata">

**Author:** [@Impudent\_Swine](https://forums.unrealengine.com/u/Impudent_Swine)\
**Replies:** 2\
**Last updated:** [October 21, 2026, 1:15pm UTC](https://forums.unrealengine.com/t/how-to-make-a-seed-map-like-valheim-minecraft/2695559 "2026-10-21T13:15:49Z")

</div>

I want to build a game with a random seed generator that controls for randomized biomes and how said biomes appear in terms of size, fragmentation, location, etc. I have not the slightest clue how to begin the process of…

---

## [Issues whit the revinding of axes of an steering wheel](https://forums.unrealengine.com/t/issues-whit-the-revinding-of-axes-of-an-steering-wheel/2840304)

<div class="topic-metadata">

**Author:** [@AnaGarcia](https://forums.unrealengine.com/u/AnaGarcia)\
**Replies:** 3\
**Last updated:** [October 21, 2026, 1:11pm UTC](https://forums.unrealengine.com/t/issues-whit-the-revinding-of-axes-of-an-steering-wheel/2840304 "2026-10-21T13:11:23Z")

</div>

As soon as I trigger the rebind, the behavior you see in the video happens automatically. I used this tutorial for the rebind, but since it wasn’t detecting the axes, I used this plugin: GitHub - JaydenMaalouf/Joystic…

---

## [2D Planet Gravity ](https://forums.unrealengine.com/t/2d-planet-gravity/2421730)

<div class="topic-metadata">

**Author:** [@CrazyThingg](https://forums.unrealengine.com/u/CrazyThingg)\
**Replies:** 3\
**Last updated:** [October 21, 2026, 1:08pm UTC](https://forums.unrealengine.com/t/2d-planet-gravity/2421730 "2026-10-21T13:08:16Z")

</div>

I am trying to design a gravity design where different planets have different gravity and the characters and objects are affected accordingly. Also, the character will be able to walk 360 degrees on the planet.

---

## [Make player run through a loop](https://forums.unrealengine.com/t/make-player-run-through-a-loop/2494871)

<div class="topic-metadata">

**Author:** [@KadenKitsune](https://forums.unrealengine.com/u/KadenKitsune)\
**Replies:** 5\
**Last updated:** [October 21, 2026, 1:05pm UTC](https://forums.unrealengine.com/t/make-player-run-through-a-loop/2494871 "2026-10-21T13:05:53Z")

</div>

For a project I am working on, I wanted to have the player be able to run through a loop. The project itself is a 2d sidescroller so I would only have to worry about the one axis direction wise. I currently have a setup…

---

## [Camra Math problem with Custom Gravity ](https://forums.unrealengine.com/t/camra-math-problem-with-custom-gravity/2523490)

<div class="topic-metadata">

**Author:** [@tactical\_dot](https://forums.unrealengine.com/u/tactical_dot)\
**Replies:** 1\
**Last updated:** [October 21, 2026, 1:03pm UTC](https://forums.unrealengine.com/t/camra-math-problem-with-custom-gravity/2523490 "2026-10-21T13:03:29Z")

</div>

Hello everyone, im new to unreal engine and struggeling a bit with the vector math when using custom gravity. I am using this tutorials code: Custom Gravity in UE 5.4 | Tutorial to calculate the camera rotation when gra…

---

## [Adding to SubObject list in Constructor causing reference exception](https://forums.unrealengine.com/t/adding-to-subobject-list-in-constructor-causing-reference-exception/2409833)

<div class="topic-metadata">

**Author:** [@Kotaru\_1](https://forums.unrealengine.com/u/Kotaru_1)\
**Replies:** 2\
**Last updated:** [October 21, 2026, 1:01pm UTC](https://forums.unrealengine.com/t/adding-to-subobject-list-in-constructor-causing-reference-exception/2409833 "2026-10-21T13:01:01Z")

</div>

I’m following this guide on SubObject replication, but I ran into this issue that I’m not understanding The guide says to add the following to the Actor’s constructor if(IsValid(MyActorSubobject)) { …

---

## [Replicated Actor reference inside replicated Character Component is always NULL on client](https://forums.unrealengine.com/t/replicated-actor-reference-inside-replicated-character-component-is-always-null-on-client/2703100)

<div class="topic-metadata">

**Author:** [@BioFrost.in](https://forums.unrealengine.com/u/BioFrost.in)\
**Replies:** 34\
**Last updated:** [October 21, 2026, 12:56pm UTC](https://forums.unrealengine.com/t/replicated-actor-reference-inside-replicated-character-component-is-always-null-on-client/2703100 "2026-10-21T12:56:41Z")

</div>

Hi, I’m having a replication issue in UE5 and I’m stuck for two days. This used to work in my older systems but now it doesn’t. Setup I have a Character. Inside the Character, I have a default Blueprint Actor Comp…

---

## [Building an inactivity timer -- where is the mouse event handler?](https://forums.unrealengine.com/t/building-an-inactivity-timer-where-is-the-mouse-event-handler/835120)

<div class="topic-metadata">

**Author:** [@morphogen](https://forums.unrealengine.com/u/morphogen)\
**Replies:** 2\
**Last updated:** [October 21, 2026, 12:08pm UTC](https://forums.unrealengine.com/t/building-an-inactivity-timer-where-is-the-mouse-event-handler/835120 "2026-10-21T12:08:13Z")

</div>

I’m looking to build an inactivity timer that detects if someone hasn’t touched the application for a period of time (say, two minutes) – and if so, it will reset the state of the UI Widgets. I’ve read through documents…

---

## [How do I get a list of files in a folder via blueprint, without the need for a plugin?](https://forums.unrealengine.com/t/how-do-i-get-a-list-of-files-in-a-folder-via-blueprint-without-the-need-for-a-plugin/510015)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_73094a6c1](https://forums.unrealengine.com/u/anonymous_user_73094a6c1)\
**Replies:** 2\
**Last updated:** [October 21, 2026, 12:05pm UTC](https://forums.unrealengine.com/t/how-do-i-get-a-list-of-files-in-a-folder-via-blueprint-without-the-need-for-a-plugin/510015 "2026-10-21T12:05:54Z")

</div>

How do I get a list of files in a folder via blueprint, without the need for a plugin?

---

## [Texture from uasset](https://forums.unrealengine.com/t/texture-from-uasset/677705)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_9a6172541](https://forums.unrealengine.com/u/anonymous_user_9a6172541)\
**Replies:** 2\
**Last updated:** [October 21, 2026, 12:03pm UTC](https://forums.unrealengine.com/t/texture-from-uasset/677705 "2026-10-21T12:03:56Z")

</div>

Hello comrades! I’m trying to implement a system that would automatically load textures from my working scene folder. This is necessary because there are a lot of textures, and I don’t want to process them manually ever…

---

## [UE5.2 Enhanced Input Action "user settings" not available in project setting](https://forums.unrealengine.com/t/ue5-2-enhanced-input-action-user-settings-not-available-in-project-setting/2676134)

<div class="topic-metadata">

**Author:** [@Guesscui2018](https://forums.unrealengine.com/u/Guesscui2018)\
**Replies:** 6\
**Last updated:** [October 21, 2026, 11:59am UTC](https://forums.unrealengine.com/t/ue5-2-enhanced-input-action-user-settings-not-available-in-project-setting/2676134 "2026-10-21T11:59:24Z")

</div>

As the title mentioned - I’m unable to access “user settings” in my project setting. I followed some documentation, this is a key component to get full access to key remapping. “Enhanced Input” plug-in is also enabled…

---

## [Correcting look input after rotating character ](https://forums.unrealengine.com/t/correcting-look-input-after-rotating-character/2388253)

<div class="topic-metadata">

**Author:** [@Boom-PJ](https://forums.unrealengine.com/u/Boom-PJ)\
**Replies:** 1\
**Last updated:** [October 21, 2026, 11:57am UTC](https://forums.unrealengine.com/t/correcting-look-input-after-rotating-character/2388253 "2026-10-21T11:57:33Z")

</div>

Hey! I’ve been bashing my head against this issue for a while now and could really use some assistance. I’m currently building an astronaut style of player movement, where the player can move in a zero gravity environme…

---

## [Walking on Walls/Ceiling ](https://forums.unrealengine.com/t/walking-on-walls-ceiling/2679430)

<div class="topic-metadata">

**Author:** [@Beelzebub-Crump](https://forums.unrealengine.com/u/Beelzebub-Crump)\
**Replies:** 4\
**Last updated:** [October 21, 2026, 11:54am UTC](https://forums.unrealengine.com/t/walking-on-walls-ceiling/2679430 "2026-10-21T11:54:51Z")

</div>

I am attempting to create a mechanic where the player character is able to walk on both the walls and ceiling, similarly to the Dretch from Tremulous. To be extra clear, I do not mean wall-crawling or climbing, I mean th…

---

## [Camera-dependent inverted movement when walking on ceilings (custom gravity, UE5)](https://forums.unrealengine.com/t/camera-dependent-inverted-movement-when-walking-on-ceilings-custom-gravity-ue5/2684427)

<div class="topic-metadata">

**Author:** [@Waabs](https://forums.unrealengine.com/u/Waabs)\
**Replies:** 2\
**Last updated:** [October 21, 2026, 11:52am UTC](https://forums.unrealengine.com/t/camera-dependent-inverted-movement-when-walking-on-ceilings-custom-gravity-ue5/2684427 "2026-10-21T11:52:54Z")

</div>

Hello everyone, I’ve been working for some time on a system where a character can walk on any surface. The system works well overall, and gravity is correctly computed using line traces. I’m currently facing a major i…

---

## ["Save Key Mappings" node working in editor but not packaged?](https://forums.unrealengine.com/t/save-key-mappings-node-working-in-editor-but-not-packaged/2842900)

<div class="topic-metadata">

**Author:** [@freezenification](https://forums.unrealengine.com/u/freezenification)\
**Replies:** 4\
**Last updated:** [October 21, 2026, 11:51am UTC](https://forums.unrealengine.com/t/save-key-mappings-node-working-in-editor-but-not-packaged/2842900 "2026-10-21T11:51:16Z")

</div>

Hi all, I’m using the “Save Key Mappings” node to save my input mappings and it works fine in editor, but when I package the game it no longer works. As far as I can tell in the editor it saves it to the file “\[ProjectD…

---

## [TMap not working on client in online/replication](https://forums.unrealengine.com/t/tmap-not-working-on-client-in-online-replication/2361157)

<div class="topic-metadata">

**Author:** [@Chevidal451](https://forums.unrealengine.com/u/Chevidal451)\
**Replies:** 9\
**Last updated:** [October 21, 2026, 11:50am UTC](https://forums.unrealengine.com/t/tmap-not-working-on-client-in-online-replication/2361157 "2026-10-21T11:50:47Z")

</div>

Recently I saw that TMap was not replicated for Unreal, but if I dont want to replicate it, I just want to make calculations with the TMap structure and then if I want to replicate I will move the data to a particular st…

---

## [TArray is the same for every players in Multiplayer - C++](https://forums.unrealengine.com/t/tarray-is-the-same-for-every-players-in-multiplayer-c/1526134)

<div class="topic-metadata">

**Author:** [@Stul](https://forums.unrealengine.com/u/Stul)\
**Replies:** 3\
**Last updated:** [October 21, 2026, 11:49am UTC](https://forums.unrealengine.com/t/tarray-is-the-same-for-every-players-in-multiplayer-c/1526134 "2026-10-21T11:49:01Z")

</div>

Hey guys, so I have an Inventory which is an ActorComponent and in which I have a TArray of struct: UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess = "true"), Replicated) TArray\<FPlayerCharacterist…

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

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