How to Fix the Infinite Loop Detected

I’ve been searching for a fix and non have worked. I was even following the Unreal tutorial for an Infinite Runner (Link). But instead of having "turn corners " I wanted to do a True or false question like those Math Runners (Link). But I have been constantly getting the error:

Infinite loop detected. Blueprint: RunGameMode Function: Add Question Call Stack: Show

Here are the Links to the Corresponding blueprints:
RunGamemode - RunGameMode Blueprint (Event Graph) posted by TheXplanations | blueprintUE | PasteBin For Unreal Engine 4
AddFloorTile - AddFloorTile Blueprint posted by TheXplanations | blueprintUE | PasteBin For Unreal Engine 4
AddQuestion - AddQuestion BluePrint posted by TheXplanations | blueprintUE | PasteBin For Unreal Engine 4

I have been following step by step with the Unreal Engine Tutorial also if anyone can give me some pointer as well on setting up those true and false colliders like lost dino will be greatly appreciated

Double check this cast:

You should be casting to Question, not to a Tile. That’s my guess. If the cast fails, the int variable never gets reset.

2 Likes

Thanks alot it is working now.

1 Like