R898 Hearthlings spawning on unreachable locations (above mountains etc) when banner is underground

The title says it all. Sorry. :forlorn:

That can’t be. Do you have a screenshot of the case? :thinking:
Make sure you don’t have any mod conflicts.

The location for spawning immigrants has changed, it should never pick the same block where the banner is, unless the banner is 1 block down surrounded by 1 block high terrain, which is not possible to do unless you use debugtools, because hearthlings need to stand at the same level next to where they place items. :thinking:

I tried to reproduce it but they spawned far away. So a screenshot or something to see the underground area and where the banner was placed would help. Is that on an old savefile or a new game?

1 Like

Ah, I just saw your post on Steam. So it didn’t spawn on top of the banner, but rather got pushed above the terrain?

1 Like

Yes he got pushed above the terrain.

It’s a brand new game which I just started today. I’ve already moved the hearthling with teleport. It’s possible it’s mod related as I threw a bunch on just for funsies. Here’s the save.

1537376904403.zip (4.6 MB)

1 Like

Here’s a new save with my latest Hearthling spawning on the terrain above my flag which is placed underground. 1537529413778.zip (4.9 MB)

1 Like

I will change the title of the report, this is different from the bug we fixed. :thinking:

When we changed the spawn code to be more performant, it meant that it would always find a location to spawn enemies, but that location didn’t need to be reachable.

For hearthlings, we tried to make them spawn close/around the banner if the scenario from that bug happened (choosing the spot where the banner is as the spawn location), but apparently it can still include unreachable locations.

1 Like