# Dynamic Generated Mesh spams overlap events

**URL:** <https://forums.unrealengine.com/t/dynamic-generated-mesh-spams-overlap-events/1795073>\
**Category:** Programming & Scripting\
**Tags:** procedural-mesh-comp, unreal-engine, Blueprint, question\
**Created:** [April 9, 2024, 5:51am UTC](https://forums.unrealengine.com/t/dynamic-generated-mesh-spams-overlap-events/1795073 "2024-04-09T05:51:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Great\_Elector1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Great\_Elector1](https://forums.unrealengine.com/u/Great_Elector1)\
**Post date:** [April 9, 2024, 5:51am UTC](https://forums.unrealengine.com/t/dynamic-generated-mesh-spams-overlap-events/1795073/1 "2024-04-09T05:51:39Z")

</div>

I am trying to have a dynamic mesh generate overlap events for pawns; when a pawn moves within the shape, the BeginOverlap and EndOverlap events get spammed. I want the events to trigger only once, when the pawn enters the shape and exits the shape.

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [April 9, 2024, 7:51am UTC](https://forums.unrealengine.com/t/dynamic-generated-mesh-spams-overlap-events/1795073/2 "2024-04-09T07:51:26Z")

</div>

> [@Great\_Elector1](#):
>
> the BeginOverlap and EndOverlap events get spammed

- what is a “dynamic” mesh here? a mesh spawned at run-time? just a component? full actor?
- does the spam manifest only with those _dynamically_ (?) generated meshes?
- how many times? how spammy?
- the pawn may have something attached to it that triggers additional overlaps
- the pawn’s own components may have separate collision set to overlap

Print `Display Names` of the overlapping entities to find out what is going on.

* * *

Somewhat similar behaviour, give it a skim - see if it makes any sense:

> [@Sound won't stop](https://forums.unrealengine.com/t/sound-wont-stop/1793745/7):
>
> This is what I got [image] m\_med\_nrw\_body Flashlight that I have now updated to no collide

---

<div class="post-metadata">

**Author:** ![Great\_Elector1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Great\_Elector1](https://forums.unrealengine.com/u/Great_Elector1)\
**Post date:** [April 9, 2024, 7:52pm UTC](https://forums.unrealengine.com/t/dynamic-generated-mesh-spams-overlap-events/1795073/3 "2024-04-09T19:52:43Z")

</div>

It is a Generated Dynamic Mesh Actor in the shape of a torus.

I have a regular sphere collision that works as expected with the same pawn.

I set it to count and display each time it triggers, seems to be ~100 times every ~2 seconds give or take.

The dynamic mesh collision is set to overlap only pawns. The pawn capsule component is the only thing that generates overlap in the pawn, and if I disable that then no overlap events happen. When overlap triggers, if I print the Other Actor or Other Component it will only print the pawn name or capsule component of that pawn.
