# Programming & Scripting

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

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

**Page:** 77

---

## [UE 5.8 C++ project named “Physics” fails to compile because LogPhysics is already defined by the engine ](https://forums.unrealengine.com/t/ue-5-8-c-project-named-physics-fails-to-compile-because-logphysics-is-already-defined-by-the-engine/2731074)

<div class="topic-metadata">

**Author:** [@ilker\_aktug](https://forums.unrealengine.com/u/ilker_aktug)\
**Replies:** 0\
**Last updated:** [June 24, 2026, 2:30pm UTC](https://forums.unrealengine.com/t/ue-5-8-c-project-named-physics-fails-to-compile-because-logphysics-is-already-defined-by-the-engine/2731074 "2026-06-24T14:30:28Z")

</div>

I created a new C++ project in Unreal Engine 5.8 and named the project Physics. The project fails to compile right after creation because the generated project header defines a LogPhysics log category: DECLARE\_LOG\_CATE…

---

## [Enhanced Input Cashed Only Trigger Last Action In Chord](https://forums.unrealengine.com/t/enhanced-input-cashed-only-trigger-last-action-in-chord/769075)

<div class="topic-metadata">

**Author:** [@RyuginStudio](https://forums.unrealengine.com/u/RyuginStudio)\
**Replies:** 4\
**Last updated:** [June 24, 2026, 11:04am UTC](https://forums.unrealengine.com/t/enhanced-input-cashed-only-trigger-last-action-in-chord/769075 "2026-06-24T11:04:32Z")

</div>

Open Project Settings. Go to Enhanced Input label. Try to modify the toggle named 'Should Only Trigger Last Action In Chord '. It will cause a crash. Because of the ‘array out of range’. Well, I found u guys just mis…

---

## [Unreal Engine error when launching project – unable to open or compile correctly](https://forums.unrealengine.com/t/unreal-engine-error-when-launching-project-unable-to-open-or-compile-correctly/2730955)

<div class="topic-metadata">

**Author:** [@danamaloma](https://forums.unrealengine.com/u/danamaloma)\
**Replies:** 0\
**Last updated:** [June 24, 2026, 3:16am UTC](https://forums.unrealengine.com/t/unreal-engine-error-when-launching-project-unable-to-open-or-compile-correctly/2730955 "2026-06-24T03:16:59Z")

</div>

Hello everyone, I’m currently facing an issue with Unreal Engine where my project fails to launch properly. Every time I try to open the project, it either crashes immediately or gets stuck during the loading/compiling …

---

## [Question about apply radial damage with falloff](https://forums.unrealengine.com/t/question-about-apply-radial-damage-with-falloff/2730912)

<div class="topic-metadata">

**Author:** [@Killerbanaple](https://forums.unrealengine.com/u/Killerbanaple)\
**Replies:** 0\
**Last updated:** [June 23, 2026, 8:54pm UTC](https://forums.unrealengine.com/t/question-about-apply-radial-damage-with-falloff/2730912 "2026-06-23T20:54:05Z")

</div>

I am trying to use the apply radial damage with falloff node but am finding that it is applying damage to actors whose capsule collisions overlap with the damage radius, even when those collisions are set the ignore the …

---

## [Unreal MCP + Codex Issue Analysis Report ](https://forums.unrealengine.com/t/unreal-mcp-codex-issue-analysis-report/2730883)

<div class="topic-metadata">

**Author:** [@a-levi](https://forums.unrealengine.com/u/a-levi)\
**Replies:** 0\
**Last updated:** [June 23, 2026, 6:56pm UTC](https://forums.unrealengine.com/t/unreal-mcp-codex-issue-analysis-report/2730883 "2026-06-23T18:56:40Z")

</div>

Unreal MCP + Codex Issue Analysis Report Executive Summary The main conclusion is: Unreal MCP does start and can execute some tasks, but Codex + Unreal MCP currently lacks reliable readiness/state APIs, structured erro…

---

## [Why after hide/unhide UI button, you need to click twice to work?](https://forums.unrealengine.com/t/why-after-hide-unhide-ui-button-you-need-to-click-twice-to-work/338821)

<div class="topic-metadata">

**Author:** [@Mariyan](https://forums.unrealengine.com/u/Mariyan)\
**Replies:** 5\
**Last updated:** [June 23, 2026, 6:55pm UTC](https://forums.unrealengine.com/t/why-after-hide-unhide-ui-button-you-need-to-click-twice-to-work/338821 "2026-06-23T18:55:26Z")

</div>

Hi, I have widget with canvas panel in which there is a button. After clicking the button i set the visibility to hidden. In certain moment it’s visible again, but sometimes nothing happens on first click. Please hel…

---

## ["Phantom" hard reference in Widget that I can't remove](https://forums.unrealengine.com/t/phantom-hard-reference-in-widget-that-i-cant-remove/2730853)

<div class="topic-metadata">

**Author:** [@Denisiss](https://forums.unrealengine.com/u/Denisiss)\
**Replies:** 1\
**Last updated:** [June 23, 2026, 6:52pm UTC](https://forums.unrealengine.com/t/phantom-hard-reference-in-widget-that-i-cant-remove/2730853 "2026-06-23T18:52:16Z")

</div>

Hello all, I’ve got this odd issue regarding the “Size Map” and “Reference Viewer” features in Unreal Engine 5.6. For some context, I am currently cleaning up some of my old blueprints in an older project and I have en…

---

## [Cant get BINK videos to run on packaged build (ue5.7)](https://forums.unrealengine.com/t/cant-get-bink-videos-to-run-on-packaged-build-ue5-7/2730881)

<div class="topic-metadata">

**Author:** [@Flame](https://forums.unrealengine.com/u/Flame)\
**Replies:** 0\
**Last updated:** [June 23, 2026, 6:45pm UTC](https://forums.unrealengine.com/t/cant-get-bink-videos-to-run-on-packaged-build-ue5-7/2730881 "2026-06-23T18:45:27Z")

</div>

Hi, I’m trying to solve an issue for days with no progress. I am using bink files for some of my ui transitions/noise in the background(im plugging them into the material/ui). Everything works beautifully in PIE. But onc…

---

## [\[5.6\] State Tree Tick Transitions are not triggering properly ](https://forums.unrealengine.com/t/5-6-state-tree-tick-transitions-are-not-triggering-properly/2737765)

<div class="topic-metadata">

**Author:** [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Replies:** 4\
**Last updated:** [June 23, 2026, 5:51pm UTC](https://forums.unrealengine.com/t/5-6-state-tree-tick-transitions-are-not-triggering-properly/2737765 "2026-06-23T17:51:14Z")

</div>

In 5.6.1 State Trees, Tick Transitions are not properly triggering their transitions. I do see that there was \[another \[Content removed\] on this issue a while back and that this has been fixed in 5.7. However, the CL for…

---

## [Need help understanding HLOD and World Partition for distance-based proxy mesh switching in UE5](https://forums.unrealengine.com/t/need-help-understanding-hlod-and-world-partition-for-distance-based-proxy-mesh-switching-in-ue5/2730765)

<div class="topic-metadata">

**Author:** [@e7de84f7c71249dc8a21a7d1f05899f3](https://forums.unrealengine.com/u/e7de84f7c71249dc8a21a7d1f05899f3)\
**Replies:** 2\
**Last updated:** [June 23, 2026, 5:42pm UTC](https://forums.unrealengine.com/t/need-help-understanding-hlod-and-world-partition-for-distance-based-proxy-mesh-switching-in-ue5/2730765 "2026-06-23T17:42:13Z")

</div>

Hi everyone, I’m trying to create a system in Unreal Engine 5 where distant objects are replaced by a single merged proxy mesh with one material, and when the player gets closer, it switches back to the original collect…

---

## [Iris - ObjectReferenceCache doesn't cleanup references to non-replicated subobjects ](https://forums.unrealengine.com/t/iris-objectreferencecache-doesnt-cleanup-references-to-non-replicated-subobjects/2737760)

<div class="topic-metadata">

**Author:** [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Replies:** 3\
**Last updated:** [June 23, 2026, 5:08pm UTC](https://forums.unrealengine.com/t/iris-objectreferencecache-doesnt-cleanup-references-to-non-replicated-subobjects/2737760 "2026-06-23T17:08:51Z")

</div>

Hello, It would appear that FObjectReferenceCache will only clean up replicated subobjects on the client. Say for example UCharacterMovementComponent::ClientAdjustPosition is executed on the server with a NewBase pointe…

---

## [Change UMG hint text color?](https://forums.unrealengine.com/t/change-umg-hint-text-color/296380)

<div class="topic-metadata">

**Author:** [@ProfQuest2\_1](https://forums.unrealengine.com/u/ProfQuest2_1)\
**Replies:** 10\
**Last updated:** [June 23, 2026, 3:36pm UTC](https://forums.unrealengine.com/t/change-umg-hint-text-color/296380 "2026-06-23T15:36:41Z")

</div>

The assets we are using beneath an editable text object are a light grey color. The standard hint text color is a very dull white. Can’t seem to find a way to change it in the UMG editor. Am I missing something or should…

---

## [How to delete a node connection?](https://forums.unrealengine.com/t/how-to-delete-a-node-connection/11511)

<div class="topic-metadata">

**Author:** [@arealperson](https://forums.unrealengine.com/u/arealperson)\
**Replies:** 8\
**Last updated:** [June 23, 2026, 2:52pm UTC](https://forums.unrealengine.com/t/how-to-delete-a-node-connection/11511 "2026-06-23T14:52:55Z")

</div>

I’ve been looking for hours for how to delete a node connection in 4.4.0 I can’t click on it and drag and release it away, or select the connection and delete it. Could it be protected someway ? How is it done ? Plea…

---

## [UE5.8 Packaging fails for a brand new project. Has anyone packaged successfully? Please help!](https://forums.unrealengine.com/t/ue5-8-packaging-fails-for-a-brand-new-project-has-anyone-packaged-successfully-please-help/2725168)

<div class="topic-metadata">

**Author:** [@Anonymous\_cca4fc9bcd09684dd4a492cf1ec5b4e5](https://forums.unrealengine.com/u/Anonymous_cca4fc9bcd09684dd4a492cf1ec5b4e5)\
**Replies:** 2\
**Last updated:** [June 23, 2026, 2:47pm UTC](https://forums.unrealengine.com/t/ue5-8-packaging-fails-for-a-brand-new-project-has-anyone-packaged-successfully-please-help/2725168 "2026-06-23T14:47:58Z")

</div>

Hello everyone, I’m encountering a packaging issue with UE5.8. Even for a brand new project​ (Blank or Basic template) with no modifications, packaging fails. My questions: \*\*Has anyone successfully packaged a…

---

## [Issue with stamina drain and regen while jumping ](https://forums.unrealengine.com/t/issue-with-stamina-drain-and-regen-while-jumping/2730602)

<div class="topic-metadata">

**Author:** [@Captain\_Brine](https://forums.unrealengine.com/u/Captain_Brine)\
**Replies:** 1\
**Last updated:** [June 23, 2026, 2:45pm UTC](https://forums.unrealengine.com/t/issue-with-stamina-drain-and-regen-while-jumping/2730602 "2026-06-23T14:45:28Z")

</div>

Im absolutely in the weeds right now. Im currently setting up a stamina system where both sprinting and jumping drain stamina. The sprint system works perfectly fine. It drains stamina properly, theres a delay before sta…

---

## [Can't package project due to failed stage directory.](https://forums.unrealengine.com/t/cant-package-project-due-to-failed-stage-directory/2730636)

<div class="topic-metadata">

**Author:** [@Shawn.O](https://forums.unrealengine.com/u/Shawn.O)\
**Replies:** 1\
**Last updated:** [June 23, 2026, 2:44pm UTC](https://forums.unrealengine.com/t/cant-package-project-due-to-failed-stage-directory/2730636 "2026-06-23T14:44:30Z")

</div>

Hi, I am trying to package my game but I am getting stopped by these errors UATHelper: Warning: Packaging (Windows): Failed to delete directory C:\\Users\\shawn\\OneDrive\\Documents\\Unreal Projects\\OffMyGarden\\Saved\\StagedB…

---

## [UE4 Map Ground is not exporting to build](https://forums.unrealengine.com/t/ue4-map-ground-is-not-exporting-to-build/2730739)

<div class="topic-metadata">

**Author:** [@adibablu](https://forums.unrealengine.com/u/adibablu)\
**Replies:** 0\
**Last updated:** [June 23, 2026, 1:11pm UTC](https://forums.unrealengine.com/t/ue4-map-ground-is-not-exporting-to-build/2730739 "2026-06-23T13:11:48Z")

</div>

I am making an game with Unreal Engine 4. In the editor of UE4 everthing works out fine but when i am exporting the Game to ship it, the Ground of my Maps disappears. Its the correct Map, there are my player, the House e…

---

## [I Can't Figure Out Why The Reference is Only Working for One Child ](https://forums.unrealengine.com/t/i-cant-figure-out-why-the-reference-is-only-working-for-one-child/2730530)

<div class="topic-metadata">

**Author:** [@Kade\_Lyric](https://forums.unrealengine.com/u/Kade_Lyric)\
**Replies:** 1\
**Last updated:** [June 23, 2026, 1:04pm UTC](https://forums.unrealengine.com/t/i-cant-figure-out-why-the-reference-is-only-working-for-one-child/2730530 "2026-06-23T13:04:59Z")

</div>

I have tried using the pure object reference, using the class of it, I’ve made sure the collision is the correct one but no matter what, the reference for the parent only works on the first child but not the second. W…

---

## [Does anyone know how to properly use GAS and Mover together?](https://forums.unrealengine.com/t/does-anyone-know-how-to-properly-use-gas-and-mover-together/2730734)

<div class="topic-metadata">

**Author:** [@The\_Sheleng](https://forums.unrealengine.com/u/The_Sheleng)\
**Replies:** 0\
**Last updated:** [June 23, 2026, 1:04pm UTC](https://forums.unrealengine.com/t/does-anyone-know-how-to-properly-use-gas-and-mover-together/2730734 "2026-06-23T13:04:06Z")

</div>

For example, making a Dash… As I understand it, QueueLayeredMove needs to be called in OnPreSimulationTick, that is, in the MoverComponent itself. But if you pass the flag through InputProducer, the client could theoreti…

---

## [Request: Add an option to prevent nav generation on top of some physics objects. ](https://forums.unrealengine.com/t/request-add-an-option-to-prevent-nav-generation-on-top-of-some-physics-objects/2737759)

<div class="topic-metadata">

**Author:** [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Replies:** 1\
**Last updated:** [June 23, 2026, 12:51pm UTC](https://forums.unrealengine.com/t/request-add-an-option-to-prevent-nav-generation-on-top-of-some-physics-objects/2737759 "2026-06-23T12:51:46Z")

</div>

Good afternoon, We would like to request the ability to have some physics objects prevent nav generation on top of them. Right now the only way to achieve this is to add null nav modifier volumes on top of each crate, r…

---

## [PC automatic weapons change from 1 to 2 to 5 or even F.  ](https://forums.unrealengine.com/t/pc-automatic-weapons-change-from-1-to-2-to-5-or-even-f/2730634)

<div class="topic-metadata">

**Author:** [@WitchsRevenge](https://forums.unrealengine.com/u/WitchsRevenge)\
**Replies:** 1\
**Last updated:** [June 23, 2026, 12:02pm UTC](https://forums.unrealengine.com/t/pc-automatic-weapons-change-from-1-to-2-to-5-or-even-f/2730634 "2026-06-23T12:02:03Z")

</div>

Auto weaspons chaning on PC, did a factory default no use. what to do?

---

## [オブジェクトの破壊表現について](https://forums.unrealengine.com/t/topic/2730712)

<div class="topic-metadata">

**Author:** [@fumittu](https://forums.unrealengine.com/u/fumittu)\
**Replies:** 0\
**Last updated:** [June 23, 2026, 10:49am UTC](https://forums.unrealengine.com/t/topic/2730712 "2026-06-23T10:49:01Z")

</div>

現在武器をオブジェクトにヒットさせたらヒットさせた箇所から少しずつ壊れていくという実装をGeometryCollectionを使ってやろうとしています。 C++で実装しているのですがこれが上手くいかず困っております。 具体的には武器がオブジェクトにヒットすると最初の一撃で吹き飛ぶのがアンカーフィールド内で留まっているような表現になり、2激目でオブジェクトがバラバラになるというような感じになります。 コードは下記のように実装していま…

---

## [Login with Google function](https://forums.unrealengine.com/t/login-with-google-function/2730707)

<div class="topic-metadata">

**Author:** [@Reicon](https://forums.unrealengine.com/u/Reicon)\
**Replies:** 0\
**Last updated:** [June 23, 2026, 10:22am UTC](https://forums.unrealengine.com/t/login-with-google-function/2730707 "2026-06-23T10:22:59Z")

</div>

I am developing a blueprintfunction that should allow the user to login with google and trigger another event on success. I am doing this for PC. I would know what nodes I have to use in the BP function (and what plugins…

---

## [\[Request\] Python API for named reroute nodes in UEFN](https://forums.unrealengine.com/t/request-python-api-for-named-reroute-nodes-in-uefn/2730694)

<div class="topic-metadata">

**Author:** [@Mail\_n](https://forums.unrealengine.com/u/Mail_n)\
**Replies:** 0\
**Last updated:** [June 23, 2026, 9:10am UTC](https://forums.unrealengine.com/t/request-python-api-for-named-reroute-nodes-in-uefn/2730694 "2026-06-23T09:10:14Z")

</div>

I am working with the new Python API within UEFN. Sadly I’m facing the fact that there doesn’t seem to be any API for working with named reroute nodes. Like creating the named reroute node actually works but there is no …

---

## [Trying to understand draw calls and Actor Merge optimization in UE5](https://forums.unrealengine.com/t/trying-to-understand-draw-calls-and-actor-merge-optimization-in-ue5/2730335)

<div class="topic-metadata">

**Author:** [@e7de84f7c71249dc8a21a7d1f05899f3](https://forums.unrealengine.com/u/e7de84f7c71249dc8a21a7d1f05899f3)\
**Replies:** 2\
**Last updated:** [June 23, 2026, 8:27am UTC](https://forums.unrealengine.com/t/trying-to-understand-draw-calls-and-actor-merge-optimization-in-ue5/2730335 "2026-06-23T08:27:58Z")

</div>

Hi everyone, I’m trying to optimize my Unreal Engine 5 project for lower-end PCs, and I’m currently focusing on reducing draw calls. However, I’m confused about several things and would like to understand how these syst…

---

## [Brand new empty project does not build.](https://forums.unrealengine.com/t/brand-new-empty-project-does-not-build/2729906)

<div class="topic-metadata">

**Author:** [@bg-doritos](https://forums.unrealengine.com/u/bg-doritos)\
**Replies:** 3\
**Last updated:** [June 23, 2026, 6:00am UTC](https://forums.unrealengine.com/t/brand-new-empty-project-does-not-build/2729906 "2026-06-23T06:00:38Z")

</div>

hi guys, pretty new to unreal c++ but im trying to build an empty project but the following errors prevent me from building. am i missing some VS components? it’s driving me crazy. Any help is appreciated. VS 2026 …

---

## [CommonUIで複数のプレイヤーが同時にカーソルを動かす画面の実装について ](https://forums.unrealengine.com/t/commonui/2737462)

<div class="topic-metadata">

**Author:** [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Replies:** 2\
**Last updated:** [June 23, 2026, 5:43am UTC](https://forums.unrealengine.com/t/commonui/2737462 "2026-06-23T05:43:00Z")

</div>

お世話になっております。 CommonUIプラグインを使用してUI開発に取り組んでおります。 格闘ゲームのキャラクター選択時において、複数のプレイヤーがそれぞれ同時にカーソルを移動させる際にどのような実装が良いか検討しております。 CommonUIを使用する場合は基本的にカーソル操作はナビゲーションに任せつつ、フォーカスが当たったUIに対してアニメーション再生したりOnClickでのイベント処理を行う流れと認識しております。 こ…

---

## [Crowd avoidance location for agent using ICrowdAgentInterface not properly updated when going off the navmesh. ](https://forums.unrealengine.com/t/crowd-avoidance-location-for-agent-using-icrowdagentinterface-not-properly-updated-when-going-off-the-navmesh/2737447)

<div class="topic-metadata">

**Author:** [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Replies:** 1\
**Last updated:** [June 23, 2026, 3:48am UTC](https://forums.unrealengine.com/t/crowd-avoidance-location-for-agent-using-icrowdagentinterface-not-properly-updated-when-going-off-the-navmesh/2737447 "2026-06-23T03:48:27Z")

</div>

Hey, Ive encountered an issue with the detour crowd. In our game we have some AI agents that uses the detour crowd avoidance and we have implemented the \`ICrowdAgentInterface\` on our player character so that the agents …

---

## [Using delegates as function parameters](https://forums.unrealengine.com/t/using-delegates-as-function-parameters/40867)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_f3fb80e6](https://forums.unrealengine.com/u/anonymous_user_f3fb80e6)\
**Replies:** 14\
**Last updated:** [June 23, 2026, 3:34am UTC](https://forums.unrealengine.com/t/using-delegates-as-function-parameters/40867 "2026-06-23T03:34:53Z")

</div>

From the Blueprint Node CreateEvent I receive a Delegate object as output parameter. Now I want to use that delegate as parameter for custom function. However, when defining the paramters for that function, I am not able…

---

## [How to reference a batched actor in a level from a blueprint? (Eyedropper)](https://forums.unrealengine.com/t/how-to-reference-a-batched-actor-in-a-level-from-a-blueprint-eyedropper/2698165)

<div class="topic-metadata">

**Author:** [@Z3R0K0](https://forums.unrealengine.com/u/Z3R0K0)\
**Replies:** 5\
**Last updated:** [June 23, 2026, 2:58am UTC](https://forums.unrealengine.com/t/how-to-reference-a-batched-actor-in-a-level-from-a-blueprint-eyedropper/2698165 "2026-06-23T02:58:59Z")

</div>

Hello UE Forums. How do i reference a batched actor from with a blueprint? I have made a batched actor in my level and i want to be able to reference it from a blueprint, that is also in the same level. Using this …

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

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