# \#infinite-loop

**URL:** https://forums.unrealengine.com/tag/infinite-loop/5340.md

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

---

## [What is the cause of this "infinite loop"](https://forums.unrealengine.com/t/what-is-the-cause-of-this-infinite-loop/2679506)

<div class="topic-metadata">

**Author:** [@ByNovex](https://forums.unrealengine.com/u/ByNovex)\
**Replies:** 2\
**Last updated:** [November 28, 2025, 1:10pm UTC](https://forums.unrealengine.com/t/what-is-the-cause-of-this-infinite-loop/2679506 "2025-11-28T13:10:33Z")

</div>

Hi! I’ve a bp called road which has an actor child and two splines. This bp creates “decorations” along the splines randomly. On construction script I’ve some functionality that scales all the components based on an exp…

---

## [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…

---

## [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 …

---

## [Unreal Editor Stopping at 75%: FClassFinder and Blueprint Problem](https://forums.unrealengine.com/t/unreal-editor-stopping-at-75-fclassfinder-and-blueprint-problem/1898818)

<div class="topic-metadata">

**Author:** [@ClaudYx](https://forums.unrealengine.com/u/ClaudYx)\
**Replies:** 1\
**Last updated:** [June 11, 2024, 11:58am UTC](https://forums.unrealengine.com/t/unreal-editor-stopping-at-75-fclassfinder-and-blueprint-problem/1898818 "2024-06-11T11:58:35Z")

</div>

I encountered an issue in my project, so I created a new project to reproduce the bug. Below are the steps to reproduce the issue and the problem description: Create a Blueprint Widget (BP\_MyWidget). Create a Pla…

---

## [Sort Characters by their Speed Stat In Array (Turn Based Combat)](https://forums.unrealengine.com/t/sort-characters-by-their-speed-stat-in-array-turn-based-combat/1859346)

<div class="topic-metadata">

**Author:** [@Kazzinga01](https://forums.unrealengine.com/u/Kazzinga01)\
**Replies:** 1\
**Last updated:** [June 7, 2024, 1:02pm UTC](https://forums.unrealengine.com/t/sort-characters-by-their-speed-stat-in-array-turn-based-combat/1859346 "2024-06-07T13:02:03Z")

</div>

I tried this before in 4.27, is the same blueprints but in UE 5.4 it gives me infinite loop Error. The Function take some characters check their’s speeds and put them in an array of speeds, then it sort them from the hig…

---

## [\[CLOSED\] Infinite Loop error when using AI MoveTo](https://forums.unrealengine.com/t/closed-infinite-loop-error-when-using-ai-moveto/1854149)

<div class="topic-metadata">

**Author:** [@Marci1209](https://forums.unrealengine.com/u/Marci1209)\
**Replies:** 2\
**Last updated:** [May 13, 2024, 9:13pm UTC](https://forums.unrealengine.com/t/closed-infinite-loop-error-when-using-ai-moveto/1854149 "2024-05-13T21:13:18Z")

</div>

Hi all. I am developing a game where you race against some npc’s. The npc walks/runs in a straight line and turns back and does it all over. I have a “round” limiter, but it’s the same if I remove it. The code is a bit m…

---

## [Infinite loop detected in a timeline](https://forums.unrealengine.com/t/infinite-loop-detected-in-a-timeline/1693175)

<div class="topic-metadata">

**Author:** [@PaPaParker9](https://forums.unrealengine.com/u/PaPaParker9)\
**Replies:** 4\
**Last updated:** [February 22, 2024, 6:33am UTC](https://forums.unrealengine.com/t/infinite-loop-detected-in-a-timeline/1693175 "2024-02-22T06:33:52Z")

</div>

in UE 5.3.2 (on either windows 10 or 11) i wrote a ‘marble run’ VR application. That is, the user creates a track and a marble rolls down the track. If I create a PCVR app, I need considerable GPU power for UE physics to…

---

## [I get an infinite loop when loading saves in Horror Engine (UE4) 😢](https://forums.unrealengine.com/t/i-get-an-infinite-loop-when-loading-saves-in-horror-engine-ue4/1634008)

<div class="topic-metadata">

**Author:** [@deklazon](https://forums.unrealengine.com/u/deklazon)\
**Replies:** 0\
**Last updated:** [January 22, 2024, 10:55am UTC](https://forums.unrealengine.com/t/i-get-an-infinite-loop-when-loading-saves-in-horror-engine-ue4/1634008 "2024-01-22T10:55:42Z")

</div>

Who develops on the “Horror Engine” template in UE4? I have quite a lot of triggers and events at my level. I enable autosaves on some of them. If I load the saves I made at the beginning of the level, then everything …

---

## [Why Unreal is detecting Infinite loop ?](https://forums.unrealengine.com/t/why-unreal-is-detecting-infinite-loop/1555258)

<div class="topic-metadata">

**Author:** [@Dark0\_oKnight](https://forums.unrealengine.com/u/Dark0_oKnight)\
**Replies:** 1\
**Last updated:** [December 25, 2023, 4:25pm UTC](https://forums.unrealengine.com/t/why-unreal-is-detecting-infinite-loop/1555258 "2023-12-25T16:25:41Z")

</div>

i have been trying to create an endless runner game prototype , initially i spawn 10 floor segments inside level blueprint and then as player hits trigger box at the end of each segment , a new floor segment is spawned …

---

## [Spawning a new actor of the same class infinite loop Solved! But i have another problem with collision of pawn](https://forums.unrealengine.com/t/spawning-a-new-actor-of-the-same-class-infinite-loop-solved-but-i-have-another-problem-with-collision-of-pawn/304173)

<div class="topic-metadata">

**Author:** [@KristofferF](https://forums.unrealengine.com/u/KristofferF)\
**Replies:** 11\
**Last updated:** [July 29, 2023, 4:39pm UTC](https://forums.unrealengine.com/t/spawning-a-new-actor-of-the-same-class-infinite-loop-solved-but-i-have-another-problem-with-collision-of-pawn/304173 "2023-07-29T16:39:37Z")

</div>

I’m trying to create a form of endless runner test from the roller project. I have some problem with “Infinite Loop detected in blueprint: Cube” You can see in the picture that I’m trying to spawn a new cubes section…

---

## [Infinite Loop](https://forums.unrealengine.com/t/infinite-loop/1171776)

<div class="topic-metadata">

**Author:** [@T4l\_R](https://forums.unrealengine.com/u/T4l_R)\
**Replies:** 3\
**Last updated:** [May 20, 2023, 12:38am UTC](https://forums.unrealengine.com/t/infinite-loop/1171776 "2023-05-20T00:38:21Z")

</div>

Hi all, Is there a way to prevent the infinite loop error I’m having and still use this recursive function?

---

## [Animating a closed Bezier path value \> 1 in sequencer?](https://forums.unrealengine.com/t/animating-a-closed-bezier-path-value-1-in-sequencer/825407)

<div class="topic-metadata">

**Author:** [@zonfar2](https://forums.unrealengine.com/u/zonfar2)\
**Replies:** 0\
**Last updated:** [March 26, 2023, 5:18pm UTC](https://forums.unrealengine.com/t/animating-a-closed-bezier-path-value-1-in-sequencer/825407 "2023-03-26T17:18:41Z")

</div>

I have a circular bezier curve with an object attached to the curve, following it as a path. I am wanting to ramp up and down the speeds at certain times, however the issue I am facing is that after animating the pat…

---

## [Infinite Loop error detected](https://forums.unrealengine.com/t/infinite-loop-error-detected/768300)

<div class="topic-metadata">

**Author:** [@Camper3000](https://forums.unrealengine.com/u/Camper3000)\
**Replies:** 0\
**Last updated:** [February 10, 2023, 9:51pm UTC](https://forums.unrealengine.com/t/infinite-loop-error-detected/768300 "2023-02-10T21:51:44Z")

</div>

so when i equip a backpack and pick up the same 2 items i get a loop error i follow a tutorial and my function is identical to the tutorial.

---

## [Why do I get the error "Infinite Loop Detected" when there's NO INFINITE LOOP!?!?!??](https://forums.unrealengine.com/t/why-do-i-get-the-error-infinite-loop-detected-when-theres-no-infinite-loop/757052)

<div class="topic-metadata">

**Author:** [@Fallerrr](https://forums.unrealengine.com/u/Fallerrr)\
**Replies:** 9\
**Last updated:** [January 31, 2023, 10:11pm UTC](https://forums.unrealengine.com/t/why-do-i-get-the-error-infinite-loop-detected-when-theres-no-infinite-loop/757052 "2023-01-31T22:11:27Z")

</div>

I set up code that changes the actor the player is holding when they overlap a trigger, BUT EVERYTIME THEY OVERLAP IT, IT CLOSES THE GAME AND GIVES ME AN INFINITE LOOP. I’ve checked the node that the error called out, an…

---

## [How to implement a loop guard properly?](https://forums.unrealengine.com/t/how-to-implement-a-loop-guard-properly/415963)

<div class="topic-metadata">

**Author:** [@Al\_Ananias](https://forums.unrealengine.com/u/Al_Ananias)\
**Replies:** 2\
**Last updated:** [July 23, 2022, 10:12pm UTC](https://forums.unrealengine.com/t/how-to-implement-a-loop-guard-properly/415963 "2022-07-23T22:12:35Z")

</div>

I’m trying to do something in a blueprint, using a logic that works in any other language on Earth form ancient Greek to Ruby but that for some reason doesn’t work in blueprints. A simple loop guard. So what I do is the …

---

## [Unreal Engine website infinitely redirects when approving Metahuman early access](https://forums.unrealengine.com/t/unreal-engine-website-infinitely-redirects-when-approving-metahuman-early-access/485294)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_57d62236](https://forums.unrealengine.com/u/anonymous_user_57d62236)\
**Replies:** 13\
**Last updated:** [June 22, 2022, 6:54am UTC](https://forums.unrealengine.com/t/unreal-engine-website-infinitely-redirects-when-approving-metahuman-early-access/485294 "2022-06-22T06:54:56Z")

</div>

I tried asking this question to Epic’s main support via their ticket system but they just immediately closed my ticket and told me to ask here, but there’s no website bug section so apologies if this is the wrong place, …

---

## [Infinite Loop in my character creator](https://forums.unrealengine.com/t/infinite-loop-in-my-character-creator/488460)

<div class="topic-metadata">

**Author:** [@DavidTveraas](https://forums.unrealengine.com/u/DavidTveraas)\
**Replies:** 6\
**Last updated:** [September 6, 2021, 5:44pm UTC](https://forums.unrealengine.com/t/infinite-loop-in-my-character-creator/488460 "2021-09-06T17:44:15Z")

</div>

I followed this tutorial: Unreal Modular Character Customization System I - YouTube My code is not exactly following along with it, but I’m not sure where the infinite loop could be coming from if the author of that tut…

---

## [When I package APK, BUILD COMMAND COMPLETED is fall in infinite loop](https://forums.unrealengine.com/t/when-i-package-apk-build-command-completed-is-fall-in-infinite-loop/486652)

<div class="topic-metadata">

**Author:** [@TigerFish89](https://forums.unrealengine.com/u/TigerFish89)\
**Replies:** 0\
**Last updated:** [July 27, 2021, 2:28am UTC](https://forums.unrealengine.com/t/when-i-package-apk-build-command-completed-is-fall-in-infinite-loop/486652 "2021-07-27T02:28:14Z")

</div>

Hi, When I package APK. Packaging APK fall in infinite loop sometime. But build log show build successful. Packaging APK take usually 83s in normal but sometime it fall in infinite loop. There is no error when I packa…

---

## [How to get UE4 to ignore a infinite loop?](https://forums.unrealengine.com/t/how-to-get-ue4-to-ignore-a-infinite-loop/481993)

<div class="topic-metadata">

**Author:** [@shadowcalen1](https://forums.unrealengine.com/u/shadowcalen1)\
**Replies:** 2\
**Last updated:** [April 17, 2021, 10:47pm UTC](https://forums.unrealengine.com/t/how-to-get-ue4-to-ignore-a-infinite-loop/481993 "2021-04-17T22:47:09Z")

</div>

I have the following blueprint The goal of this blueprint is to damage the player when they enter the collision box, and to keep damaging them until they leave. However, this causes the game to crash because UE4 inco…

---

## [Unable to Install UE or TM - Looping Install](https://forums.unrealengine.com/t/unable-to-install-ue-or-tm-looping-install/482063)

<div class="topic-metadata">

**Author:** [@willblackburn83](https://forums.unrealengine.com/u/willblackburn83)\
**Replies:** 0\
**Last updated:** [April 17, 2021, 12:57pm UTC](https://forums.unrealengine.com/t/unable-to-install-ue-or-tm-looping-install/482063 "2021-04-17T12:57:24Z")

</div>

Hi Would really appreciate some help if someone can as i am out of ideas. I am unable to install Twin Motion or Unreal Engine from the Epic Launcher on my Windows 7 64bit machine (64GB ram / Nvidia GTX970). It starts i…

---

## [Why loop showing infinite if delay not used ?](https://forums.unrealengine.com/t/why-loop-showing-infinite-if-delay-not-used/481550)

<div class="topic-metadata">

**Author:** [@bharatptech](https://forums.unrealengine.com/u/bharatptech)\
**Replies:** 0\
**Last updated:** [April 9, 2021, 7:53pm UTC](https://forums.unrealengine.com/t/why-loop-showing-infinite-if-delay-not-used/481550 "2021-04-09T19:53:09Z")

</div>

I am new to unreal engine. Before that I have 3 years of work experience in C++ and java. I am looking to test my skills and I am interested in game development so I started myself. My code is showing infinite loop i…

---

## [How can I fix this infinite loop?](https://forums.unrealengine.com/t/how-can-i-fix-this-infinite-loop/481204)

<div class="topic-metadata">

**Author:** [@Chief\_Man](https://forums.unrealengine.com/u/Chief_Man)\
**Replies:** 28\
**Last updated:** [April 2, 2021, 8:14am UTC](https://forums.unrealengine.com/t/how-can-i-fix-this-infinite-loop/481204 "2021-04-02T08:14:27Z")

</div>

I am trying to setup a play button on the main menu of my project which loads the user into the game world, but when I click play I get a “Infinite Loop Detected” error in the message log. If I click show, it brings me t…

---

## [UE\_LOG enters in an infinite loop at compile time](https://forums.unrealengine.com/t/ue-log-enters-in-an-infinite-loop-at-compile-time/477826)

<div class="topic-metadata">

**Author:** [@mcleary](https://forums.unrealengine.com/u/mcleary)\
**Replies:** 2\
**Last updated:** [February 18, 2021, 9:15am UTC](https://forums.unrealengine.com/t/ue-log-enters-in-an-infinite-loop-at-compile-time/477826 "2021-02-18T09:15:43Z")

</div>

I was experimenting with Unreal 4.25 when I noticed that Visual Studio was taking forever to compile a simple project. I was removing stuff until I narrowed it down to how I wrote a call to UE\_LOG. In this case it is jus…

---

## [Melee animation loops indefinitely despite boolean that triggers it at tick being turned off](https://forums.unrealengine.com/t/melee-animation-loops-indefinitely-despite-boolean-that-triggers-it-at-tick-being-turned-off/478467)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_40cf7dcb](https://forums.unrealengine.com/u/anonymous_user_40cf7dcb)\
**Replies:** 1\
**Last updated:** [February 8, 2021, 9:12pm UTC](https://forums.unrealengine.com/t/melee-animation-loops-indefinitely-despite-boolean-that-triggers-it-at-tick-being-turned-off/478467 "2021-02-08T21:12:58Z")

</div>

Hello, I’m starting my first project in UE4 and I’m going crazy - I have to be missing something very simple here. I’ve assigned my melee attack to the left mouse button and coded the animation into a custom event as sh…

---

## [Infinite loop begin play using beam](https://forums.unrealengine.com/t/infinite-loop-begin-play-using-beam/476922)

<div class="topic-metadata">

**Author:** [@Soleniah](https://forums.unrealengine.com/u/Soleniah)\
**Replies:** 9\
**Last updated:** [January 8, 2021, 1:31pm UTC](https://forums.unrealengine.com/t/infinite-loop-begin-play-using-beam/476922 "2021-01-08T13:31:22Z")

</div>

Try putting a DoOnce on the overlap events.

---

## [Infinite Loop](https://forums.unrealengine.com/t/infinite-loop/474569)

<div class="topic-metadata">

**Author:** [@Sacco908](https://forums.unrealengine.com/u/Sacco908)\
**Replies:** 1\
**Last updated:** [November 16, 2020, 8:45pm UTC](https://forums.unrealengine.com/t/infinite-loop/474569 "2020-11-16T20:45:46Z")

</div>

Hi I have such a blueprint and I have a problem with endless loops Can someone help me determine where I have the error or how to set the laser to reflect only, for example, 100 times to avoid this loop?

---

## [Infinite While Loops](https://forums.unrealengine.com/t/infinite-while-loops/473051)

<div class="topic-metadata">

**Author:** [@MTBRGaming](https://forums.unrealengine.com/u/MTBRGaming)\
**Replies:** 3\
**Last updated:** [October 17, 2020, 6:31pm UTC](https://forums.unrealengine.com/t/infinite-while-loops/473051 "2020-10-17T18:31:13Z")

</div>

I have looked at some of the other questions about infinite while loops and they all just say to not use a while loops because you can do something else. I am making a game where you can slam down on the ground and when …

---

## [Every button in the UI causes an infinite loop](https://forums.unrealengine.com/t/every-button-in-the-ui-causes-an-infinite-loop/471183)

<div class="topic-metadata">

**Author:** [@ExpStealer](https://forums.unrealengine.com/u/ExpStealer)\
**Replies:** 3\
**Last updated:** [September 11, 2020, 4:13pm UTC](https://forums.unrealengine.com/t/every-button-in-the-ui-causes-an-infinite-loop/471183 "2020-09-11T16:13:00Z")

</div>

Greetings! As the title suggests - literally every button in the UI of my project causes an infinite loop. Or, at least, the engine says so. At first I thought it was just the “Save Settings” button, but couldn’t figure…

---

## [Why is this for loop an infinite loop?](https://forums.unrealengine.com/t/why-is-this-for-loop-an-infinite-loop/467316)

<div class="topic-metadata">

**Author:** [@NinjaHisser](https://forums.unrealengine.com/u/NinjaHisser)\
**Replies:** 1\
**Last updated:** [June 27, 2020, 1:29am UTC](https://forums.unrealengine.com/t/why-is-this-for-loop-an-infinite-loop/467316 "2020-06-27T01:29:00Z")

</div>

For some reason the top loop is the limit before it says I have an infinite loop, wich is not true This is the only actor of its class in the scene

---

## [For Each loop causing infinite loop?](https://forums.unrealengine.com/t/for-each-loop-causing-infinite-loop/465691)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_0efb4f1d](https://forums.unrealengine.com/u/anonymous_user_0efb4f1d)\
**Replies:** 1\
**Last updated:** [May 24, 2020, 7:55am UTC](https://forums.unrealengine.com/t/for-each-loop-causing-infinite-loop/465691 "2020-05-24T07:55:29Z")

</div>

Hi all, I am having a relatively straightforward problem. I am running a while loop with nested for each loops. The while loop is dependent on the number of iterations of these for each loops. Appending to these for eac…

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