# fix a broken map reference inside of persistent level

**URL:** <https://forums.unrealengine.com/t/fix-a-broken-map-reference-inside-of-persistent-level/416414>\
**Category:** Editor Scripting\
**Tags:** reference, Map, unreal-engine, persistent-level, level, question\
**Created:** [February 4, 2018, 8:35pm UTC](https://forums.unrealengine.com/t/fix-a-broken-map-reference-inside-of-persistent-level/416414 "2018-02-04T20:35:02Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_2f59548c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2f59548c](https://forums.unrealengine.com/u/anonymous_user_2f59548c)\
**Post date:** [February 4, 2018, 8:35pm UTC](https://forums.unrealengine.com/t/fix-a-broken-map-reference-inside-of-persistent-level/416414/1 "2018-02-04T20:35:02Z")

</div>

![229474-uemaphelp.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/7/5/275eed340e7e227c3adac6998641f6166be4052c.png)

This picture pretty much sums up the whole issue, i imported some levels from the version my friend is working on, all worked fine, then i had to rename them, and probably porked something up because it didn’t work, no problem. anyway, i wanted to delete the new maps and start again but after deleting them i’m left with this annoying ghost of map Story\_123 that i can’t shift.

---

<div class="post-metadata">

**Author:** ![ndelchen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ndelchen](https://forums.unrealengine.com/u/ndelchen)\
**Post date:** [February 4, 2018, 11:26pm UTC](https://forums.unrealengine.com/t/fix-a-broken-map-reference-inside-of-persistent-level/416414/2 "2018-02-04T23:26:00Z")

</div>

just remove it in the levels panel?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2f59548c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2f59548c](https://forums.unrealengine.com/u/anonymous_user_2f59548c)\
**Post date:** [February 5, 2018, 1:19am UTC](https://forums.unrealengine.com/t/fix-a-broken-map-reference-inside-of-persistent-level/416414/3 "2018-02-05T01:19:09Z")

</div>

the remove function is greyed out for it

---

<div class="post-metadata">

**Author:** ![ndelchen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ndelchen](https://forums.unrealengine.com/u/ndelchen)\
**Post date:** [February 6, 2018, 1:51am UTC](https://forums.unrealengine.com/t/fix-a-broken-map-reference-inside-of-persistent-level/416414/4 "2018-02-06T01:51:04Z")

</div>

press the “delete” key?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2f59548c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2f59548c](https://forums.unrealengine.com/u/anonymous_user_2f59548c)\
**Post date:** [February 6, 2018, 4:37pm UTC](https://forums.unrealengine.com/t/fix-a-broken-map-reference-inside-of-persistent-level/416414/5 "2018-02-06T16:37:37Z")

</div>

Yeh, it doesn’t work friend, it’s like i can’t delete it untill i fix its reference issue, and i have no idea what’s going on there. 😕 thanks for taking the time to at least comment though, i do appreciate it.

---

<div class="post-metadata">

**Author:** ![ndelchen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ndelchen](https://forums.unrealengine.com/u/ndelchen)\
**Post date:** [February 6, 2018, 11:09pm UTC](https://forums.unrealengine.com/t/fix-a-broken-map-reference-inside-of-persistent-level/416414/6 "2018-02-06T23:09:57Z")

</div>

can you provide steps to reproduce the issue?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2f59548c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2f59548c](https://forums.unrealengine.com/u/anonymous_user_2f59548c)\
**Post date:** [February 7, 2018, 12:00am UTC](https://forums.unrealengine.com/t/fix-a-broken-map-reference-inside-of-persistent-level/416414/7 "2018-02-07T00:00:18Z")

</div>

migrated in levels that a friend built, all worked fine. but the names were a little muddled so i had to change them around a bit, (next level system reads and loads via level name) so for example, i renamed Story\_2 to Story\_123 so that i could make another level Story\_2. this is where things started to break, and to remedy it i decided to just delete all of the new levels so that i could rename in their build and then migrate them in. i tried to delete it and it prompted ofc, “do you wish to force delete” as it had references, (only half paying attention i clicked yes), and now we are left with a ghost file trying to be referenced. I later opened up the content folder and tried to manually delete it as there was still a map file called Story\_123, but that did not fix it either.

and here we are. 😕

---

<div class="post-metadata">

**Author:** ![aidnewsome](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/aidnewsome/32/602537_2.png) [@aidnewsome](https://forums.unrealengine.com/u/aidnewsome)\
**Post date:** [January 27, 2023, 1:27am UTC](https://forums.unrealengine.com/t/fix-a-broken-map-reference-inside-of-persistent-level/416414/8 "2023-01-27T01:27:46Z")

</div>

How did you fix this, if you managed to in the end?
