# How to make the Actor generated by spawnActor be unloaded in the World Partition 

**URL:** <https://forums.unrealengine.com/t/how-to-make-the-actor-generated-by-spawnactor-be-unloaded-in-the-world-partition/2658467>\
**Category:** Game Production\
**Tags:** unreal-engine, question\
**Created:** [September 20, 2025, 1:12pm UTC](https://forums.unrealengine.com/t/how-to-make-the-actor-generated-by-spawnactor-be-unloaded-in-the-world-partition/2658467 "2025-09-20T13:12:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![caoshen666666](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@caoshen666666](https://forums.unrealengine.com/u/caoshen666666)\
**Post date:** [September 20, 2025, 1:12pm UTC](https://forums.unrealengine.com/t/how-to-make-the-actor-generated-by-spawnactor-be-unloaded-in-the-world-partition/2658467/1 "2025-09-20T13:12:42Z")

</div>

I need help

---

<div class="post-metadata">

**Author:** ![Anuj\_Abhiwan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anuj\_Abhiwan](https://forums.unrealengine.com/u/Anuj_Abhiwan)\
**Post date:** [October 3, 2025, 12:47pm UTC](https://forums.unrealengine.com/t/how-to-make-the-actor-generated-by-spawnactor-be-unloaded-in-the-world-partition/2658467/2 "2025-10-03T12:47:03Z")

</div>

Use the `Unload` or `MarkForGarbageCollection` functions on the spawned actor and ensure it’s in a runtime-loaded cell of the World Partition to allow unloading.
