Search and replace breaks all link destinations

Issue #397 new
Academy of Fetishes
created an issue

This is super weird and it makes me suspect that something is corrupt with my install. I'm using 2.1.3 and Harlowe 2. I'll describe the problem in steps.

  1. I do a search and replace of a word like "Lets " and replace it with a word like "Let's ". I don't have passage names checked.
  2. The appropriate passages are modified
  3. If any of those passages had links to other passages, the destination passages all have their names set to "".

This causes numerous problems. Links are broken all over the place. If I try to open up one of the passages and give it a name to fix the problem, twine doesn't let me save or close the dialog. Search and replace becomes dangerous for me to use.

I figure everyone would be reporting this if it were happening so there is probably something wrong with my install. Is there a way to start it in some debug mode to give better information? I'm going to restart my computer to see if it fixes the issue. If that doesn't work I'll reinstall.

Comments (4)


    I'm having the exact same problem. Twine 2.1.3, but I'm using Sugarcube 2.18.0, so it's likely not because of the story format.

    Luckily only a small amount of passages were affected for me. I just went through and renamed them all.

    Edit: I want to clarify the problem as specific as I can. All passages that are affected by the find and replace have their passage names removed completely, so they are empty and cannot be linked to.

    This is why I mentioned renaming them all. I'm not sure if that's the same situation OP is dealing with, but it does sound the same.

  2. Log in to comment