ruyo / VRM4U

Runtime VRM loader for UnrealEngine4
Other
1.3k stars 170 forks source link

PackagingResults: Error: Unknown Error #387

Open tclinhan opened 2 weeks ago

tclinhan commented 2 weeks ago

Hi! After the introduction of plugins in the new project, packaging will prompt the following error.

LogUObjectHash: Compacting FUObjectHashTables data took 0.27ms LogTurnkeySupport: Project requires temp target (已启用VRM4U插件) LogLauncherProfile: Unable to use promoted target - ../../../../../../Unreal Projects/MyGame/Binaries/Win64/UnrealGame.target does not exist. LogMonitoredProcess: Running Serialized UAT: [ cmd.exe /c ""D:/Program Files/Epic Games/UE_5.4/Engine/Build/BatchFiles/RunUAT.bat" -ScriptsForProject="D:/Unreal Projects/MyGame/MyGame.uproject" Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=53158 -project="D:/Unreal Projects/MyGame/MyGame.uproject" BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project="D:/Unreal Projects/MyGame/MyGame.uproject" -unrealexe="D:\Program Files\Epic Games\UE_5.4\Engine\Binaries\Win64\UnrealEditor-Cmd.exe" -platform=Win64 -installed -stage -archive -p ackage -build -pak -iostore -compressed -prereqs -archivedirectory="C:/Users/TTTTT/Desktop/1" -clientconfig=Development" -nocompile -nocompileuat ] UATHelper: 打包 (Windows): Running AutomationTool... UATHelper: 打包 (Windows): Using bundled DotNet SDK version: 6.0.302 UATHelper: 打包 (Windows): Starting AutomationTool... UATHelper: 打包 (Windows): Parsing command line: -ScriptsForProject="D:/Unreal Projects/MyGame/MyGame.uproject" Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=53158 -project="D:/Unreal Projects/MyGame/MyGame.uproject" BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project="D:/Unreal Projects/MyGame/MyGame.uproject" -unrealexe="D:\Program Files\Epic Games\UE_5.4\Engine\Binaries\Win64\UnrealEditor-Cmd.exe" -platform=Win64 -installed -stage -archive -package -build -pak -iostore -compressed -prereqs -archivedirectory=C:/Users/TTTTT/Deskto p/1 -clientconfig=Development -nocompile -nocompileuat UATHelper: 打包 (Windows): Initializing script modules... UATHelper: 打包 (Windows): Total script module initialization time: 0.09 s. UATHelper: 打包 (Windows): Using C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe UATHelper: 打包 (Windows): Executing commands... UATHelper: 打包 (Windows): Installed Sdk validity: UATHelper: 打包 (Windows): Win64: (Status=Valid, MinAllowed_Sdk=10.0.18362.0, MaxAllowed_Sdk=10.9.99999.0, Current_Sdk=10.0.26100.0, Allowed_AutoSdk=10.0.19041.0, Current_AutoSdk=, Flags="InstalledSdk_ValidVersionExists") UATHelper: 打包 (Windows): Scanning for envvar changes... UATHelper: 打包 (Windows): ... done! UATHelper: 打包 (Windows): Cleaning Temp Paths... UATHelper: 打包 (Windows): BUILD SUCCESSFUL UATHelper: 打包 (Windows): Setting up ProjectParams for D:\Unreal Projects\MyGame\MyGame.uproject UATHelper: 打包 (Windows): MyGame.uproject is has no code, but is being treated as a code-based project because: VRM4U plugin is enabled. Creating temporary .Target.cs files. UATHelper: 打包 (Windows): ** BUILD COMMAND STARTED ** UATHelper: 打包 (Windows): Running: D:\Program Files\Epic Games\UE_5.4\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe "D:\Program Files\Epic Games\UE_5.4\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" MyGame Win64 Development -Project="D:\Unreal Projects\MyGame\MyGame.uproject" -Manifest="D:\Unreal Projects\MyGame\Intermediate\Build\Manifest.xml" -remoteini="D:\Unreal Projects\MyGame" -skipdeploy -log="C:\Users\TTTTT\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Program+Files+Epic+Games+UE_5.4\UBA-MyGame-Win64-Development.txt" UATHelper: 打包 (Windows): Log file: C:\Users\TTTTT\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Program+Files+Epic+Games+UE_5.4\UBA-MyGame-Win64-Development.txt UATHelper: 打包 (Windows): Creating makefile for MyGame (no existing makefile) UATHelper: 打包 (Windows): Available x64 toolchains (1): UATHelper: 打包 (Windows): C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807 UATHelper: 打包 (Windows): (Family=14.40.33807, FamilyRank=5, Version=14.40.33811, Is64Bit=True, ReleaseChannel=Latest, Architecture=x64) UATHelper: 打包 (Windows): Visual Studio 2022 compiler version 14.40.33811 is not a preferred version. Please use the latest preferred version 14.38.33130 UATHelper: 打包 (Windows): Available x64 toolchains (1): UATHelper: 打包 (Windows): C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807 UATHelper: 打包 (Windows): (Family=14.40.33807, FamilyRank=5, Version=14.40.33811, Is64Bit=True, ReleaseChannel=Latest, Architecture=x64) UATHelper: 打包 (Windows): Visual Studio 2022 compiler version 14.40.33811 is not a preferred version. Please use the latest preferred version 14.38.33130 UATHelper: 打包 (Windows): Total execution time: 1.34 seconds UATHelper: 打包 (Windows): Expecting to find a type to be declared in a module rules named 'VRM4U' in 'UE5Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. This type must derive from the 'ModuleRules' type defined by UnrealBuildTool. UATHelper: 打包 (Windows): Took 1.43s to run dotnet.exe, ExitCode=8 UATHelper: 打包 (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\TTTTT\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Program+Files+Epic+Games+UE_5.4\UBA-MyGame-Win64-Development.txt) UATHelper: 打包 (Windows): AutomationTool executed for 0h 0m 2s UATHelper: 打包 (Windows): AutomationTool exiting with ExitCode=8 (8) UATHelper: 打包 (Windows): BUILD FAILED PackagingResults: Error: Unknown Error

ruyo commented 1 week ago

Hi. Please use C++ projects; BP projects cannot be packaged. https://ruyo-github-io.translate.goog/VRM4U/03_exe/?_x_tr_sl=ja&_x_tr_tl=en&_x_tr_hl=ja