# PIE: Error: Infinite loop detected. Blueprint: LearningDirector Function: Outputs - Outputs is a Standard Macro.

**URL:** <https://forums.unrealengine.com/t/pie-error-infinite-loop-detected-blueprint-learningdirector-function-outputs-outputs-is-a-standard-macro/2730928>\
**Category:** Issues and Bug Reporting (Unreal Engine)\
**Tags:** unreal-engine, Blueprint\
**Created:** [June 23, 2026, 11:53pm UTC](https://forums.unrealengine.com/t/pie-error-infinite-loop-detected-blueprint-learningdirector-function-outputs-outputs-is-a-standard-macro/2730928 "2026-06-23T23:53:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![NemoCalvaluna](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NemoCalvaluna](https://forums.unrealengine.com/u/NemoCalvaluna)\
**Post date:** [June 23, 2026, 11:53pm UTC](https://forums.unrealengine.com/t/pie-error-infinite-loop-detected-blueprint-learningdirector-function-outputs-outputs-is-a-standard-macro/2730928/1 "2026-06-23T23:53:18Z")

</div>

### Summary

UE5.8 is frequently throwing an Infinite Loop error when I attempt to do things. It’s telling me that it originates in the Standard Macros.

### What Type of Bug are you experiencing?

Editor

### Steps to Reproduce

I don’t know why it is or is not happening. I don’t know how to trigger or not trigger it. It’s unpredictable, sometimes happening when I change things and sometimes when I don’t.

### Expected Result

It should run, obviously, without throwing an error that doesn’t exist. Or, barring that, it could give some kind of indication of where in the Begin Chase function it’s breaking. Or, barring that, it could give me SOMETHING to work with instead of just throwing a phantom error and crashing.

### Observed Result

Behold, the crash report. I click the button I’ve made that activates the Begin Chase function, and it immediately crashes. It shows me an error that I’ve copied into the title of this bug report.

### Affects Versions

5.8

### Platform(s)

Windows

### Upload an image

 ![Screenshot 2026-06-23 194054.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/f/9/1f90a109c2968a84b7e9bfe00e928427149c7481.png)

### For crash reports, include your callstack

Script call stack:  
Function /Game/Widgets/LearningControl.LearningControl\_C:BndEvt\_\_LearningControl\_Chase\_K2Node\_ComponentBoundEvent\_1\_OnButtonClickedEvent\_\_DelegateSignature  
Function /Game/Widgets/LearningControl.LearningControl\_C:ExecuteUbergraph\_LearningControl  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Begin Chase  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:Shuffle Positions  
Function /Game/LearningThing/LearningDirector.LearningDirector\_C:ExecuteUbergraph\_LearningDirector

### Additional Notes

Sometimes, it claims that the issue is coming from a For Loop. Sometimes, it claims it comes from Outputs. In both cases, it’s a Standard Macro that it directs me to.

In THIS case, there is a function that is calling itself in certain conditions.  
This function shuffles the position of two units within a given range, and then each unit marks itself ‘ready.’ If there’s no ‘false’ bools in the ‘ready list,’ then everything should be ready, and it’ll start giving the chase commands.

Otherwise, it reshuffles the positions and tries again, until there’s no ‘false’ in the ready list. This isn’t an infinite loop.

---

<div class="post-metadata">

**Author:** ![Husky211](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/husky211/32/1193324_2.png) [@Husky211](https://forums.unrealengine.com/u/Husky211)\
**Post date:** [June 24, 2026, 5:53am UTC](https://forums.unrealengine.com/t/pie-error-infinite-loop-detected-blueprint-learningdirector-function-outputs-outputs-is-a-standard-macro/2730928/2 "2026-06-24T05:53:39Z")

</div>

That’s not a bug; if your branch is true, it enters an infinite loop 👀

---

<div class="post-metadata">

**Author:** ![NemoCalvaluna](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NemoCalvaluna](https://forums.unrealengine.com/u/NemoCalvaluna)\
**Post date:** [July 30, 2026, 12:27am UTC](https://forums.unrealengine.com/t/pie-error-infinite-loop-detected-blueprint-learningdirector-function-outputs-outputs-is-a-standard-macro/2730928/3 "2026-07-30T00:27:00Z")

</div>

Okay. I’ll explain how this works a little more:

Shuffle Positions randomizes the positions of specified characters, then initializes them. After initializing, the characters mark themselves as Ready in the Ready List. The Director checks whether they’re far enough away from each other, and if they are, it marks itself as Ready in the Ready List. There are two characters, and they’re only considered to be too close together if they’re within a couple hundred units of each other - despite having a three thousand unit field to work with. Running the Shuffle Positions function a few times _at most_ gets them to generate far enough apart.

The call record shows that it’s only calling Shuffle Positions once, which is not what should be happening; if there’s a False in the Ready List, it should be running Shuffle Positions _before_ running Begin Chase again. It’s not doing that, so it ends up in an infinite loop that’s only happening because it’s not running a function. Hadn’t actually realized that until now, or I’d have made a thread about _that;_ I was very tired and extremely frustrated.

**But, that is _literally all beside the point._** Whether there’s an infinite loop or not is not the problem I’m reporting here.

The problem that I’m reporting is that UE is telling me that the problem originates in UE’s own code, not the things I’ve made. If it’s accurate, then there’s something wrong with UE’s code. If it’s not, _then there’s something wrong with UE’s code_.

So I guess this is actually a couple bugs. But there’s _definitely_ bugs.
