adamrehn / ue4cli

Command-line interface for Unreal Engine 4
https://docs.adamrehn.com/ue4cli/
MIT License
249 stars 45 forks source link

ue4 clean deletes third party binaries #38

Closed arisona closed 2 years ago

arisona commented 2 years ago

ue4 clean deletes third party libraries that are not built from source. Not sure how this could be filtered.

Workaround for us is to use ue4 build -clean instead.

adamrehn commented 2 years ago

The clean command only removes the Binaries and Intermediate directories, so I'm guessing that you're storing your third-party libraries under Binaries? It's recommended that you store the original versions of these elsewhere in your source tree and instruct UBT to copy them to the Binaries directory at build time: https://docs.unrealengine.com/4.26/en-US/ProductionPipelines/BuildTools/UnrealBuildTool/ThirdPartyLibraries/#runtimedependencies

arisona commented 2 years ago

Thanks, makes sense. Will notify the plugin authors to fix this.