# Can't Destroy actors in "Run on Owning Client"

**URL:** <https://forums.unrealengine.com/t/cant-destroy-actors-in-run-on-owning-client/540700>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [April 27, 2022, 2:43am UTC](https://forums.unrealengine.com/t/cant-destroy-actors-in-run-on-owning-client/540700 "2022-04-27T02:43:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![user\_e1e82e24d87d2a97544f9d9e9e9e340e2626be24aabba48baa57eb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@user\_e1e82e24d87d2a97544f9d9e9e9e340e2626be24aabba48baa57eb](https://forums.unrealengine.com/u/user_e1e82e24d87d2a97544f9d9e9e9e340e2626be24aabba48baa57eb)\
**Post date:** [April 27, 2022, 2:43am UTC](https://forums.unrealengine.com/t/cant-destroy-actors-in-run-on-owning-client/540700/1 "2022-04-27T02:43:03Z")

</div>

hey guys.  
i’m in trouble with destroy actors in “Run on Owning Client”

Before i’ve solved spawn/destroy rpc in Multicast but Owning client is more complicated to me.

In Multicast, I used to set destroy logics in my Controller, spawn logics in Character.  
It works 🙂

Also I know Spawn/Destroy just can be activate on the Server ( I don’t need to set on Client)  
because it works well only on the server!

In my case,  
I set the spawn nodes(Owning client] in Controller, destroy(Owning client) nodes in Controller too.  
but it doesn’t works…

Any Advise?

I want to spawn/destroy actors only the client.  
Not Multicast …

Many RPG games are using this logics in Quest item drop/use or something.

---

<div class="post-metadata">

**Author:** ![isikdev](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/isikdev/32/991020_2.png) [@isikdev](https://forums.unrealengine.com/u/isikdev)\
**Post date:** [April 27, 2022, 3:00am UTC](https://forums.unrealengine.com/t/cant-destroy-actors-in-run-on-owning-client/540700/2 "2022-04-27T03:00:01Z")

</div>

Try setting the “Replicates” setting off before destroying the actor. Not really the best way to do it but might work. Idk, its 6 AM why am I in the forums. 😅

Check these out:

> [@Pass Client Variable to Server?](https://forums.unrealengine.com/t/pass-client-variable-to-server/97485):
>
> Hi I’ve posted this same question on the help site but it hasn’t been getting any views so I figured here is a better spot to ask. All I’m trying to do is get the client to update the rendertext for all other clients. So far only the server can do it. This is the question: I have a 3D widget that I type stuff into. The stuff I type triggers this event here on another BP and sets a render text to show what I typed via the server for all clients to see. what happens is the text does not ge…

> [@Destroy an actor per client?](https://forums.unrealengine.com/t/destroy-an-actor-per-client/441186):
>
> Hello all and have a good year ! slight_smile I have a question : How to destroy an actor per client on a dedicated server ? I mean when THIS player (thirdpersoncharacter) destroy a specified actor (With Overlap), it’s not destruct for others. I’ve test a lot of solution with custom events but i definitely don’t find … Thanks you very much !

---

<div class="post-metadata">

**Author:** ![user\_e1e82e24d87d2a97544f9d9e9e9e340e2626be24aabba48baa57eb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@user\_e1e82e24d87d2a97544f9d9e9e9e340e2626be24aabba48baa57eb](https://forums.unrealengine.com/u/user_e1e82e24d87d2a97544f9d9e9e9e340e2626be24aabba48baa57eb)\
**Post date:** [April 27, 2022, 8:38am UTC](https://forums.unrealengine.com/t/cant-destroy-actors-in-run-on-owning-client/540700/3 "2022-04-27T08:38:27Z")

</div>

i’ve solved it. Just not to set “Owning Client” Logic in controller and don’t use “Owning Client” in this case. I used custom event 🙂 This issue is to Player\_Controller always replicates to server maybe… so I just set own logics where i supposed to set. Your hint setting off “Replicates” is helpful.

---

<div class="post-metadata">

**Author:** ![isikdev](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/isikdev/32/991020_2.png) [@isikdev](https://forums.unrealengine.com/u/isikdev)\
**Post date:** [April 27, 2022, 4:31pm UTC](https://forums.unrealengine.com/t/cant-destroy-actors-in-run-on-owning-client/540700/4 "2022-04-27T16:31:35Z")

</div>

Glad you got it to work.
