Description

This issue occurs when placing a breakpoint inside a loop in a blueprint's Event Graph or Function Graph. The breakpoint is only triggered once, even though the loop should continue executing. When the breakpoint is hit, and the "Continue" option is clicked, the loop ends without hitting the breakpoint again in subsequent iterations.This behavior is observed in default template blueprints, such as BP_FirstPersonCharacter or BP_FirstPersonProjectile in the First Person Shooter (FPS) template, and in Level Blueprints. However, when tested on newly created blueprints for the project, the issue does not occur.

Steps to Reproduce
  1. Create a new project using First Person Shooter template.
  2. In an existing blueprint, such as BP_FirstPersonCharacter or Level Blueprint, create a basic For Loop inside an Event Graph or Function Graph.
  3. Add a node to the loop body (e.g., Print String node).
  4. Place a breakpoint on the node inside the loop.
  5. Play in Editor and trigger the event or function that runs the loop during gameplay.
  6. When the breakpoint is hit for the first time, click the "Continue" button.
    1. Observe: that the loop does not pause again and exits after the first hit.
    2. Expected: execution halts on every iteration of the for-loop

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-228269 in the post.

5
Login to Vote

Unresolved
ComponentUE - Gameplay - Blueprint Runtime
Affects Versions5.45.3
Target Fix5.6
CreatedOct 18, 2024
UpdatedOct 31, 2024
View Jira Issue