How to get these NPCs to appear again

the-elder-scrolls-v-skyrim

I seem to have a bug where various quest NPCs have disappeared from the city they are supposed to be in. For example, if I look on the map for Maven Black-Briar (because I have a quest leading to her), it says she's directly in the middle of Riften. If I follow my compass though, it leads me out of the city and tries to make me jump over the city walls or something to get to her. This also happened to me with Carlotta in Whiterun. How can I begin trying to resolve this bug?

e: I'm playing on the PC and I have all the DLC.

Best Answer

Try teleporting the missing NPC to your location through console commands.

Console commands to teleport the missing NPC to the player's current location:
prid <RefID>
moveto player

prid targets an entity. Maven Black-Briar's refID is 19DD1. Carlotta Valentia's refID is 1A675.

(Another method to target instead of using prid <refID> is to open up the console and then click on an entity, this will automatically do prid <RefID> for the clicked entity. However, this method won't be useful in your situation as the follower is not near your vicinity, and can't be clicked on.)

moveto player moves that targeted entity near the vicinity of the player.

The missing NPC should now be near you after doing this. If for some weird reason, he/she is dead (could happen with Carlotta, but not with Maven, an essential NPC), use the console command resurrect 1. The missing NPC should go back to life.

If for another weird reason, the missing NPC is still not near your vicinity after doing this, he/she may have been 'disabled' from the game, making him/her not appear in the game. Type enable in the console to remedy this. If he/she appears but is already dead, type resurrect 1.

More info on console commands here: http://uesp.net/wiki/Skyrim:Console