# \[Scene Graph\] Subscribing to mesh\_component EntityEntered/ExitedEvent tanks TPS proportional to entities idling inside the volume, with periodic GC spikes (41.00)

**URL:** <https://forums.unrealengine.com/t/scene-graph-subscribing-to-mesh-component-entityentered-exitedevent-tanks-tps-proportional-to-entities-idling-inside-the-volume-with-periodic-gc-spikes-41-00/2727873>\
**Category:** Issues and Bug Reporting\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, SceneGraph, fixed, fortnite, verse\
**Created:** [June 11, 2026, 12:28am UTC](https://forums.unrealengine.com/t/scene-graph-subscribing-to-mesh-component-entityentered-exitedevent-tanks-tps-proportional-to-entities-idling-inside-the-volume-with-periodic-gc-spikes-41-00/2727873 "2026-06-11T00:28:57Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![sonoq](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sonoq/32/1151415_2.png) [@sonoq](https://forums.unrealengine.com/u/sonoq)\
**Post date:** [June 11, 2026, 12:28am UTC](https://forums.unrealengine.com/t/scene-graph-subscribing-to-mesh-component-entityentered-exitedevent-tanks-tps-proportional-to-entities-idling-inside-the-volume-with-periodic-gc-spikes-41-00/2727873/1 "2026-06-11T00:28:57Z")

</div>

### Summary

On 41.00, subscribing to mesh\_component.EntityEnteredEvent / EntityExitedEvent on a detector volume imposes a continuous game-thread (TPS) cost that scales with the number of scene graph entities currently idling inside the volume, not only on enter/exit transitions. With many entities sitting inside, TPS degrades steadily, and on top of that there is a recurring, severe TPS collapse roughly every N × 60s (consistent with the engine’s default GC cycle) whose magnitude also scales with the entity count inside. Removing the .Subscribe(…) calls fully eliminates both the steady cost and the periodic spikes, confirming the subscription itself is the source.

### Please select what you are reporting on:

Verse

### What Type of Bug are you experiencing?

Scene Graph

### Steps to Reproduce

1. Add a scene graph entity with a mesh\_component configured as a detector volume (Collidable + Queryable) (OverlapAll) and attach the detector\_volume\_component below.
2. Add a button + the entity\_spawner\_component below to spawn hundreds of mesh entities inside that volume.
3. Test A (baseline): leave the two Subscribe lines in detector\_volume\_component commented out. Spawn 100–500 entities inside the volume. Note TPS via stat unit it stays healthy.
4. Test B (bug): uncomment the two Subscribe lines, relaunch, spawn the same entities inside. The entities just idle (no enter/exit firing).
5. Observe the TPS.

### Expected Result

Subscribing to the overlap events should only incur cost when entities actually cross the volume boundary. Entities idling inside, with no transitions occurring, should impose no recurring per-tick cost beyond normal idle-entity cost, and should not amplify garbage collection.

### Observed Result

1. With the subscriptions active, TPS drops continuously while entities idle inside, scaling with the number of entities inside.
2. A severe TPS collapse recurs roughly every N × 60s (consistent with the default ~30–60s GC interval); magnitude scales with entity count inside, suggesting per-tick garbage is generated/retained per contained entity and released in bulk at GC time.
3. Commenting out .Subscribe(…) calls removes both the steady cost and the spikes entirely.

### Platform(s)

PC - UEFN edit session and UEFN live published session

### Additional Notes

**Reproduction code**

Detector volume — toggle the two `Subscribe` lines to switch between baseline (Test A) and bug (Test B):

```verse
using { /Verse.org/SceneGraph }
using { /Verse.org/Simulation }

detector_volume_component<public> := class<final_super>(component):
    OnBeginSimulation<override>():void=
        if (MeshComp := Entity.GetComponent[mesh_component]):
            # COMMENTED OUT = baseline (Test A): TPS stays healthy no matter how many
            # entities idle inside the volume.
            # UNCOMMENTED = bug (Test B): per-tick TPS cost scales with the number of
            # entities currently inside, even though no enter/exit is happening, plus
            # a recurring TPS collapse roughly every N*60s.
            MeshComp.EntityEnteredEvent.Subscribe(OnEntityEntered)
            MeshComp.EntityExitedEvent.Subscribe(OnEntityExited)

    OnEntityEntered(EnteredEntity : entity): void =
        Print("Entity Entered Volume")

    OnEntityExited(ExitedEntity : entity): void =
        Print("Entity Exited Volume")

```

Entity spawner — press a button to spawn `SpawnAmount` mesh entities inside the volume (replace `YOUR_MESH_HERE` with any mesh asset set Collidable + Queryable so it registers with the detector):

```verse
using { /Verse.org/Simulation }
using { /Verse.org/SceneGraph }
using { /Verse.org/SpatialMath }
using { /Fortnite.com/Devices }

entity_spawner_component<public> := class<final_super>(component):

    @editable
    ButtonToListenTo : button_device = button_device{}

    @editable
    SpawnAmount : int = 100

    var HeightOffset : float = 0.0

    OnSimulate<override>()<suspends>:void=
        ButtonToListenTo.InteractedWithEvent.Subscribe(OnInteracted)

    OnInteracted(Agent:agent):void=
        if (ParentSimEntity := Entity.GetSimulationEntity[]):
            set HeightOffset = HeightOffset + 100.0
            for (I := 1..SpawnAmount):
                NewChildEntity := entity{}
                ForwardOffset := 100.0 * I
                NewTransform := transform_component:
                    Entity := NewChildEntity
                    LocalTransform := transform:
                        Translation := vector3{Forward := ForwardOffset, Left := 0.0, Up := HeightOffset}
                # Replace with your own mesh component / mesh asset (Collidable + Queryable).
                MeshComp := YOUR_MESH_HERE{Entity := NewChildEntity}
                NewChildEntity.AddComponents(array{ NewTransform, MeshComp })
                ParentSimEntity.AddEntities(array{NewChildEntity})

```

---

<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:** [June 11, 2026, 2:27pm UTC](https://forums.unrealengine.com/t/scene-graph-subscribing-to-mesh-component-entityentered-exitedevent-tanks-tps-proportional-to-entities-idling-inside-the-volume-with-periodic-gc-spikes-41-00/2727873/3 "2026-06-11T14:27:19Z")

</div>

Could we get an island code or project ID from you, @sonoq?

---

<div class="post-metadata">

**Author:** ![sonoq](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sonoq/32/1151415_2.png) [@sonoq](https://forums.unrealengine.com/u/sonoq)\
**Post date:** [June 11, 2026, 3:30pm UTC](https://forums.unrealengine.com/t/scene-graph-subscribing-to-mesh-component-entityentered-exitedevent-tanks-tps-proportional-to-entities-idling-inside-the-volume-with-periodic-gc-spikes-41-00/2727873/5 "2026-06-11T15:30:38Z")

</div>

Project ID: 38a174ed-4848-9dd3-7261-a6978e5aba4d  
Private Version: **0379-4036-5887**

---

<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:** [June 11, 2026, 4:16pm UTC](https://forums.unrealengine.com/t/scene-graph-subscribing-to-mesh-component-entityentered-exitedevent-tanks-tps-proportional-to-entities-idling-inside-the-volume-with-periodic-gc-spikes-41-00/2727873/6 "2026-06-11T16:16:56Z")

</div>

Thank you so much, @sonoq

---

<div class="post-metadata">

**Author:** ![Senix](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/senix/32/705104_2.png) [@Senix](https://forums.unrealengine.com/u/Senix)\
**Post date:** [June 12, 2026, 2:21pm UTC](https://forums.unrealengine.com/t/scene-graph-subscribing-to-mesh-component-entityentered-exitedevent-tanks-tps-proportional-to-entities-idling-inside-the-volume-with-periodic-gc-spikes-41-00/2727873/7 "2026-06-12T14:21:37Z")

</div>

We’re having the same problem.

---

<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:** [June 16, 2026, 8:00pm UTC](https://forums.unrealengine.com/t/scene-graph-subscribing-to-mesh-component-entityentered-exitedevent-tanks-tps-proportional-to-entities-idling-inside-the-volume-with-periodic-gc-spikes-41-00/2727873/10 "2026-06-16T20:00:30Z")

</div>

FORT-1116222 is ‘Closed’ as ‘Fixed’. The issue will be addressed in 41.00.

---

<div class="post-metadata">

**Author:** ![RiYAN](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/riyan/32/1062903_2.png) [@RiYAN](https://forums.unrealengine.com/u/RiYAN)\
**Post date:** [June 16, 2026, 11:04pm UTC](https://forums.unrealengine.com/t/scene-graph-subscribing-to-mesh-component-entityentered-exitedevent-tanks-tps-proportional-to-entities-idling-inside-the-volume-with-periodic-gc-spikes-41-00/2727873/11 "2026-06-16T23:04:54Z")

</div>

Bot says “the issue will be addressed in 41.00”. What’s up with that?

---

<div class="post-metadata">

**Author:** ![SW\_Valentin](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sw_valentin/32/1078478_2.png) [@SW\_Valentin](https://forums.unrealengine.com/u/SW_Valentin)\
**Post date:** [August 26, 2026, 8:12am UTC](https://forums.unrealengine.com/t/scene-graph-subscribing-to-mesh-component-entityentered-exitedevent-tanks-tps-proportional-to-entities-idling-inside-the-volume-with-periodic-gc-spikes-41-00/2727873/12 "2026-08-26T08:12:10Z")

</div>

Still an issue in 42.00, I came to the same conclusions as in the first post.

---

<div class="post-metadata">

**Author:** ![sonoq](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sonoq/32/1151415_2.png) [@sonoq](https://forums.unrealengine.com/u/sonoq)\
**Post date:** [August 28, 2026, 5:06pm UTC](https://forums.unrealengine.com/t/scene-graph-subscribing-to-mesh-component-entityentered-exitedevent-tanks-tps-proportional-to-entities-idling-inside-the-volume-with-periodic-gc-spikes-41-00/2727873/13 "2026-08-28T17:06:33Z")

</div>

Confirmed this is still an issue
