"ERROR: Client target not found!" When packaging client after enabling or disabling a plugin. This will happen on both developer or shipping client as the build configuration.
UATHelper: Packaging (Windows (32-bit)): Setting up ProjectParams for C:\Users\Username\Documents\Unreal Projects\MoreTest\MoreTest.uproject UATHelper: Packaging (Windows (32-bit)): ERROR: Client target not found! UATHelper: Packaging (Windows (32-bit)): (see D:\Main\Engine\Programs\AutomationTool\Saved\Logs\Log.txt for full exception trace) PackagingResults: Error: Client target not found! UATHelper: Packaging (Windows (32-bit)): AutomationTool exiting with ExitCode=1 (Error_Unknown) UATHelper: Packaging (Windows (32-bit)): BUILD FAILED PackagingResults: Error: Unknown Error
Found in 4.18 CL# 3832480, 4.19 CL# 4033788, and 4.21 CL# 4101872
Results:
The project will fail to package giving the error "ERROR: Client target not found!"
Expected:
The project will package properly.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-59965 in the post.