# Accessing Agent from SucceededEvent in interactable\_component disconnects from Fortnite

**URL:** <https://forums.unrealengine.com/t/accessing-agent-from-succeededevent-in-interactable-component-disconnects-from-fortnite/2738720>\
**Category:** Issues and Bug Reporting\
**Tags:** open, fortnite\
**Created:** [July 27, 2026, 10:16pm UTC](https://forums.unrealengine.com/t/accessing-agent-from-succeededevent-in-interactable-component-disconnects-from-fortnite/2738720 "2026-07-27T22:16:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![DruidMechanics](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/druidmechanics/32/752069_2.png) [@DruidMechanics](https://forums.unrealengine.com/u/DruidMechanics)\
**Post date:** [July 27, 2026, 10:16pm UTC](https://forums.unrealengine.com/t/accessing-agent-from-succeededevent-in-interactable-component-disconnects-from-fortnite/2738720/1 "2026-07-27T22:16:36Z")

</div>

### Summary

Accessing the agent in response to SucceededEvent in interaction\_component causes session disconnect.

### Please select what you are reporting on:

Verse

### What Type of Bug are you experiencing?

Scene Graph

### Steps to Reproduce

1. Create a new Verse class based on interactable\_component. Create a callback to subscribe to SucceededEvent, and access the Agent param.

```auto
dm_interaction<public> := class<final_super>(interactable_component):
    OnSucceeded(Agent:agent):void=
        Print("Succeeded.")
    
        if (FortChar := Agent.GetFortCharacter[]):
            DebugDraw := debug_draw{}
            DebugDraw.DrawSphere(
                FortChar.GetGlobalTransform().Translation, 
                ?DrawDurationPolicy := debug_draw_duration_policy.FiniteDuration, 
                ?Color := NamedColors.Red,
                ?Duration := 10.0)
  
    OnBeginSimulation<override>():void =
        (super:)OnBeginSimulation()
        SucceededEvent.Subscribe(OnSucceeded)

```

Fornite session will disconnect, unable to reconnect without closing both Fortnite and UEFN.

[Update]

So it turns out that calling DrawSphere from within the SucceededEvent (either in a callback or using Await) results in overload resolution of the DrawSphere overload that takes the vector3 from the old coordinate system ([UnrealEngine.org/Temporary/SpatialMath](http://UnrealEngine.org/Temporary/SpatialMath)) despite a value being passed in from the new coordinate system ([Verse.org/SpatialMath](http://Verse.org/SpatialMath)). Due to both overloads existing in debug\_draw, passing in either one results in no compilation errors, but the actual overload resolved was the wrong one. Creating a vector from the old coordinate system and passing that in results in the desired result. This is however unexpected behavior still, as overload resolution chooses the wrong overload when passing in a vector3 from Verse.org.SpatialMath while in the SucceededEvent only. The following code compiles and runs as expected (aside from the fact that you must pass in the old vector3 type)  
```

```auto
OnSimulate<override>()<suspends>:void= 

    Agent := SucceededEvent.Await()

    if (FortChar := Agent.GetFortCharacter\[\]):

        FortTransform := FortChar.GetGlobalTransform()

        Translation := FortTransform.Translation

        DrawLocation := vector3{X:= Translation.Forward, Y:= -Translation.Left, Z:= Translation.Up}

        DebugDraw.DrawSphere(

            DrawLocation, 

            ?DrawDurationPolicy := debug_draw_duration_policy.FiniteDuration, 

            ?Color := NamedColors.Red,

            ?Duration := 600.0,

            ?Radius := 50.0)

```

```

[Second Update]

Upon further investigation, the disconnect behaves sporadically, even with the above fix. There seems to be a problem when accessing and using the Agent in the SucceededEvent.

I have found however that creating a suspends functin that sleeps for a single tick before accessing the agent appears to work consistently.

```auto
    OnAgentInteract(Agent:agent)<suspends>:void=
        Sleep(0.0)
        # Use agent here...

    OnSucceeded(Agent:agent):void=
        spawn. OnAgentInteract(Agent)

    OnSimulate<override>()<suspends>:void=
        SucceededEvent.Subscribe(OnSucceeded)

```

There appears to be no unintended effects when accessing and using the agent on the next tick in this manner.

### Expected Result

The Agent should be valid in callbacks subscribed to SucceededEvent.

### Observed Result

Upon interacting with an entity with the interactable\_component, the session is disconnected.

### Platform(s)

windows

---

<div class="post-metadata">

**Author:** ![Flak](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/flak/32/769441_2.png) [@Flak](https://forums.unrealengine.com/u/Flak)\
**Post date:** [July 28, 2026, 12:06pm UTC](https://forums.unrealengine.com/t/accessing-agent-from-succeededevent-in-interactable-component-disconnects-from-fortnite/2738720/2 "2026-07-28T12:06:37Z")

</div>

We’ll get someone to take a look.

---

<div class="post-metadata">

**Author:** ![FragileNucleusGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/fragilenucleusgames/32/1103901_2.png) [@FragileNucleusGames](https://forums.unrealengine.com/u/FragileNucleusGames)\
**Post date:** [July 28, 2026, 1:11pm UTC](https://forums.unrealengine.com/t/accessing-agent-from-succeededevent-in-interactable-component-disconnects-from-fortnite/2738720/4 "2026-07-28T13:11:15Z")

</div>

It’s better to wait a bit. The bug was being discussed on The Lab Discord server, and the issue seems to be with [the LUF variant of `DebugDraw.DrawSphere`](https://discord.com/channels/671569897972695059/1088302778390167562/1531442661935026390).

**Edit:** It’s already updated. 👍

---

<div class="post-metadata">

**Author:** ![DruidMechanics](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/druidmechanics/32/752069_2.png) [@DruidMechanics](https://forums.unrealengine.com/u/DruidMechanics)\
**Post date:** [July 28, 2026, 4:39pm UTC](https://forums.unrealengine.com/t/accessing-agent-from-succeededevent-in-interactable-component-disconnects-from-fortnite/2738720/5 "2026-07-28T16:39:13Z")

</div>

Yes to be clear, my original title for this report assumed the problem was with Agent not being a valid agent object, but that was incorrect. The issue was actually with incorrect overload resolution of DebugDraw.

---

<div class="post-metadata">

**Author:** ![DruidMechanics](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/druidmechanics/32/752069_2.png) [@DruidMechanics](https://forums.unrealengine.com/u/DruidMechanics)\
**Post date:** [July 28, 2026, 7:40pm UTC](https://forums.unrealengine.com/t/accessing-agent-from-succeededevent-in-interactable-component-disconnects-from-fortnite/2738720/8 "2026-07-28T19:40:59Z")

</div>

Edited my original report with additional findings.

---

<div class="post-metadata">

**Author:** ![Bug-Reporter](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bug-reporter/32/1223650_2.png) [@Bug-Reporter](https://forums.unrealengine.com/u/Bug-Reporter)\
**Post date:** [September 28, 2026, 1:02pm UTC](https://forums.unrealengine.com/t/accessing-agent-from-succeededevent-in-interactable-component-disconnects-from-fortnite/2738720/14 "2026-09-28T13:02:22Z")

</div>

FORT-1130875’s status has changed to ‘Ready for QA’. A member of the QA department is investigating the issue.
