# \#loop

**URL:** https://forums.unrealengine.com/tag/loop/1106.md

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

---

## [How to create a loop animation in UMG by Blueprint](https://forums.unrealengine.com/t/how-to-create-a-loop-animation-in-umg-by-blueprint/291517)

<div class="topic-metadata">

**Author:** [@xlaser](https://forums.unrealengine.com/u/xlaser)\
**Replies:** 11\
**Last updated:** [April 19, 2026, 4:09am UTC](https://forums.unrealengine.com/t/how-to-create-a-loop-animation-in-umg-by-blueprint/291517 "2026-04-19T04:09:50Z")

</div>

When I assign the UMG track name as variable to “Animation Name” in “Play Animation” node which find in UI section , it works well. But how to make it loops.

---

## [Are hard or soft references better when looping?](https://forums.unrealengine.com/t/are-hard-or-soft-references-better-when-looping/2668211)

<div class="topic-metadata">

**Author:** [@Extrahdmi](https://forums.unrealengine.com/u/Extrahdmi)\
**Replies:** 4\
**Last updated:** [October 24, 2025, 6:08pm UTC](https://forums.unrealengine.com/t/are-hard-or-soft-references-better-when-looping/2668211 "2025-10-24T18:08:08Z")

</div>

I see a lot of articles praising soft references, but I’m wondering if I should really use them. If i run a function on an array of class references in a loop, a hard reference is all i need, but a soft reference requir…

---

## [INFINITE LOOP](https://forums.unrealengine.com/t/infinite-loop/2648044)

<div class="topic-metadata">

**Author:** [@frostmule](https://forums.unrealengine.com/u/frostmule)\
**Replies:** 1\
**Last updated:** [August 21, 2025, 8:41pm UTC](https://forums.unrealengine.com/t/infinite-loop/2648044 "2025-08-21T20:41:03Z")

</div>

Summary The Verse runtime occasionally terminates execution with the error ErrRuntime\_InfiniteLoop, even though the code does not contain any infinite loops. The issue happens randomly and, when it occurs, it generates a…

---

## [How can I loop music/sounds?](https://forums.unrealengine.com/t/how-can-i-loop-music-sounds/462215)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_24f41cec](https://forums.unrealengine.com/u/anonymous_user_24f41cec)\
**Replies:** 8\
**Last updated:** [July 4, 2025, 11:00am UTC](https://forums.unrealengine.com/t/how-can-i-loop-music-sounds/462215 "2025-07-04T11:00:15Z")

</div>

Hello! I want to loop the song that play’s on the main menu of my game, but I have no idea how. Can someone help me please?

---

## [Timer by Function doesn't loop.](https://forums.unrealengine.com/t/timer-by-function-doesnt-loop/337870)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_b885638c](https://forums.unrealengine.com/u/anonymous_user_b885638c)\
**Replies:** 12\
**Last updated:** [February 3, 2025, 3:03pm UTC](https://forums.unrealengine.com/t/timer-by-function-doesnt-loop/337870 "2025-02-03T15:03:59Z")

</div>

http://puu.sh/ler01/a46b3d779d.jpg Can anyone tell me what I’m doing wrong? I can’t get the timer to work and I’ve tried many methods. I ended up making my own, but I really want to find out why doesn’t it keep looping.…

---

## [why does the delay node prevent looping](https://forums.unrealengine.com/t/why-does-the-delay-node-prevent-looping/2311841)

<div class="topic-metadata">

**Author:** [@exe.caliber](https://forums.unrealengine.com/u/exe.caliber)\
**Replies:** 3\
**Last updated:** [January 31, 2025, 2:42pm UTC](https://forums.unrealengine.com/t/why-does-the-delay-node-prevent-looping/2311841 "2025-01-31T14:42:16Z")

</div>

I was making a very simple and basic event to spawn enemies in a specific area I wanted to spawn Niagara affect before spawning the Enemy at the same position for aesthetic reasons. at some point I added “delay node” b…

---

## [Loop problem only on some media textures](https://forums.unrealengine.com/t/loop-problem-only-on-some-media-textures/491174)

<div class="topic-metadata">

**Author:** [@srhrs](https://forums.unrealengine.com/u/srhrs)\
**Replies:** 2\
**Last updated:** [December 14, 2024, 5:08pm UTC](https://forums.unrealengine.com/t/loop-problem-only-on-some-media-textures/491174 "2024-12-14T17:08:31Z")

</div>

Hello! I have an ArchViz with different Media Textures that start on click mouse with line trace. The problem is that some play in a loop, some aren’t even if are all checked correctly to do it. They also work at the s…

---

## [Multithreading and Performance in Unreal](https://forums.unrealengine.com/t/multithreading-and-performance-in-unreal/1216417)

<div class="topic-metadata">

**Author:** [@Ayliroe](https://forums.unrealengine.com/u/Ayliroe)\
**Replies:** 14\
**Last updated:** [October 26, 2024, 5:40pm UTC](https://forums.unrealengine.com/t/multithreading-and-performance-in-unreal/1216417 "2024-10-26T17:40:17Z")

</div>

There’s a criminal lack of condensed documentation on how to implement actually useful multithreading in Unreal, and also a general difficulty to find a good overview of practices that lead to performant code, so here’s …

---

## [Breakpoint in loop hit once](https://forums.unrealengine.com/t/breakpoint-in-loop-hit-once/429578)

<div class="topic-metadata">

**Author:** [@Mattlauk](https://forums.unrealengine.com/u/Mattlauk)\
**Replies:** 7\
**Last updated:** [September 20, 2024, 5:38pm UTC](https://forums.unrealengine.com/t/breakpoint-in-loop-hit-once/429578 "2024-09-20T17:38:04Z")

</div>

When debugging my blueprint, if I place a break point on a node that is in a loop, it only gets hit once. It runs the loop more than once and I verified this through the execution trace and print string. I’m not sure if …

---

## [Problems with vertical loop on spline mesh](https://forums.unrealengine.com/t/problems-with-vertical-loop-on-spline-mesh/359435)

<div class="topic-metadata">

**Author:** [@Monokkel](https://forums.unrealengine.com/u/Monokkel)\
**Replies:** 19\
**Last updated:** [August 26, 2024, 8:23pm UTC](https://forums.unrealengine.com/t/problems-with-vertical-loop-on-spline-mesh/359435 "2024-08-26T20:23:43Z")

</div>

I am having some trouble making vertical loops for spline meshes. The basic problem is that spline meshes in Unreal Engine will twist 180 degrees if they are bent in a vertical loop. This is a problem that \[has been solv…

---

## [Iteration Limit Setting Broken](https://forums.unrealengine.com/t/iteration-limit-setting-broken/296316)

<div class="topic-metadata">

**Author:** [@Zeustiak](https://forums.unrealengine.com/u/Zeustiak)\
**Replies:** 9\
**Last updated:** [August 2, 2024, 2:16pm UTC](https://forums.unrealengine.com/t/iteration-limit-setting-broken/296316 "2024-08-02T14:16:13Z")

</div>

Thank you for adding the Maximum Loop Iteration Count setting to the Project Settings. Unfortunately it seems to be broken or still quite limited: LogScript:Warning: Runaway loop detected (over 10000000 iterations) Se…

---

## [Array has changed during ranged-for iteration](https://forums.unrealengine.com/t/array-has-changed-during-ranged-for-iteration/354123)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_08c2fdfc](https://forums.unrealengine.com/u/anonymous_user_08c2fdfc)\
**Replies:** 6\
**Last updated:** [July 18, 2024, 8:39pm UTC](https://forums.unrealengine.com/t/array-has-changed-during-ranged-for-iteration/354123 "2024-07-18T20:39:28Z")

</div>

I upgraded to 4.11 and now I have the following error: Array has changed during ranged-for iteration This happens because I add some elements in my TArray while iterating over it. I am aware of what I am doing, the …

---

## [Making my brake run in a loop without error](https://forums.unrealengine.com/t/making-my-brake-run-in-a-loop-without-error/1911860)

<div class="topic-metadata">

**Author:** [@DripTheSeawing](https://forums.unrealengine.com/u/DripTheSeawing)\
**Replies:** 3\
**Last updated:** [June 24, 2024, 1:49pm UTC](https://forums.unrealengine.com/t/making-my-brake-run-in-a-loop-without-error/1911860 "2024-06-24T13:49:24Z")

</div>

Im trying to make a mechanic for my marble racing game where you can brake to slow yourself rapidly to allow for tighter turns. Every time I try to test out the code I get a “Infinite loop” error. Is there any way I can …

---

## [Using Arrays in Materials](https://forums.unrealengine.com/t/using-arrays-in-materials/383031)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_4b3639a6](https://forums.unrealengine.com/u/anonymous_user_4b3639a6)\
**Replies:** 12\
**Last updated:** [June 20, 2024, 6:05pm UTC](https://forums.unrealengine.com/t/using-arrays-in-materials/383031 "2024-06-20T18:05:20Z")

</div>

Hey guys, I try to export a Material I wrote in Unity to Unreal. Unfortunately I cannot find a way to loop through Arrays in Materials. What I know so far: I can create custom expressions to use a for-loop Problem:…

---

## [Any way to loop wind ?](https://forums.unrealengine.com/t/any-way-to-loop-wind/1433712)

<div class="topic-metadata">

**Author:** [@Rikuzami](https://forums.unrealengine.com/u/Rikuzami)\
**Replies:** 1\
**Last updated:** [June 1, 2024, 8:41pm UTC](https://forums.unrealengine.com/t/any-way-to-loop-wind/1433712 "2024-06-01T20:41:54Z")

</div>

I’m trying to do a looped animation with some Quixel plants, but I see that the plants movement won’t loop. Any way to fix that ? Thanks

---

## [How to decrement in For Loop with break](https://forums.unrealengine.com/t/how-to-decrement-in-for-loop-with-break/1875969)

<div class="topic-metadata">

**Author:** [@Jil3R](https://forums.unrealengine.com/u/Jil3R)\
**Replies:** 3\
**Last updated:** [May 27, 2024, 11:09pm UTC](https://forums.unrealengine.com/t/how-to-decrement-in-for-loop-with-break/1875969 "2024-05-27T23:09:36Z")

</div>

Hello all, so after so many attempts, I could create a decrement for loop using unreal engine. so here is the blueprint screenshot. we can give the first index and last index. I have also added a delay and break also. I…

---

## [How to change random time in Set Timer Delegate every loop?](https://forums.unrealengine.com/t/how-to-change-random-time-in-set-timer-delegate-every-loop/304334)

<div class="topic-metadata">

**Author:** [@darkpivot](https://forums.unrealengine.com/u/darkpivot)\
**Replies:** 5\
**Last updated:** [May 4, 2024, 1:39pm UTC](https://forums.unrealengine.com/t/how-to-change-random-time-in-set-timer-delegate-every-loop/304334 "2024-05-04T13:39:31Z")

</div>

I have a ‘set timer delegate’ node, set to looping. I have the time set to a ‘random float in range’ with a min and max time value. I want it so that every time the timer loops, it will randomize the time again. My probl…

---

## [Destroy Actor used with for loop.](https://forums.unrealengine.com/t/destroy-actor-used-with-for-loop/1676734)

<div class="topic-metadata">

**Author:** [@XrMob](https://forums.unrealengine.com/u/XrMob)\
**Replies:** 2\
**Last updated:** [February 9, 2024, 6:14pm UTC](https://forums.unrealengine.com/t/destroy-actor-used-with-for-loop/1676734 "2024-02-09T18:14:58Z")

</div>

Hi, I am new to unreal. I am trying to create actors at specific position from the character blueprint and destroy them when the character moves and respawn new set of actors for the same class. Currently I am using ‘for…

---

## [How can I loop Spline Component?](https://forums.unrealengine.com/t/how-can-i-loop-spline-component/294126)

<div class="topic-metadata">

**Author:** [@Zielak](https://forums.unrealengine.com/u/Zielak)\
**Replies:** 9\
**Last updated:** [January 17, 2024, 6:52am UTC](https://forums.unrealengine.com/t/how-can-i-loop-spline-component/294126 "2024-01-17T06:52:15Z")

</div>

I’m making a racing prototype, where vehicles follow the spline component like the train on rails. By “looping” I mean seamlessly merge first and last points. I was hoping to see something like “Loop spline” checkbox in…

---

## [Loop through each index of array then perform action for each](https://forums.unrealengine.com/t/loop-through-each-index-of-array-then-perform-action-for-each/1250523)

<div class="topic-metadata">

**Author:** [@eleine.11](https://forums.unrealengine.com/u/eleine.11)\
**Replies:** 12\
**Last updated:** [August 4, 2023, 2:03pm UTC](https://forums.unrealengine.com/t/loop-through-each-index-of-array-then-perform-action-for-each/1250523 "2023-08-04T14:03:47Z")

</div>

Hello! I just started learning UE and I ran into a problem following some tutorial (UE5.1 ver). I have a Data Table for enemy waves (rows) containing different enemy types, each having a class and a number. The table r…

---

## [How to loop an Actor to Sequencer section?](https://forums.unrealengine.com/t/how-to-loop-an-actor-to-sequencer-section/481947)

<div class="topic-metadata">

**Author:** [@werwack](https://forums.unrealengine.com/u/werwack)\
**Replies:** 3\
**Last updated:** [May 13, 2023, 4:59am UTC](https://forums.unrealengine.com/t/how-to-loop-an-actor-to-sequencer-section/481947 "2023-05-13T04:59:21Z")

</div>

Hello, I am looking for a mean to easily loop an actor animation in the sequencer, this for an actor in the level. My use case is this: I want an object in my screen to have a specific movement in space in front of a…

---

## [Export camera captures to file](https://forums.unrealengine.com/t/export-camera-captures-to-file/817880)

<div class="topic-metadata">

**Author:** [@AlonsoGarridoL](https://forums.unrealengine.com/u/AlonsoGarridoL)\
**Replies:** 2\
**Last updated:** [May 7, 2023, 4:19pm UTC](https://forums.unrealengine.com/t/export-camera-captures-to-file/817880 "2023-05-07T16:19:22Z")

</div>

Hi. I’m trying to export camera captures to files. I have made this program ang works but the image doesn’t change, all the files have the same image/size. The loop secuence is working because the filename is correct. …

---

## [Make large array of structures from loop](https://forums.unrealengine.com/t/make-large-array-of-structures-from-loop/393509)

<div class="topic-metadata">

**Author:** [@Ethersin](https://forums.unrealengine.com/u/Ethersin)\
**Replies:** 1\
**Last updated:** [September 10, 2022, 3:04pm UTC](https://forums.unrealengine.com/t/make-large-array-of-structures-from-loop/393509 "2022-09-10T15:04:21Z")

</div>

Hi, I’ve followed (and slightly changed) a Tutorial and I want to store each created maze in an array of structures consisting of 3 other structure arrays. It works fine just doing it once, but to try and create even 2 …

---

## [\[released\] badlands music pack 3 - update](https://forums.unrealengine.com/t/released-badlands-music-pack-3-update/596813)

<div class="topic-metadata">

**Author:** [@mlamanna](https://forums.unrealengine.com/u/mlamanna)\
**Replies:** 0\
**Last updated:** [July 4, 2022, 1:54pm UTC](https://forums.unrealengine.com/t/released-badlands-music-pack-3-update/596813 "2022-07-04T13:54:05Z")

</div>

Just finished adding a few more tracks to Badlands Music Pack 3 free update! Devils’ Pass - Full Loop Version Devils’ Pass - Full Fade Version Devils’ Pass - Ambient Loop Version Devils’ Pass - Loop Version 1 Space C…

---

## [How to use ForEachLoop to remove items from array?](https://forums.unrealengine.com/t/how-to-use-foreachloop-to-remove-items-from-array/330106)

<div class="topic-metadata">

**Author:** [@TVinforest](https://forums.unrealengine.com/u/TVinforest)\
**Replies:** 6\
**Last updated:** [June 28, 2022, 9:54pm UTC](https://forums.unrealengine.com/t/how-to-use-foreachloop-to-remove-items-from-array/330106 "2022-06-28T21:54:01Z")

</div>

Hello! For example of problem I created a simple Blueprint - I’m adding some elements to empty Cell\_Array and then try to remove them all. But 1/2 of elements are still in Cell\_Array after all. How to remove elements …

---

## [Android (AR-Core) Multiple Audio Tracks Looping](https://forums.unrealengine.com/t/android-ar-core-multiple-audio-tracks-looping/437820)

<div class="topic-metadata">

**Author:** [@Stephan\_Rub](https://forums.unrealengine.com/u/Stephan_Rub)\
**Replies:** 1\
**Last updated:** [June 10, 2022, 9:13pm UTC](https://forums.unrealengine.com/t/android-ar-core-multiple-audio-tracks-looping/437820 "2022-06-10T21:13:06Z")

</div>

Hi, I’m trying to create a simple AR app where you place members of a rock band in the world and then they start to play. I created 4 looping audio tracks (1 for each instrument). They should start when the actor for the…

---

## [Running Multicast Event (from Server) not triggered on Client in some loop iterations?](https://forums.unrealengine.com/t/running-multicast-event-from-server-not-triggered-on-client-in-some-loop-iterations/411750)

<div class="topic-metadata">

**Author:** [@Heidi](https://forums.unrealengine.com/u/Heidi)\
**Replies:** 6\
**Last updated:** [June 4, 2022, 3:55pm UTC](https://forums.unrealengine.com/t/running-multicast-event-from-server-not-triggered-on-client-in-some-loop-iterations/411750 "2022-06-04T15:55:41Z")

</div>

Hi! I am in my Custom Event which is RunOnServer. It requires an array of StaticMeshes, and for each of those I want to change their Material. I call another Custom Event which is Multicast with inputs being the Mesh (…

---

## [How can i make a string separate by space](https://forums.unrealengine.com/t/how-can-i-make-a-string-separate-by-space/472603)

<div class="topic-metadata">

**Author:** [@Shedels](https://forums.unrealengine.com/u/Shedels)\
**Replies:** 3\
**Last updated:** [October 20, 2021, 10:59am UTC](https://forums.unrealengine.com/t/how-can-i-make-a-string-separate-by-space/472603 "2021-10-20T10:59:01Z")

</div>

Hello i have a string ilke this “12345” and next i need to work with smth like this “1 2 3 4 5”. Can u show step by step?

---

## [Reverse For Each Loop Macro with Wildcard Code](https://forums.unrealengine.com/t/reverse-for-each-loop-macro-with-wildcard-code/308434)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_8f043ea0](https://forums.unrealengine.com/u/anonymous_user_8f043ea0)\
**Replies:** 2\
**Last updated:** [September 30, 2021, 1:37am UTC](https://forums.unrealengine.com/t/reverse-for-each-loop-macro-with-wildcard-code/308434 "2021-09-30T01:37:47Z")

</div>

I wanted an easy way to reverse-iterate through a list of objects such that I could safely remove them by index as I went if needed. So I created a Blueprint Macro Library and now have it working. I attach an image of …

---

## [Blueprint loop/for/while node with custom c++ blueprint function library](https://forums.unrealengine.com/t/blueprint-loop-for-while-node-with-custom-c-blueprint-function-library/458043)

<div class="topic-metadata">

**Author:** [@AaroTT](https://forums.unrealengine.com/u/AaroTT)\
**Replies:** 2\
**Last updated:** [August 21, 2021, 8:23pm UTC](https://forums.unrealengine.com/t/blueprint-loop-for-while-node-with-custom-c-blueprint-function-library/458043 "2021-08-21T20:23:35Z")

</div>

Hi, I need to create a custom blueprint node. I am using the blueprint function library. The node will look like this: Input: int timedelayforeachloop int numberofloops output exc loop exc completed loop1.h // …

[Next page](https://forums.unrealengine.com/tag/loop/1106.md?match_all_tags=true&page=1&tags%5B%5D=loop)
