ruyo / VRM4U

Runtime VRM loader for UnrealEngine4
Other
1.36k stars 176 forks source link

5.3 package problem #366

Open Wailwaisullah opened 5 months ago

Wailwaisullah commented 5 months ago

I get this errors when I try to package the game can anyone help me fix it ?

UATHelper: Packaging (Windows): Log file: C:\Users\wailw\AppData\Roaming\Unreal Engine\AutomationTool\Logs\G+Unreal+engine+UE_5.3\UBT-ActionRpgSystem-Win64-Shipping.txt UATHelper: Packaging (Windows): DEPRECATION: 'IniKeyBlacklist', which is a config key in section [/Script/UnrealEd.ProjectPackagingSettings], in 'G:\Unreal engine\Projects\rpgtest\Config\DefaultGame.ini', has been deprecated. Using 'IniKeyDenylist' instead. It is recommended you update your .ini files as soon as possible, and replace IniKeyBlacklist with IniKeyDenylist UATHelper: Packaging (Windows): Cleaning ActionRpgSystem binaries... UATHelper: Packaging (Windows): Took 3.21s to run dotnet.exe, ExitCode=0 UATHelper: Packaging (Windows): Running: G:\Unreal engine\UE_5.3\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe "G:\Unreal engine\UE_5.3\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" ActionRpgSystem Win64 Shipping -Project="G:\Unreal engine\Projects\rpgtest\ActionRpgSystem.uproject" -Manifest="G:\Unreal engine\Projects\rpgtest\Intermediate\Build\Manifest.xml" -remoteini="G:\Unreal engine\Projects\rpgtest" -skipdeploy -log="C:\Users\wailw\AppData\Roaming\Unreal Engine\AutomationTool\Logs\G+Unreal+engine+UE_5.3\UBT-ActionRpgSystem-Win64-Shipping_2.txt" UATHelper: Packaging (Windows): Log file: C:\Users\wailw\AppData\Roaming\Unreal Engine\AutomationTool\Logs\G+Unreal+engine+UE_5.3\UBT-ActionRpgSystem-Win64-Shipping_2.txt UATHelper: Packaging (Windows): DEPRECATION: 'IniKeyBlacklist', which is a config key in section [/Script/UnrealEd.ProjectPackagingSettings], in 'G:\Unreal engine\Projects\rpgtest\Config\DefaultGame.ini', has been deprecated. Using 'IniKeyDenylist' instead. It is recommended you update your .ini files as soon as possible, and replace IniKeyBlacklist with IniKeyDenylist UATHelper: Packaging (Windows): Creating makefile for ActionRpgSystem (no existing makefile) UATHelper: Packaging (Windows): Parsing headers for ActionRpgSystem UATHelper: Packaging (Windows): Running Internal UnrealHeaderTool "G:\Unreal engine\Projects\rpgtest\ActionRpgSystem.uproject" "G:\Unreal engine\Projects\rpgtest\Intermediate\Build\Win64\ActionRpgSystem\Shipping\ActionRpgSystem.uhtmanifest" -WarningsAsErrors -installed UATHelper: Packaging (Windows): Total of 12 written UATHelper: Packaging (Windows): Reflection code generated for ActionRpgSystem in 4.2040707 seconds UATHelper: Packaging (Windows): Writing manifest to G:\Unreal engine\Projects\rpgtest\Intermediate\Build\Manifest.xml UATHelper: Packaging (Windows): Building ActionRpgSystem... UATHelper: Packaging (Windows): Using Visual Studio 2022 14.36.32537 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532) and Windows 10.0.22000.0 SDK (C:\Program Files (x86)\Windows Kits\10). UATHelper: Packaging (Windows): [Upgrade] UATHelper: Packaging (Windows): [Upgrade] Using backward-compatible build settings. The latest version of UE sets the following values by default, which may require code changes: UATHelper: Packaging (Windows): [Upgrade] CppStandard = CppStandardVersion.Default => Updates C++ Standard to C++20 (Previously: CppStandardVersion.Cpp17). UATHelper: Packaging (Windows): [Upgrade] WindowsPlatform.bStrictConformanceMode = true => Updates MSVC strict conformance mode to true (Previously: false). UATHelper: Packaging (Windows): [Upgrade] Suppress this message by setting 'DefaultBuildSettings = BuildSettingsVersion.V4;' in ActionRpgSystem.Target.cs, and explicitly overriding settings that differ from the new defaults. UATHelper: Packaging (Windows): [Upgrade] UATHelper: Packaging (Windows): Determining max actions to execute in parallel (4 physical cores, 4 logical cores) UATHelper: Packaging (Windows): Executing up to 4 processes, one per physical core UATHelper: Packaging (Windows): Requested 1.5 GB memory per action, 2.31 GB available: limiting max parallel actions to 1 UATHelper: Packaging (Windows): ------ Building 17 action(s) started ------ UATHelper: Packaging (Windows): [1/17] Compile [x64] SharedPCH.Engine.Cpp17.cpp UATHelper: Packaging (Windows): [2/17] Compile [x64] SharedPCH.Core.Cpp17.cpp UATHelper: Packaging (Windows): [3/17] Compile [x64] Module.VRM4U.3.cpp UATHelper: Packaging (Windows): [4/17] Compile [x64] Module.ActionRpgSystem.cpp UATHelper: Packaging (Windows): [5/17] Compile [x64] Module.AdvancedSessions.3.cpp UATHelper: Packaging (Windows): [6/17] Compile [x64] Module.AdvancedSessions.2.cpp UATHelper: Packaging (Windows): [7/17] Compile [x64] Module.VRM4U.1.cpp UATHelper: Packaging (Windows): G:\Unreal engine\Projects\rpgtest\Plugins\VRM4U\Source\VRM4U\Public\VrmAnimInstanceRetargetFromMannequin.h(41): warning C4996: 'TAssetPtr': TAssetPtr was renamed to TSoftObjectPtr as it is not necessarily an asset Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. UATHelper: Packaging (Windows): [8/17] Compile [x64] Module.AdvancedSessions.1.cpp UATHelper: Packaging (Windows): [9/17] Compile [x64] Module.VRM4ULoader.cpp UATHelper: Packaging (Windows): G:\Unreal engine\Projects\rpgtest\Plugins\VRM4U\Source\VRM4ULoader\Private\VrmConvertModel.cpp(1835): warning C4996: 'FRenderResource::InitResource': InitResource now requires a command list. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. UATHelper: Packaging (Windows): G:\Unreal engine\Projects\rpgtest\Plugins\VRM4U\Source\VRM4ULoader\Private\VrmConvertModel.cpp(1888): warning C4996: 'FRenderResource::UpdateRHI': UpdateRHI now requires a command list. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. UATHelper: Packaging (Windows): G:\Unreal engine\Projects\rpgtest\Plugins\VRM4U\Source\VRM4ULoader\Private\VrmConvertModel.cpp(1889): warning C4996: 'FRenderResource::UpdateRHI': UpdateRHI now requires a command list. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. UATHelper: Packaging (Windows): G:\Unreal engine\Projects\rpgtest\Plugins\VRM4U\Source\VRM4ULoader\Private\VrmConvertModel.cpp(1891): warning C4996: 'FRenderResource::UpdateRHI': UpdateRHI now requires a command list. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. UATHelper: Packaging (Windows): [10/17] Compile [x64] Module.VRM4U.2.cpp UATHelper: Packaging (Windows): [11/17] Compile [x64] Module.AdvancedSteamSessions.cpp UATHelper: Packaging (Windows): [12/17] Compile [x64] Module.VRM4UCapture.cpp UATHelper: Packaging (Windows): [13/17] Compile [x64] Module.VRM4U.4.cpp UATHelper: Packaging (Windows): G:\Unreal engine\Projects\rpgtest\Plugins\VRM4U\Source\VRM4U\Public\VrmAnimInstanceRetargetFromMannequin.h(41): warning C4996: 'TAssetPtr': TAssetPtr was renamed to TSoftObjectPtr as it is not necessarily an asset Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. UATHelper: Packaging (Windows): G:\Unreal engine\Projects\rpgtest\Plugins\VRM4U\Source\VRM4U\Private\VrmGameViewportClient.cpp(598): warning C4996: 'FStaticResolutionFractionHeuristic::FStaticResolutionFractionHeuristic': Uses PullRunTimeRenderingSettings(EViewStatusForScreenPercentage) instead Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. UATHelper: Packaging (Windows): G:\Unreal engine\Projects\rpgtest\Plugins\VRM4U\Source\VRM4U\Private\VrmGameViewportClient.cpp(608): warning C4996: 'FStaticResolutionFractionHeuristic::FUserSettings::PullRunTimeRenderingSettings': Uses PullRunTimeRenderingSettings(EViewStatusForScreenPercentage) instead Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. UATHelper: Packaging (Windows): G:\Unreal engine\Projects\rpgtest\Plugins\VRM4U\Source\VRM4U\Private\VrmUtilImage.cpp(426): error C2039: 'CreateTextureFromImage': is not a member of 'VRMUtil' UATHelper: Packaging (Windows): G:\Unreal engine\Projects\rpgtest\Plugins\VRM4U\Source\VRM4U\Public\VrmUtil.h(432): note: see declaration of 'VRMUtil' UATHelper: Packaging (Windows): G:\Unreal engine\Projects\rpgtest\Plugins\VRM4U\Source\VRM4U\Private\VrmUtilImage.cpp(429): error C2065: 'FImportImage': undeclared identifier UATHelper: Packaging (Windows): G:\Unreal engine\Projects\rpgtest\Plugins\VRM4U\Source\VRM4U\Private\VrmUtilImage.cpp(429): error C2146: syntax error: missing ';' before identifier 'img' UATHelper: Packaging (Windows): G:\Unreal engine\Projects\rpgtest\Plugins\VRM4U\Source\VRM4U\Private\VrmUtilImage.cpp(429): error C2065: 'img': undeclared identifier UATHelper: Packaging (Windows): G:\Unreal engine\Projects\rpgtest\Plugins\VRM4U\Source\VRM4U\Private\VrmUtilImage.cpp(430): error C2065: 'img': undeclared identifier UATHelper: Packaging (Windows): G:\Unreal engine\Projects\rpgtest\Plugins\VRM4U\Source\VRM4U\Private\VrmUtilImage.cpp(430): error C3861: 'LoadImageFromMemory': identifier not found PackagingResults: Error: missing ';' before identifier 'img' UATHelper: Packaging (Windows): G:\Unreal engine\Projects\rpgtest\Plugins\VRM4U\Source\VRM4U\Private\VrmUtilImage.cpp(433): error C2065: 'img': undeclared identifier UATHelper: Packaging (Windows): G:\Unreal engine\Projects\rpgtest\Plugins\VRM4U\Source\VRM4U\Private\VrmUtilImage.cpp(433): error C2065: 'img': undeclared identifier UATHelper: Packaging (Windows): G:\Unreal engine\Projects\rpgtest\Plugins\VRM4U\Source\VRM4U\Private\VrmUtilImage.cpp(433): error C3861: 'CreateTexture': identifier not found UATHelper: Packaging (Windows): G:\Unreal engine\Projects\rpgtest\Plugins\VRM4U\Source\VRM4U\Private\VrmUtilImage.cpp(440): error C2065: 'img': undeclared identifier UATHelper: Packaging (Windows): G:\Unreal engine\Projects\rpgtest\Plugins\VRM4U\Source\VRM4U\Private\VrmUtilImage.cpp(441): error C2065: 'img': undeclared identifier UATHelper: Packaging (Windows): G:\Unreal engine\Projects\rpgtest\Plugins\VRM4U\Source\VRM4U\Private\VrmUtilImage.cpp(441): error C2065: 'img': undeclared identifier UATHelper: Packaging (Windows): G:\Unreal engine\Projects\rpgtest\Plugins\VRM4U\Source\VRM4U\Private\VrmUtilImage.cpp(441): error C2660: 'FMemory::Memcpy': function does not take 1 arguments UATHelper: Packaging (Windows): G:\Unreal engine\UE_5.3\Engine\Source\Runtime\Core\Public\HAL\UnrealMemory.h(159): note: see declaration of 'FMemory::Memcpy' UATHelper: Packaging (Windows): G:\Unreal engine\UE_5.3\Engine\Source\Runtime\Core\Public\HAL\UnrealMemory.h(165): note: could be 'void FMemory::Memcpy(T &,const T &)' UATHelper: Packaging (Windows): G:\Unreal engine\Projects\rpgtest\Plugins\VRM4U\Source\VRM4U\Private\VrmUtilImage.cpp(441): note: 'void FMemory::Memcpy(T &,const T &)': expects 2 arguments - 1 provided UATHelper: Packaging (Windows): G:\Unreal engine\Projects\rpgtest\Plugins\VRM4U\Source\VRM4U\Private\VrmUtilImage.cpp(441): note: while trying to match the argument list '(uint8 *)' UATHelper: Packaging (Windows): G:\Unreal engine\Projects\rpgtest\Plugins\VRM4U\Source\VRM4U\Private\VrmUtilImage.cpp(516): error C2039: 'CreateTexture': is not a member of 'VRMUtil' UATHelper: Packaging (Windows): G:\Unreal engine\Projects\rpgtest\Plugins\VRM4U\Source\VRM4U\Public\VrmUtil.h(432): note: see declaration of 'VRMUtil' UATHelper: Packaging (Windows): G:\Unreal engine\Projects\rpgtest\Plugins\VRM4U\Source\VRM4U\Private\VrmUtilImage.cpp(587): error C2039: 'LoadImageFromMemory': is not a member of 'VRMUtil' UATHelper: Packaging (Windows): G:\Unreal engine\Projects\rpgtest\Plugins\VRM4U\Source\VRM4U\Public\VrmUtil.h(432): note: see declaration of 'VRMUtil' UATHelper: Packaging (Windows): G:\Unreal engine\Projects\rpgtest\Plugins\VRM4U\Source\VRM4U\Private\VrmUtilString.cpp(14): fatal error C1083: Cannot open include file: 'InterchangeHelper.h': No such file or directory UATHelper: Packaging (Windows): [14/17] Compile [x64] Module.VRM4URender.cpp UATHelper: Packaging (Windows): [15/17] Resource Default.rc2 UATHelper: Packaging (Windows): Total time in Parallel executor: 597.67 seconds UATHelper: Packaging (Windows): Total execution time: 629.84 seconds UATHelper: Packaging (Windows): Took 631.41s to run dotnet.exe, ExitCode=6 UATHelper: Packaging (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\wailw\AppData\Roaming\Unreal Engine\AutomationTool\Logs\G+Unreal+engine+UE_5.3\UBT-ActionRpgSystem-Win64-Shipping_2.txt) UATHelper: Packaging (Windows): AutomationTool executed for 0h 10m 51s UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=6 (6) UATHelper: Packaging (Windows): BUILD FAILED PackagingResults: Error: Unknown Error

ruyo commented 5 months ago

Hi. It appears that some of the source files are out of date or refer to something in development. Please try to get the plugin from the zip or the revision with the tag. Thanks.