DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files\Epic Games\UE_5.2\Engine\Plugins\Online\Experimental\OnlineServices\OnlineServices.uplugin'.
I am getting the above error for a missing directory that no longer exists in 5.2 when packaging for Windows. I’m not sure how to find what’s still referencing this missing plugin? Any pointers or solutions greatly appreciated!
A larger paste of the error in context at end of packaging(only cook warnings above it):
LogInit: Display: Success - 0 error(s), 373 warning(s)
LogInit: Display:
Execution of commandlet took: 1m 4s (64.12 seconds)
LogShaderCompilers: Display: ================================================
LogShaderCompilers: Display: === FShaderJobCache stats ===
LogShaderCompilers: Display: Total job queries 0, among them cache hits 0 (0.00%)
LogShaderCompilers: Display: Tracking 0 distinct input hashes that result in 0 distinct outputs (0.00%)
LogShaderCompilers: Display: RAM used: 240.00 B of 819.20 MiB budget. Usage: 0.00%
LogShaderCompilers: Display: === Shader Compilation stats ===
LogShaderCompilers: Display: Shaders Compiled: 0
LogShaderCompilers: Display: Jobs assigned 0, completed 0 (0.00%)
LogShaderCompilers: Display: Time at least one job was in flight (either pending or executed): 0.00 s
LogShaderCompilers: Display: ================================================
LogShaderCompilers: Display: Shaders left to compile 0
Took 79.2555586s to run UnrealEditor-Cmd.exe, ExitCode=0
SafeDeleteFile C:\Users\war\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.2\Cook-2023.09.13-13.30.25.txt
SafeCopyFile C:\Program Files\Epic Games\UE_5.2\Engine\Programs\AutomationTool\Saved\Cook-2023.09.13-13.29.06.txt C:\Users\war\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.2\Cook-2023.09.13-13.30.25.txt
SafeDeleteFile C:\Program Files\Epic Games\UE_5.2\Engine\Programs\AutomationTool\Saved\Cook-2023.09.13-13.29.06.txt
Cook command time: 79.29 s
********** COOK COMMAND COMPLETED **********
SafeFileExists C:\dev\NightTimesDev\Main_Game\Goodest_Boy_UE4.uproject=True
********** STAGE COMMAND STARTED **********
Deployment Context **************
ProjectFile = C:\dev\NightTimesDev\Main_Game\Goodest_Boy_UE4.uproject
ArchiveDir = C:\dev\builds\Rascals\Windows
IsCodeBasedUprojectFile = True
DedicatedServer = False
Stage = True
StageTargetPlatform = Win64
InputRootDir = C:\Program Files\Epic Games\UE_5.2
InputProjectDir = C:\dev\NightTimesDev\Main_Game
PlatformDir = Win64
StagedOutputDir = C:\dev\NightTimesDev\Main_Game\Saved\StagedBuilds\Windows
ShortProjectName = Goodest_Boy_UE4
ProjectArgForCommandLines = -project=../../../Goodest_Boy_UE4/Goodest_Boy_UE4.uproject
RunRootDir = C:\dev\NightTimesDev\Main_Game\Saved\StagedBuilds\Windows
RunProjectDir = C:\dev\NightTimesDev\Main_Game\Saved\StagedBuilds\Windows\Goodest_Boy_UE4
PakFileInternalRoot = ../../../
PlatformUsesChunkManifests = False
End Deployment Context **************
Creating Staging Manifest...
Can't find cloud directory C:\dev\NightTimesDev\Main_Game\Platforms\Windows\Build\Cloud
SafeDeleteFile C:\dev\NightTimesDev\Main_Game\Intermediate\Staging\Goodest_Boy_UE4.exe
SafeCopyFile C:\Program Files\Epic Games\UE_5.2\Engine\Binaries\Win64\BootstrapPackagedGame-Win64-Shipping.exe C:\dev\NightTimesDev\Main_Game\Intermediate\Staging\Goodest_Boy_UE4.exe
Excluding config file C:\Program Files\Epic Games\UE_5.2\Engine\Config\BaseEditor.ini
Excluding config file C:\Program Files\Epic Games\UE_5.2\Engine\Config\BaseEditorKeyBindings.ini
Excluding config file C:\Program Files\Epic Games\UE_5.2\Engine\Config\BaseEditorPerProjectUserSettings.ini
Excluding config file C:\Program Files\Epic Games\UE_5.2\Engine\Config\BaseEditorSettings.ini
Excluding config file C:\Program Files\Epic Games\UE_5.2\Engine\Config\BaseLightmass.ini
Excluding config file C:\Program Files\Epic Games\UE_5.2\Engine\Config\BasePakFileRules.ini
Excluding config file C:\Program Files\Epic Games\UE_5.2\Engine\Config\ConsoleVariables.ini
Excluding config file C:\Program Files\Epic Games\UE_5.2\Engine\Config\Localization\Category.ini
Excluding config file C:\Program Files\Epic Games\UE_5.2\Engine\Config\Localization\Editor.ini
Excluding config file C:\Program Files\Epic Games\UE_5.2\Engine\Config\Localization\EditorTutorials.ini
Excluding config file C:\Program Files\Epic Games\UE_5.2\Engine\Config\Localization\Engine.ini
Excluding config file C:\Program Files\Epic Games\UE_5.2\Engine\Config\Localization\Keywords.ini
Excluding config file C:\Program Files\Epic Games\UE_5.2\Engine\Config\Localization\PortableObjectExport.ini
Excluding config file C:\Program Files\Epic Games\UE_5.2\Engine\Config\Localization\PortableObjectImport.ini
Excluding config file C:\Program Files\Epic Games\UE_5.2\Engine\Config\Localization\PropertyNames.ini
Excluding config file C:\Program Files\Epic Games\UE_5.2\Engine\Config\Localization\RepairData.ini
Excluding config file C:\Program Files\Epic Games\UE_5.2\Engine\Config\Localization\ToolTips.ini
Excluding config file C:\Program Files\Epic Games\UE_5.2\Engine\Config\Localization\WordCount.ini
Excluding config file C:\Program Files\Epic Games\UE_5.2\Engine\Config\Windows\WindowsEditorPerProjectUserSettings.ini
Excluding config file C:\dev\NightTimesDev\Main_Game\Config\DefaultEditor.ini
Excluding config file C:\dev\NightTimesDev\Main_Game\Config\DefaultEditorPerProjectUserSettings.ini
==============================================================================
ERROR: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files\Epic Games\UE_5.2\Engine\Plugins\Online\Experimental\OnlineServices\OnlineServices.uplugin'.
at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at EpicGames.Core.FileReference.ReadAllText(FileReference location) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\Shared\EpicGames.Core\FileReference.cs:line 463
at EpicGames.Core.JsonObject.Read(FileReference file) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\Shared\EpicGames.Core\JsonObject.cs:line 91
at UnrealBuildTool.PluginDescriptor.FromFile(FileReference FileName) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\System\PluginDescriptor.cs:line 349
at AutomationScripts.Project.StageLocalizationDataForPlugin(DeploymentContext SC, List`1 CulturesToStage, FileReference Plugin) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\CopyBuildToStagingDirectory.Automation.cs:line 453
at AutomationScripts.Project.CreateStagingManifest(ProjectParams Params, DeploymentContext SC) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\CopyBuildToStagingDirectory.Automation.cs:line 1113
at AutomationScripts.Project.CopyBuildToStagingDirectory(ProjectParams Params) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\CopyBuildToStagingDirectory.Automation.cs:line 4695
at BuildCookRun.DoBuildCookRun(ProjectParams Params) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 222
at BuildCookRun.ExecuteBuild() in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 42
at AutomationTool.BuildCommand.Execute() in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 344
at AutomationTool.BuildCommand.ExecuteAsync() in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 353
at AutomationTool.Automation.ExecuteAsync(List`1 CommandsToExecute, Dictionary`2 Commands) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 257
at AutomationTool.Automation.ProcessAsync(ParsedCommandLine AutomationToolCommandLine, StartupTraceListener StartupListener, HashSet`1 ScriptModuleAssemblies) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 156
(see C:\Users\war\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.2\Log.txt for full exception trace)
DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files\Epic Games\UE_5.2\Engine\Plugins\Online\Experimental\OnlineServices\OnlineServices.uplugin'.
at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at EpicGames.Core.FileReference.ReadAllText(FileReference location) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\Shared\EpicGames.Core\FileReference.cs:line 463
at EpicGames.Core.JsonObject.Read(FileReference file) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\Shared\EpicGames.Core\JsonObject.cs:line 91
at UnrealBuildTool.PluginDescriptor.FromFile(FileReference FileName) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\System\PluginDescriptor.cs:line 349
at AutomationScripts.Project.StageLocalizationDataForPlugin(DeploymentContext SC, List`1 CulturesToStage, FileReference Plugin) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\CopyBuildToStagingDirectory.Automation.cs:line 453
at AutomationScripts.Project.CreateStagingManifest(ProjectParams Params, DeploymentContext SC) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\CopyBuildToStagingDirectory.Automation.cs:line 1113
at AutomationScripts.Project.CopyBuildToStagingDirectory(ProjectParams Params) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\CopyBuildToStagingDirectory.Automation.cs:line 4695
at BuildCookRun.DoBuildCookRun(ProjectParams Params) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 222
at BuildCookRun.ExecuteBuild() in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 42
at AutomationTool.BuildCommand.Execute() in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 344
at AutomationTool.BuildCommand.ExecuteAsync() in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 353
at AutomationTool.Automation.ExecuteAsync(List`1 CommandsToExecute, Dictionary`2 Commands) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 257
at AutomationTool.Automation.ProcessAsync(ParsedCommandLine AutomationToolCommandLine, StartupTraceListener StartupListener, HashSet`1 ScriptModuleAssemblies) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 156
==============================================================================
AutomationTool executed for 0h 5m 13s
AutomationTool exiting with ExitCode=1 (Error_Unknown)