# Node only runs when breakpoint is active

**URL:** <https://forums.unrealengine.com/t/node-only-runs-when-breakpoint-is-active/1268283>\
**Category:** Blueprint\
**Tags:** breakpoint, unreal-engine, question, Blueprint\
**Created:** [August 21, 2023, 11:34pm UTC](https://forums.unrealengine.com/t/node-only-runs-when-breakpoint-is-active/1268283 "2023-08-21T23:34:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zonfar2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zonfar2](https://forums.unrealengine.com/u/zonfar2)\
**Post date:** [August 21, 2023, 11:34pm UTC](https://forums.unrealengine.com/t/node-only-runs-when-breakpoint-is-active/1268283/1 "2023-08-21T23:34:03Z")

</div>

This is an odd issue I’m having with using a break point. When the break point is on, my event triggers (spawning in a new player) when the break point is off, the event does not trigger. What in the world might cause something like this to happen!? XD

[https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/9/b/b9b2f4be8b2c243b946a4136e0eee3dafdfc8b11.mp4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/9/b/b9b2f4be8b2c243b946a4136e0eee3dafdfc8b11.mp4)

---

<div class="post-metadata">

**Author:** ![nikita.aksenov](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nikita.aksenov](https://forums.unrealengine.com/u/nikita.aksenov)\
**Post date:** [August 22, 2023, 6:56am UTC](https://forums.unrealengine.com/t/node-only-runs-when-breakpoint-is-active/1268283/2 "2023-08-22T06:56:37Z")

</div>

Hi!

I think this could happen because when breakpoint is on there are delay before execution continues. Without breakpoint there are no delay, node executes ASAP and maybe some needed objects are not initialized.

Can you try and add “Delay” node before creating new player node and check if it helps?

---

<div class="post-metadata">

**Author:** ![zonfar2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zonfar2](https://forums.unrealengine.com/u/zonfar2)\
**Post date:** [August 23, 2023, 6:03pm UTC](https://forums.unrealengine.com/t/node-only-runs-when-breakpoint-is-active/1268283/3 "2023-08-23T18:03:35Z")

</div>

You are right! I needed a delay on my gamemode before I spawn in players, because gamemode is trying to spawn its own player system im assuming, and that was getting in the way of adding input mapping.

Love it when spending 10 hours trying to find the cause of the issue, was just a delay needed XD

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [September 22, 2023, 6:04pm UTC](https://forums.unrealengine.com/t/node-only-runs-when-breakpoint-is-active/1268283/4 "2023-09-22T18:04:19Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
