# Actor Instances Only Woking Sometimes

**URL:** <https://forums.unrealengine.com/t/actor-instances-only-woking-sometimes/390430>\
**Category:** FX\
**Tags:** particle-systems, destroying-actors, unreal-engine, instances, question\
**Created:** [April 9, 2017, 7:07pm UTC](https://forums.unrealengine.com/t/actor-instances-only-woking-sometimes/390430 "2017-04-09T19:07:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![9robin3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@9robin3](https://forums.unrealengine.com/u/9robin3)\
**Post date:** [April 9, 2017, 7:07pm UTC](https://forums.unrealengine.com/t/actor-instances-only-woking-sometimes/390430/1 "2017-04-09T19:07:48Z")

</div>

Hi! I have a strange error I encountered today. I have some actors that works fine when they run their blueprint. These actors works on some maps and on other maps they don’t. Only some instances work, and those that doesn’t only woek sometimes. I have had this trouble a lot before with version 4.11. Is it the engine version or wth is going on? I have tried everything but some actors just keep randomly stop working for no reason whatsoever.

My problem is this:

I have an object called rain box that can be picked up and brought to fires. If the triggerbox on the fire actor collides with the rainbox, the rainbox is dropped, stops simulating physics, the rain particle effect rain is started and after a delay both actors dissapears. My problem is that the rain box doesnt always get destroyed and the rain particle system keeps spawning, for some certain fire instances (or on certain maps?) and this has always worked.

The objects components setup are:

RAINBOX:  
mesh  
rain particle effect  
rain sound

FIRE:  
fire particle effect x5  
fire sound  
triggerbox

Ill post pictures of the collision setup and their blueprints and a video of my problem

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/e/9/9e9e70714892467e681dec5c343f48edef9fd0ea.png)  
  

[https://vid.me/cm74](https://vid.me/cm74)

What am I missing? is this a 4.11 bug?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![9robin3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@9robin3](https://forums.unrealengine.com/u/9robin3)\
**Post date:** [April 9, 2017, 7:16pm UTC](https://forums.unrealengine.com/t/actor-instances-only-woking-sometimes/390430/2 "2017-04-09T19:16:51Z")

</div>

![133524-random4.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/4/f/24ff00df2d3988f9166e9a21e80ad26a00107b89.png)

I also get these errors for the instances that doesnt work

---

<div class="post-metadata">

**Author:** ![CDMcGwire](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cdmcgwire/32/754855_2.png) [@CDMcGwire](https://forums.unrealengine.com/u/CDMcGwire)\
**Post date:** [April 9, 2017, 7:25pm UTC](https://forums.unrealengine.com/t/actor-instances-only-woking-sometimes/390430/3 "2017-04-09T19:25:38Z")

</div>

Based on your error log, it looks like one of your deactivate nodes is failing to find a reference, cause that process chain to halt on an exception, and thus not disable everything.

Make sure you are keeping track of the lifetime of all of those components. Some of them may get destroyed when others are destroyed. I would need more details to know exactly what, but you might be able to figure it out based on that fact.

---

<div class="post-metadata">

**Author:** ![9robin3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@9robin3](https://forums.unrealengine.com/u/9robin3)\
**Post date:** [April 9, 2017, 8:21pm UTC](https://forums.unrealengine.com/t/actor-instances-only-woking-sometimes/390430/4 "2017-04-09T20:21:06Z")

</div>

Okay thanks!

Whenever I linetrace for pickup I save the hit component as a variable (actor reference).

It seems that these problems arrise whenever I release the physics handle and linetrace for something new. Maybe the variable is nulled or something?

Thanks
