# Error with New Locations

**URL:** <https://discourse.cataclysmdda.org/t/error-with-new-locations/11315>\
**Category:** The Drawing Board\
**Created:** [January 28, 2016, 10:41pm UTC](https://discourse.cataclysmdda.org/t/error-with-new-locations/11315 "2016-01-28T22:41:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Survivor\_Kane](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/survivor_kane/32/336_2.png) [@Survivor\_Kane](https://discourse.cataclysmdda.org/u/Survivor_Kane)\
**Post date:** [January 28, 2016, 10:41pm UTC](https://discourse.cataclysmdda.org/t/error-with-new-locations/11315/1 "2016-01-28T22:41:28Z")

</div>

Hello. So, I’m trying to add a new location, a unique building for the player to spawn at. I believe I have coded everything correctly, but I get an error after character creation, just before the game actually begins: DEBUG: not found : (new location id).

---

<div class="post-metadata">

**Author:** ![Coolthulhu](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/coolthulhu/32/2446_2.png) [@Coolthulhu](https://discourse.cataclysmdda.org/u/Coolthulhu)\
**Post date:** [January 28, 2016, 10:48pm UTC](https://discourse.cataclysmdda.org/t/error-with-new-locations/11315/2 "2016-01-28T22:48:33Z")

</div>

Are you starting on a fresh world? Mapgen won’t generate the new locations on an existing one.  
To check if mapgen could even find the location, open debug menu (needs to be bound in keybindings first), then map editor, then mapgen (I think it’s ‘o’) and find the new location. If it isn’t there, it means it isn’t visible to mapgen and thus won’t be generated.

If it’s visible to mapgen and still won’t generate on new maps, it may have too restrictive settings. There is no warning if that happens, it will simply not spawn anywhere.
