ue4C++项目引用外部插件之后打包失败,小白求大神指点!

[复制链接]
查看2813 | 回复2 | 2019-4-21 15:14:50 | 显示全部楼层 |阅读模式
安装了一个外部插件,VS里编译插件通过,可以打开项目,然后什么都没做,只是打开了一个空项目,死活不能打包,求路过的大神指点迷津!新人小白感激涕零!

输出日志如下:

UATHelper: 打包 (Windows(64位)): Running AutomationTool...
UATHelper: 打包 (Windows(64位)): Parsing command line: -ScriptsForProject=D:/ada/ada.uproject BuildCookRun -nocompile -nocompileeditor -installed -nop4 -project=D:/ada/ada.uproject -cook -stage -archive -archivedirectory=D:/ada -package -clientconfig=Shipping -ue4exe=UE4Editor-Cmd.exe -clean -pak -prereqs -nodebuginfo -targetplatform=Win64 -build -utf8output
UATHelper: 打包 (Windows(64位)): Setting up ProjectParams for D:\ada\ada.uproject
UATHelper: 打包 (Windows(64位)): ********** BUILD COMMAND STARTED **********
UATHelper: 打包 (Windows(64位)): Running: E:\UE_4.21\Engine\Binaries\DotNET\UnrealBuildTool.exe ada Win64 Shipping -Project=D:\ada\ada.uproject -clean D:\ada\ada.uproject -NoUBTMakefiles  -remoteini="D:\ada" -skipdeploy -nobuilduht -NoHotReload -log="C:\Users\SEELE\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+UE_4.21\UBT-ada-Win64-Shipping.txt"
UATHelper: 打包 (Windows(64位)): Took 0.6968529s to run UnrealBuildTool.exe, ExitCode=0
UATHelper: 打包 (Windows(64位)): Running: E:\UE_4.21\Engine\Binaries\DotNET\UnrealBuildTool.exe ada Win64 Shipping -Project=D:\ada\ada.uproject  D:\ada\ada.uproject -NoUBTMakefiles  -remoteini="D:\ada" -skipdeploy -Manifest=D:\ada\Intermediate\Build\Manifest.xml -NoHotReload -ignorejunk -log="C:\Users\SEELE\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+UE
_4.21\UBT-ada-Win64-Shipping_2.txt"
UATHelper: 打包 (Windows(64位)):   Using Visual Studio 2017 14.16.27023 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023) and Windows 10.0.17763.0 SDK (C:\Program Files (x86)\Windows Kits\10).
UATHelper: 打包 (Windows(64位)):   ERROR: ERROR: Non-editor build cannot depend on non-redistributable modules. D:\ada\Binaries\Win64\ada-Win64-Shipping.exe depends on 'EditorStyle', 'EditorWidgets', 'Settings', 'SourceCodeAccess', 'SourceControl', 'CurveEditor', 'WorkspaceMenuStructure', 'CurveAssetEditor', 'DesktopPlatform', 'TargetPlatform', 'MessageLog', 'C
lassViewer', 'HardwareTargeting', 'DirectoryWatcher', 'AddContentDialog', 'GameProjectGeneration', 'UATHelper', 'Merge', 'BlueprintGraph', 'KismetWidgets', 'ActorPickerMode', 'RawMesh', 'MaterialBaking', 'ClothingSystemEditorInterface', 'MeshReductionInterface', 'HierarchicalLODUtilities', 'HierarchicalLODOutliner', 'CommonMenuExtensions', 'PinnedCommandList
', 'AdvancedPreviewScene', 'SkeletonEditor', 'StatsViewer', 'DeviceProfileServices', 'SceneOutliner', 'MovieSceneCaptureDialog', 'SequencerWidgets', 'SequenceRecorderSections', 'Sequencer', 'PixelInspectorModule', 'DeviceManager', 'ExternalImagePicker', 'SharedSettingsWidgets', 'SettingsEditor', 'UnrealEdMessages', 'ScreenShotComparisonTools', 'AutomationCon
troller', 'AutomationWindow', 'DesktopWidgets', 'ScreenShotComparison', 'ProfilerMessages', 'ProfilerClient', 'Profiler', 'SessionFrontend', 'SlateReflector', 'Layers', 'LandscapeEditor', 'Localization', 'InternationalizationSettings', 'ConfigEditor', 'ViewportInteraction', 'ComponentVisualizers', 'AudioSettingsEditor', 'DetailCustomizations', 'FoliageEdit',
'WorldBrowser', 'NewLevelDialog', 'DeviceProfileEditor', 'CollectionManager', 'PlacementMode', 'LauncherServices', 'IntroTutorials', 'VREditor', 'LevelEditor', 'SequenceRecorder', 'AnimationEditor', 'Persona', 'AnimationModifiers', 'MeshBoneReduction', 'AnimationBlueprintEditor', 'SceneDepthPickerMode', 'SkeletalMeshEditor', 'GraphColor', 'MeshUtilitiesComm
on', 'MeshDescriptionOperations', 'QuadricMeshReduction', 'MeshBuilder', 'MeshUtilities', 'StaticMeshEditor', 'MeshMergeUtilities', 'MaterialUtilities', 'MaterialEditor', 'MovieSceneTools', 'KismetCompiler', 'DerivedDataCache', 'HotReload', 'BlueprintCompilerCppBackend', 'BlueprintNativeCodeGen', 'Kismet', 'GraphEditor', 'LocalizationCommandletExecution', 'L
ocalizationService', 'TranslationEditor', 'UndoHistory', 'ProjectTargetPlatformEditor', 'OutputLog', 'LocalizationDashboard', 'MainFrame', 'TextureEditor', 'CurveTableEditor', 'DataTableEditor', 'FontEditor', 'AudioEditor', 'AssetTools', 'SourceControlWindows', 'PackagesDialog', 'ContentBrowser', 'Documentation', 'PropertyEditor', 'AnimGraph', 'InputBindingE
ditor', 'SwarmInterface', 'TargetDeviceServices', 'MeshPaint', 'MeshPaintMode', 'PluginWarden', 'ClothingSystemEditor', 'PIEPreviewDeviceSpecification', 'PIEPreviewDeviceProfileSelector', 'PakFileUtilities', 'BspMode', 'GameplayDebugger', 'FunctionalTesting', 'DistCurveEditor', 'Cascade', 'UMGEditor', 'Matinee', 'EditorSettingsViewer', 'PhysicsAssetEditor',
'ProjectLauncher', 'StringTableEditor', 'GeometryMode', 'TextureAlignMode', 'Blutility', 'MergeActors', 'ProjectSettingsViewer', 'PListEditor', 'AIGraph', 'BehaviorTreeEditor', 'EnvironmentQueryEditor', 'ViewportSnapping', 'GameplayTasksEditor', 'HTML5TargetPlatform', 'HTML5PlatformEditor', 'OverlayEditor', 'ClothPainter', 'TimeManagementEditor', 'IOSPlatfor
mEditor', 'AndroidDeviceDetection', 'AndroidPlatformEditor', 'LuminPlatformEditor', 'UnrealEd'.
UATHelper: 打包 (Windows(64位)):          Dependant modules 'EditorWidgets', 'SourceCodeAccess', 'SourceControl', 'CurveEditor', 'WorkspaceMenuStructure', 'CurveAssetEditor', 'TargetPlatform', 'MessageLog', 'ClassViewer', 'HardwareTargeting', 'AddContentDialog', 'GameProjectGeneration', 'UATHelper', 'Merge', 'BlueprintGraph', 'KismetWidgets', 'ActorPickerMode',
'MaterialBaking', 'HierarchicalLODUtilities', 'HierarchicalLODOutliner', 'CommonMenuExtensions', 'PinnedCommandList', 'AdvancedPreviewScene', 'SkeletonEditor', 'StatsViewer', 'DeviceProfileServices', 'SceneOutliner', 'MovieSceneCaptureDialog', 'SequencerWidgets', 'SequenceRecorderSections', 'Sequencer', 'PixelInspectorModule', 'DeviceManager', 'ExternalImag
ePicker', 'SharedSettingsWidgets', 'SettingsEditor', 'ScreenShotComparisonTools', 'AutomationController', 'AutomationWindow', 'DesktopWidgets', 'ScreenShotComparison', 'ProfilerClient', 'Profiler', 'SessionFrontend', 'SlateReflector', 'Layers', 'LandscapeEditor', 'Localization', 'InternationalizationSettings', 'ConfigEditor', 'ViewportInteraction', 'Componen
tVisualizers', 'AudioSettingsEditor', 'DetailCustomizations', 'FoliageEdit', 'WorldBrowser', 'NewLevelDialog', 'DeviceProfileEditor', 'CollectionManager', 'PlacementMode', 'LauncherServices', 'IntroTutorials', 'VREditor', 'LevelEditor', 'SequenceRecorder', 'AnimationEditor', 'Persona', 'AnimationModifiers', 'MeshBoneReduction', 'AnimationBlueprintEditor', 'S
ceneDepthPickerMode', 'SkeletalMeshEditor', 'MeshDescriptionOperations', 'QuadricMeshReduction', 'MeshBuilder', 'MeshUtilities', 'StaticMeshEditor', 'MeshMergeUtilities', 'MaterialUtilities', 'MaterialEditor', 'MovieSceneTools', 'KismetCompiler', 'HotReload', 'BlueprintCompilerCppBackend', 'BlueprintNativeCodeGen', 'Kismet', 'GraphEditor', 'LocalizationComma
ndletExecution', 'LocalizationService', 'TranslationEditor', 'UndoHistory', 'ProjectTargetPlatformEditor', 'OutputLog', 'LocalizationDashboard', 'MainFrame', 'TextureEditor', 'CurveTableEditor', 'DataTableEditor', 'FontEditor', 'AudioEditor', 'AssetTools', 'SourceControlWindows', 'PackagesDialog', 'ContentBrowser', 'Documentation', 'PropertyEditor', 'AnimGra
ph', 'InputBindingEditor', 'TargetDeviceServices', 'MeshPaint', 'MeshPaintMode', 'PluginWarden', 'ClothingSystemEditor', 'PIEPreviewDeviceProfileSelector', 'BspMode', 'FunctionalTesting', 'NetworkFileSystem', 'DistCurveEditor', 'Cascade', 'UMGEditor', 'Matinee', 'EditorSettingsViewer', 'PhysicsAssetEditor', 'ProjectLauncher', 'StringTableEditor', 'GeometryMo
de', 'TextureAlignMode', 'Blutility', 'MergeActors', 'ProjectSettingsViewer', 'PListEditor', 'AIGraph', 'BehaviorTreeEditor', 'EnvironmentQueryEditor', 'ViewportSnapping', 'GameplayTasksEditor', 'HTML5TargetPlatform', 'HTML5PlatformEditor', 'OverlayEditor', 'ClothPainter', 'TimeManagementEditor', 'IOSPlatformEditor', 'AndroidDeviceDetection', 'AndroidPlatfor
mEditor', 'LuminPlatformEditor', 'UnrealEd', 'ExtraCamWindow'
UATHelper: 打包 (Windows(64位)):   ERROR: Non-editor build cannot depend on non-redistributable modules.
UATHelper: 打包 (Windows(64位)):          (see C:\Users\SEELE\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+UE_4.21\UBT-ada-Win64-Shipping_2.txt for full exception trace)
UATHelper: 打包 (Windows(64位)): Took 1.1565751s to run UnrealBuildTool.exe, ExitCode=5
UATHelper: 打包 (Windows(64位)): ERROR: UnrealBuildTool failed. See log for more details. (C:\Users\SEELE\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+UE_4.21\UBT-ada-Win64-Shipping_2.txt)
UATHelper: 打包 (Windows(64位)):        (see C:\Users\SEELE\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+UE_4.21\Log.txt for full exception trace)
UATHelper: 打包 (Windows(64位)): AutomationTool exiting with ExitCode=5 (5)
UATHelper: 打包 (Windows(64位)): BUILD FAILED
LogHMD: SteamVR Shutting down.
LogInit: XAudio2 using '扬声器 (5- USB Audio Device)' : 2 channels at 48 kHz using 16 bits per sample (channel mask 0x3)

坂口美穗乃 | 2019-4-21 15:18:54 | 显示全部楼层
完整截图如下,把插件删了就能玩完全打好包
1555830714(1).jpg
1555830749(1).jpg
回复 支持 反对

使用道具 举报

mknmknmk | 2019-4-23 14:41:16 | 显示全部楼层
工程依赖于编辑器模块
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

52

主题

236

回帖

1554

积分

中阶编码师

积分
1554