So my wife was killed, now what?
Long story short I married Lydia, she died in battle, and I resurrected her through console commands. Now speaking with her doesn't have the usual spouse dialogue, I also am not able to get normal marriage interest dialogue with other marriageable NPCs. Any idea what is up and how I can fix this?
Solution 1:
The best thing you can do is remarry her. There is no known fix as far as I know. It was never intended to revive NPCs, so there is no fallback to such situations.
How to divorce is already explained in this thread.
Solution 2:
Since you can access console by ~ key, just type the following commands to make her your wife again:
Click on Lydia
addfac 19809 1
And you are done! She is your wife again.
If this does not work out, try to write these commands first:
Setrelationshiprank "NPC ID HERE" 4
Player.setrelationshiprank "NPC ID HERE" 4
Disable
Enable
And then do the above command again. The cool part is that you can use it in any NPC. So yeah, your problem does have a solution.
This basically happens as when you revive any NPC, the AI is reset, along with the faction status as well. For eg- if your follower ever died, and you revived them, you will need to ask then to follow you again.
You can get the NPC ID via the wiki, or by using Skyrim help!
Solution 3:
When you revive a NPC in console, the system still believes you are married, but not to the Revived Lydia.