# Mining overlapped actors, mechanic works, but I'm getting errors (arrays)

**URL:** <https://forums.unrealengine.com/t/mining-overlapped-actors-mechanic-works-but-im-getting-errors-arrays/2725934>\
**Category:** Blueprint\
**Tags:** arrays, unreal-engine, Array, question, Blueprint\
**Created:** [June 2, 2026, 8:18pm UTC](https://forums.unrealengine.com/t/mining-overlapped-actors-mechanic-works-but-im-getting-errors-arrays/2725934 "2026-06-02T20:18:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Flyin\_Guy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Flyin\_Guy](https://forums.unrealengine.com/u/Flyin_Guy)\
**Post date:** [June 2, 2026, 8:18pm UTC](https://forums.unrealengine.com/t/mining-overlapped-actors-mechanic-works-but-im-getting-errors-arrays/2725934/1 "2026-06-02T20:18:43Z")

</div>

I’ve been messing with a little project for fun, and my mining on left click mechanic works, but I am getting errors.

Here is the blueprint (be gentle, I’m learning still) and the errors

 ![error](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/6/3/16382d1f7fecfad4bf1ca8b7dac4c9e7daff0468.png)

 ![blueprint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/4/f/44ff782196d5c1031165bd7b69963bd329266e34.png)

---

<div class="post-metadata">

**Author:** ![Light\_Shock](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/light_shock/32/1194530_2.png) [@Light\_Shock](https://forums.unrealengine.com/u/Light_Shock)\
**Post date:** [June 3, 2026, 5:47am UTC](https://forums.unrealengine.com/t/mining-overlapped-actors-mechanic-works-but-im-getting-errors-arrays/2725934/2 "2026-06-03T05:47:36Z")

</div>

Might be that the issue is that the BPblock spawn basic is being scheduled for destroy. Do you have some other code outside of this that is deleting them? Destroys are scheduled not instant so it is possible that the trace is picking up an object that has been scheduled for destruction but has not died yet?

---

<div class="post-metadata">

**Author:** ![Flyin\_Guy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Flyin\_Guy](https://forums.unrealengine.com/u/Flyin_Guy)\
**Post date:** [June 3, 2026, 8:03am UTC](https://forums.unrealengine.com/t/mining-overlapped-actors-mechanic-works-but-im-getting-errors-arrays/2725934/3 "2026-06-03T08:03:32Z")

</div>

I think I was just overcomplicating things with the overlapping arrays, as the following blueprint works exactly the same, but has no errors.

 ![solution](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/3/1/33181077d9f22d010b312f2847142fd2689d6f3e.png)
