AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure)

Search the Log for Error and Warning
It says that multiple Blueprints fail to compile.
Check if any of those BPs compile in the editor.

For example:

LogInit: Display: LogBlueprint: Error: [Compiler] In use pin  Target  no longer exists on node  Macro instance . Please refresh node or break links to remove pin. from Source: /Game/First_Aid_Health_Kit/Blueprints/BP_MedicalLocker2.BP_MedicalLocker2
LogInit: Display: LogBlueprint: Error: [Compiler] In use pin  New Visibility  no longer exists on node  Macro instance . Please refresh node or break links to remove pin. from Source: /Game/First_Aid_Health_Kit/Blueprints/BP_MedicalLocker2.BP_MedicalLocker2
LogInit: Display: LogBlueprint: Error: [Compiler] Macro node  Macro instance  is pointing at an invalid macro graph. from Source: /Game/First_Aid_Health_Kit/Blueprints/BP_MedicalLocker2.BP_MedicalLocker2
LogInit: Display: LogBlueprint: Error: [Compiler] In use pin  Target  no longer exists on node  Macro instance . Please refresh node or break links to remove pin. from Source: /Game/First_Aid_Health_Kit/Blueprints/BP_MedicalLocker1.BP_MedicalLocker1
LogInit: Display: LogBlueprint: Error: [Compiler] In use pin  New Visibility  no longer exists on node  Macro instance . Please refresh node or break links to remove pin. from Source: /Game/First_Aid_Health_Kit/Blueprints/BP_MedicalLocker1.BP_MedicalLocker1
LogInit: Display: LogBlueprint: Error: [Compiler] Macro node  Macro instance  is pointing at an invalid macro graph. from Source: /Game/First_Aid_Health_Kit/Blueprints/BP_MedicalLocker1.BP_MedicalLocker1
LogInit: Display: LogBlueprint: Error: [Compiler] In use pin  Target  no longer exists on node  Macro instance . Please refresh node or break links to remove pin. from Source: /Game/First_Aid_Health_Kit/Blueprints/BP_FirstAidKit3_03.BP_FirstAidKit3_03
LogInit: Display: LogBlueprint: Error: [Compiler] In use pin  New Visibility  no longer exists on node  Macro instance . Please refresh node or break links to remove pin. from Source: /Game/First_Aid_Health_Kit/Blueprints/BP_FirstAidKit3_03.BP_FirstAidKit3_03