-
Notifications
You must be signed in to change notification settings - Fork 25
Fix Scripts
FACS01-01 edited this page Apr 17, 2024
·
2 revisions
Helps you reassign ripped/broken scripts to their original sources.
- Be sure you imported the original scripts into your Project.
- Open its window from the menu
FACS Utils/Script/Fix Scripts
. - If you choose Automatic mode:
- Refer to ripped.
- If you choose Manual Fix mode:
- Add as many manual fix items as you need with the + Manual Fix button.
- On each item, enter the
GUID
andFile ID
of the broken script, and select the new script with the dropdown menus. - 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.
- Put the folder containing your damaged assets in the Target Folder object selector.
- When ready, press the Run Fix! button.
- 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 itsGUID
andFile ID
autocompleted. - Due to a bug in Unity Editor, after opening an
Animator Controller
, Unity will delete all its missing scripts (missingStateMachineBehaviours
). Don't open (don't select in the Project folders even) anyAnimator 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.