# Actors doesn't want to spawn on a Landscape

**URL:** <https://forums.unrealengine.com/t/actors-doesnt-want-to-spawn-on-a-landscape/493464>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [February 2, 2022, 5:19pm UTC](https://forums.unrealengine.com/t/actors-doesnt-want-to-spawn-on-a-landscape/493464 "2022-02-02T17:19:15Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Emil\_J](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/emil_j/32/1076360_2.png) [@Emil\_J](https://forums.unrealengine.com/u/Emil_J)\
**Post date:** [February 2, 2022, 5:19pm UTC](https://forums.unrealengine.com/t/actors-doesnt-want-to-spawn-on-a-landscape/493464/1 "2022-02-02T17:19:15Z")

</div>

So I got a landscape setup with a working, built navmesh. From what I can see the landscapes collision is set to **Block all**.  
But when I try to spawn a few groups of NPCs on top of it nothing happens.

I’m using the following script to spawn them, based inputs from an object placed in the world (in a valid spot above the landscape)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/4/c/84c8069a74a685c1a9f18c42492d2a27d0afd087.png)

This works fine if I spawn them in my test area where the ground is just a big flat box. But if I move it over to the landscape it’s just a big “Nope!”

Any ideas of where I should look?

---

<div class="post-metadata">

**Author:** ![OmegaMinus1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/omegaminus1/32/252513_2.png) [@OmegaMinus1](https://forums.unrealengine.com/u/OmegaMinus1)\
**Post date:** [February 2, 2022, 5:52pm UTC](https://forums.unrealengine.com/t/actors-doesnt-want-to-spawn-on-a-landscape/493464/2 "2022-02-02T17:52:57Z")

</div>

You could debug the Return Value on LineTraceByChannel  
Print String would show True or False  
If this is false over the terrain then it is not providing good values for the break hit node  
If this is true over terrain then try adding positive Z offset to BreakNodes Location wire so you are not to low on your spawn

---

<div class="post-metadata">

**Author:** ![Emil\_J](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/emil_j/32/1076360_2.png) [@Emil\_J](https://forums.unrealengine.com/u/Emil_J)\
**Post date:** [February 2, 2022, 7:21pm UTC](https://forums.unrealengine.com/t/actors-doesnt-want-to-spawn-on-a-landscape/493464/3 "2022-02-02T19:21:58Z")

</div>

Tried both.  
The print come out as true.  
And the line trace debug view shows this  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/0/1/d01c81fc5f737c66bfd9b2832758e5323b886dd2.jpeg)  
So it should get a valid location from the trace.

I’ve also tried to offset the Z-value with both 50 and 100 units, but without any success.

EDIT:  
Did a new try where I added a Block to the area where I want to spawn them, but the result is the same. No actors spawned (Tried with both an offset of 0 and 100)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/e/9/de9cad1fa7c0aa8e18300ade481e231187a73148.jpeg)

EDIT2:  
The rotation casued some issues.  
But there’s something with the terrain causing the real issue.  
If I raised the block a few meters into the air the squad spawning there spawn just fine.  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/0/9/d091982b65cb1960e07502be999ffa04d0d40ddc.jpeg)  
And If I lower the block so it is more or less level with the terrain, the same squad doesn’t spawn in.

---

<div class="post-metadata">

**Author:** ![JstPatrick](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JstPatrick](https://forums.unrealengine.com/u/JstPatrick)\
**Post date:** [February 2, 2022, 9:40pm UTC](https://forums.unrealengine.com/t/actors-doesnt-want-to-spawn-on-a-landscape/493464/4 "2022-02-02T21:40:32Z")

</div>

The Pawns won’t spawn if they’re already colliding with something. Landscape collision isn’t always exact so the actors are most likely accidentally colliding with the landscape which means they won’t spawn. That SpawnAIFromClass node has that bool “NoCollisionFail”. Check that and they should spawn regardless of colliding or not. Hope that works.

---

<div class="post-metadata">

**Author:** ![Emil\_J](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/emil_j/32/1076360_2.png) [@Emil\_J](https://forums.unrealengine.com/u/Emil_J)\
**Post date:** [February 3, 2022, 10:19am UTC](https://forums.unrealengine.com/t/actors-doesnt-want-to-spawn-on-a-landscape/493464/5 "2022-02-03T10:19:18Z")

</div>

I’ve tried having “NoCollisionFail” both on and off, but neither works. And since the squadon the block fails when it is close to the ground, but spawns if I rise the block up a bit.  
Could it be any volume or something I’m missing?

And If I look at the Collision view

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/3/4/1342bc2fbb89d9b203857bd19ef2d053fd65def2.png)  
I can’t really see anything that would make it fail either

And the navemsh looks good.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/6/2/362e3b94e484e185671a59c78f7e8271f086b0ad.jpeg)

---

<div class="post-metadata">

**Author:** ![Emil\_J](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/emil_j/32/1076360_2.png) [@Emil\_J](https://forums.unrealengine.com/u/Emil_J)\
**Post date:** [February 3, 2022, 10:52am UTC](https://forums.unrealengine.com/t/actors-doesnt-want-to-spawn-on-a-landscape/493464/6 "2022-02-03T10:52:11Z")

</div>

Alright. New test. Copy pasted squad spawn and box. No changes to the script. Clearly there’s something I’m missing in the level.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/f/6/cf6d5eff127802573f6e8666119458b8f9259ad4.jpeg)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/b/b/abbdba13760297a8a174c44fd118f10e2ef9af15.jpeg)

If the squadspawn ends up below -1000 units in z it seem to stop working.

---

<div class="post-metadata">

**Author:** ![JstPatrick](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JstPatrick](https://forums.unrealengine.com/u/JstPatrick)\
**Post date:** [February 4, 2022, 12:36am UTC](https://forums.unrealengine.com/t/actors-doesnt-want-to-spawn-on-a-landscape/493464/7 "2022-02-04T00:36:43Z")

</div>

OH! I think I actually know this time lol (Sorry my last suggestion was lame).

So in the World Settings, there is a property called “Kill Z”. Anything below the kill z value will be “killed” off. In your editor, go to Window \>\> World Settings and make sure its displayed. It is usually found over on the right under the world outliner. If you set it to the default (-1048575.0) you should hopefully be rid of this issue.

 ![killz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/7/2/b7232f083556da0613954f2e02f7fe7d92f8d76e.png)

---

<div class="post-metadata">

**Author:** ![Emil\_J](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/emil_j/32/1076360_2.png) [@Emil\_J](https://forums.unrealengine.com/u/Emil_J)\
**Post date:** [February 4, 2022, 10:51am UTC](https://forums.unrealengine.com/t/actors-doesnt-want-to-spawn-on-a-landscape/493464/8 "2022-02-04T10:51:21Z")

</div>

Yes that did it! Thank you very much!

Once again UE baffels me with strange limitations.

---

<div class="post-metadata">

**Author:** ![JstPatrick](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JstPatrick](https://forums.unrealengine.com/u/JstPatrick)\
**Post date:** [February 8, 2022, 6:09am UTC](https://forums.unrealengine.com/t/actors-doesnt-want-to-spawn-on-a-landscape/493464/9 "2022-02-08T06:09:40Z")

</div>

Awesome. Glad that helped.

---

<div class="post-metadata">

**Author:** ![Hex\_Leumas](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hex\_Leumas](https://forums.unrealengine.com/u/Hex_Leumas)\
**Post date:** [December 10, 2025, 1:28am UTC](https://forums.unrealengine.com/t/actors-doesnt-want-to-spawn-on-a-landscape/493464/10 "2025-12-10T01:28:45Z")

</div>

Literally logged in to reply - absolute LEGEND, THANK YOU! I was tearing my hair out trying to figure out why the hell my stuff was “spawning” but seemed to be instantly disapearing without a trace.
