# \[Update: Solved!\] Mission Lab Error leading to buggy security glitch that makes game unplayable

**URL:** <https://discourse.cataclysmdda.org/t/update-solved-mission-lab-error-leading-to-buggy-security-glitch-that-makes-game-unplayable/26914>\
**Category:** The Garage\
**Created:** [August 27, 2021, 2:42am UTC](https://discourse.cataclysmdda.org/t/update-solved-mission-lab-error-leading-to-buggy-security-glitch-that-makes-game-unplayable/26914 "2021-08-27T02:42:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![indestructiblelion](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/indestructiblelion/32/5541_2.png) [@indestructiblelion](https://discourse.cataclysmdda.org/u/indestructiblelion)\
**Post date:** [August 27, 2021, 2:42am UTC](https://discourse.cataclysmdda.org/t/update-solved-mission-lab-error-leading-to-buggy-security-glitch-that-makes-game-unplayable/26914/1 "2021-08-27T02:42:45Z")

</div>

Hey everyone!

So I’m clearing out a mansion and on the surface this error popped up:

DEBUG : Unable to find and assign mission target lab\_CORE\_2x1\_EC\_ground.

FUNCTION : cata::optional\<coords::coord\_point\<tripoint, (coords::origin)1, (coords::scale)2\> \> find\_or\_create\_om\_terrain(const tripoint\_abs\_omt&, const mission\_target\_params&)  
FILE : src/mission\_util.cpp  
LINE : 251  
VERSION : a7d487b

After this the message “Remain in place, unauthorized person. Security has been activated.” plays many times each round, making moving even a step take forever. I will try to change to an older version of the game to see if that fixes it. Please let me know if you need more information and I will send it. 😃’

[Update:] I confirmed this error does not pop up with the experimental version 6 days ago (2021-08-20-2255). I will keep playing with this version.

---

<div class="post-metadata">

**Author:** ![Victor](https://avatars.discourse-cdn.com/v4/letter/v/3e96dc/32.png) [@Victor](https://discourse.cataclysmdda.org/u/Victor)\
**Post date:** [August 28, 2021, 9:58am UTC](https://discourse.cataclysmdda.org/t/update-solved-mission-lab-error-leading-to-buggy-security-glitch-that-makes-game-unplayable/26914/2 "2021-08-28T09:58:58Z")

</div>

There is a bug on that, currently open: [Updating to experimental 2021-08-21-2314 causes many errors every move in recent experimental world/saves, but not world/save from 0.F stable · Issue #50977 · CleverRaven/Cataclysm-DDA · GitHub](https://github.com/CleverRaven/Cataclysm-DDA/issues/50977)

---

<div class="post-metadata">

**Author:** ![Turn478](https://avatars.discourse-cdn.com/v4/letter/t/ecb155/32.png) [@Turn478](https://discourse.cataclysmdda.org/u/Turn478)\
**Post date:** [August 28, 2021, 11:07am UTC](https://discourse.cataclysmdda.org/t/update-solved-mission-lab-error-leading-to-buggy-security-glitch-that-makes-game-unplayable/26914/3 "2021-08-28T11:07:43Z")

</div>

The save edit solution listed in the PR will work to fix your save game as well.

---

<div class="post-metadata">

**Author:** ![Malkeus](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/malkeus/32/12037_2.png) [@Malkeus](https://discourse.cataclysmdda.org/u/Malkeus)\
**Post date:** [August 29, 2021, 4:38am UTC](https://discourse.cataclysmdda.org/t/update-solved-mission-lab-error-leading-to-buggy-security-glitch-that-makes-game-unplayable/26914/4 "2021-08-29T04:38:23Z")

</div>

Thanks for mentioning the fix, I thought I’d lost another world to the Experimental beast. Op made me aware it was a glitch and not a mod problem like I thought.

---

<div class="post-metadata">

**Author:** ![indestructiblelion](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/indestructiblelion/32/5541_2.png) [@indestructiblelion](https://discourse.cataclysmdda.org/u/indestructiblelion)\
**Post date:** [August 31, 2021, 10:39pm UTC](https://discourse.cataclysmdda.org/t/update-solved-mission-lab-error-leading-to-buggy-security-glitch-that-makes-game-unplayable/26914/5 "2021-08-31T22:39:27Z")

</div>

I tried the fix mentioned here and it worked. I will outline more specifically what I did so that it’s easier for others to understand:

Follow the link ([Updating to experimental 2021-08-21-2314 causes many errors every move in recent experimental world/saves, but not world/save from 0.F stable · Issue #50977 · CleverRaven/Cataclysm-DDA · GitHub](https://github.com/CleverRaven/Cataclysm-DDA/issues/50977)) and scroll down to post mentioning the deleting of “‘queued\_effect\_on\_conditions’ entries”. Then go into your CDDA save folder and look for the .sav file that has a long/weird name. I edited it with Visual Code Studio, but any text editor should work. Then delete the entries mentioned, save the file, and then load your game.

I made a backup of the file before I edited it, but there were no issues and everything works great again! 😃

---

<div class="post-metadata">

**Author:** ![Rand](https://avatars.discourse-cdn.com/v4/letter/r/ebca7d/32.png) [@Rand](https://discourse.cataclysmdda.org/u/Rand)\
**Post date:** [August 31, 2021, 10:42pm UTC](https://discourse.cataclysmdda.org/t/update-solved-mission-lab-error-leading-to-buggy-security-glitch-that-makes-game-unplayable/26914/6 "2021-08-31T22:42:56Z")

</div>

Specifically, this linked comment ([Updating to experimental 2021-08-21-2314 causes many errors every move in recent experimental world/saves, but not world/save from 0.F stable · Issue #50977 · CleverRaven/Cataclysm-DDA · GitHub](https://github.com/CleverRaven/Cataclysm-DDA/issues/50977#issuecomment-903292580)) from the issue shows which elements to delete.

Unfortunately, all the bad entries are going to be somewhere in the “queued\_effect\_on\_conditions” line of your affected .sav file, which is just one super long line. (I edited the line before posting the version you see in the issue by separating the elements on different lines.)

Fortunately, they are likely all lumped together at the front, before the stuff you want to keep.

Be careful and make a backup before editing!
