Skip to content

Fix Scripts

FACS01-01 edited this page Apr 17, 2024 · 2 revisions

Helps you reassign ripped/broken scripts to their original sources.

How to use

  1. Be sure you imported the original scripts into your Project.
  2. Open its window from the menu FACS Utils/Script/Fix Scripts.
  3. If you choose Automatic mode:
  4. If you choose Manual Fix mode:
    1. Add as many manual fix items as you need with the + Manual Fix button.
    2. On each item, enter the GUID and File ID of the broken script, and select the new script with the dropdown menus.
    3. If the list of assignable scripts is too long, use the Filter Scripts text field, press Enter on the text field and then open the dropdown menu again.
  5. Put the folder containing your damaged assets in the Target Folder object selector.
  6. When ready, press the Run Fix! button.

Extra tips and notes

  • Thanks to Missing Script Editor, you can right-click on a missing script and get the menu FACS Utils/Add to Fix Scripts. This will add a new entry to the Manual Fix list, with its GUID and File ID autocompleted.
  • Due to a bug in Unity Editor, after opening an Animator Controller, Unity will delete all its missing scripts (missing StateMachineBehaviours). Don't open (don't select in the Project folders even) any Animator Controller before running Fix Scripts.
  • If you are fixing a ripped Project, you can enable Delete Dummy Scripts after Reassign to remove all unneeded script files. If no dummy script is left, the ".Scripts" folder is completely removed.
Clone this wiki locally