[quote=“, post:2247, topic:30020”]
Last update on steam sessions module I missed excluding some source lines from building on android. I put up a patch that fixes those missed parts just now.
Thanks for this fast response, but unfortunately again I have problems.
I downloaded this:
4.21 AdvancedSessionsPlugin-4-21.zip - Google Drive
4.22 AdvancedSessionsPlugin-4-22.zip - Google Drive
I made completely new blank project (Unreal 4.21, plugin ver. 4.21) for android test. When I try to build with “Enabled”:
- Advanced Sessions
- Advanced Steam Sessions
Build failed with this log:
LogSlate: Took 0.000212 seconds to synchronously load lazily loaded font '../../../Engine/Content/Slate/Fonts/Roboto-Light.ttf' (167K)
UATHelper: Packaging (Android (DXT)): Running AutomationTool...
UATHelper: Packaging (Android (DXT)): Parsing command line: -ScriptsForProject="C:/UNREAL PROJECTS/Android_TestProject/Android_TestProject.uproject" BuildCookRun -nocompile -nocompileeditor -installed -nop4 -project="C:/UNREAL PROJECTS/Android_TestProject/Android_TestProject.uproject" -cook -stage -archive -archivedirectory="F:/Unreal TEST EXE" -package -cli
entconfig=Development -ue4exe=UE4Editor-Cmd.exe -pak -prereqs -nodebuginfo -targetplatform=Android -cookflavor=DXT -build -utf8output
UATHelper: Packaging (Android (DXT)): Setting up ProjectParams for C:\UNREAL PROJECTS\Android_TestProject\Android_TestProject.uproject
UATHelper: Packaging (Android (DXT)): ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Android (DXT)): Running: C:\Program Files\Epic Games\UE_4.21\Engine\Binaries\DotNET\UnrealBuildTool.exe Android_TestProject Android Development -Project="C:\UNREAL PROJECTS\Android_TestProject\Android_TestProject.uproject" "C:\UNREAL PROJECTS\Android_TestProject\Android_TestProject.uproject" -NoUBTMakefiles -remoteini="C:\UNREAL PROJE
CTS\Android_TestProject" -skipdeploy -Manifest="C:\UNREAL PROJECTS\Android_TestProject\Intermediate\Build\Manifest.xml" -NoHotReload -log="C:\Users heon\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.21\UBT-Android_TestProject-Android-Development.txt"
UATHelper: Packaging (Android (DXT)): PLATFORM_ANDROID_NDK_VERSION = 140200
UATHelper: Packaging (Android (DXT)): NDK toolchain: r14b, NDK version: 19, GccVersion: 4.9, ClangVersion: 3.8.275480
UATHelper: Packaging (Android (DXT)): Parsing headers for Android_TestProject
UATHelper: Packaging (Android (DXT)): Running UnrealHeaderTool "C:\UNREAL PROJECTS\Android_TestProject\Android_TestProject.uproject" "C:\UNREAL PROJECTS\Android_TestProject\Intermediate\Build\Android\Android_TestProject\Development\Android_TestProject.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsError
s -installed
UATHelper: Packaging (Android (DXT)): Reflection code generated for Android_TestProject in 9,5031046 seconds
UATHelper: Packaging (Android (DXT)): Compiling Native code with NDK API ''
UATHelper: Packaging (Android (DXT)): Writing manifest to C:\UNREAL PROJECTS\Android_TestProject\Intermediate\Build\Manifest.xml
UATHelper: Packaging (Android (DXT)): Building 6 actions with 4 processes...
UATHelper: Packaging (Android (DXT)): [1/6] Module.AdvancedSteamSessions.cpp [armv7-es2]
UATHelper: Packaging (Android (DXT)): In file included from C:/UNREAL PROJECTS/Android_TestProject/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Android/UE4/Development/AdvancedSteamSessions/Module.AdvancedSteamSessions.cpp:4:
UATHelper: Packaging (Android (DXT)): In file included from C:\UNREAL PROJECTS\Android_TestProject\Plugins\AdvancedSessions\AdvancedSteamSessions\Source\AdvancedSteamSessions\Private\AdvancedSteamWorkshopLibrary.cpp:2:
UATHelper: Packaging (Android (DXT)): C:/UNREAL PROJECTS/Android_TestProject/Plugins/AdvancedSessions/AdvancedSteamSessions/Source/AdvancedSteamSessions/Classes\AdvancedSteamWorkshopLibrary.h(220,30): error: unknown type name 'SteamUGCDetails_t'
UATHelper: Packaging (Android (DXT)): FBPSteamWorkshopItemDetails(SteamUGCDetails_t &hUGCDetails)
UATHelper: Packaging (Android (DXT)): ^
UATHelper: Packaging (Android (DXT)): C:/UNREAL PROJECTS/Android_TestProject/Plugins/AdvancedSessions/AdvancedSteamSessions/Source/AdvancedSteamSessions/Classes\AdvancedSteamWorkshopLibrary.h(239,36): error: unknown type name 'SteamUGCDetails_t'
UATHelper: Packaging (Android (DXT)): FBPSteamWorkshopItemDetails(const SteamUGCDetails_t &hUGCDetails)
UATHelper: Packaging (Android (DXT)): ^
UATHelper: Packaging (Android (DXT)): C:/UNREAL PROJECTS/Android_TestProject/Plugins/AdvancedSessions/AdvancedSteamSessions/Source/AdvancedSteamSessions/Classes\AdvancedSteamWorkshopLibrary.h(226,44): error: use of undeclared identifier 'k_cchPublishedDocumentTitleMax'
UATHelper: Packaging (Android (DXT)): Title = FString(hUGCDetails.m_rgchTitle, k_cchPublishedDocumentTitleMax);
UATHelper: Packaging (Android (DXT)): ^
UATHelper: Packaging (Android (DXT)): C:/UNREAL PROJECTS/Android_TestProject/Plugins/AdvancedSessions/AdvancedSteamSessions/Source/AdvancedSteamSessions/Classes\AdvancedSteamWorkshopLibrary.h(227,56): error: use of undeclared identifier 'k_cchPublishedDocumentDescriptionMax'
UATHelper: Packaging (Android (DXT)): Description = FString(hUGCDetails.m_rgchDescription, k_cchPublishedDocumentDescriptionMax);
UATHelper: Packaging (Android (DXT)): ^
UATHelper: Packaging (Android (DXT)): C:/UNREAL PROJECTS/Android_TestProject/Plugins/AdvancedSessions/AdvancedSteamSessions/Source/AdvancedSteamSessions/Classes\AdvancedSteamWorkshopLibrary.h(228,44): error: use of undeclared identifier 'k_cchPublishedFileURLMax'
UATHelper: Packaging (Android (DXT)): ItemUrl = FString(hUGCDetails.m_rgchURL, k_cchPublishedFileURLMax);
UATHelper: Packaging (Android (DXT)): ^
UATHelper: Packaging (Android (DXT)): C:/UNREAL PROJECTS/Android_TestProject/Plugins/AdvancedSessions/AdvancedSteamSessions/Source/AdvancedSteamSessions/Classes\AdvancedSteamWorkshopLibrary.h(245,44): error: use of undeclared identifier 'k_cchPublishedDocumentTitleMax'
UATHelper: Packaging (Android (DXT)): Title = FString(hUGCDetails.m_rgchTitle, k_cchPublishedDocumentTitleMax);
UATHelper: Packaging (Android (DXT)): ^
UATHelper: Packaging (Android (DXT)): C:/UNREAL PROJECTS/Android_TestProject/Plugins/AdvancedSessions/AdvancedSteamSessions/Source/AdvancedSteamSessions/Classes\AdvancedSteamWorkshopLibrary.h(246,56): error: use of undeclared identifier 'k_cchPublishedDocumentDescriptionMax'
UATHelper: Packaging (Android (DXT)): Description = FString(hUGCDetails.m_rgchDescription, k_cchPublishedDocumentDescriptionMax);
UATHelper: Packaging (Android (DXT)): ^
UATHelper: Packaging (Android (DXT)): C:/UNREAL PROJECTS/Android_TestProject/Plugins/AdvancedSessions/AdvancedSteamSessions/Source/AdvancedSteamSessions/Classes\AdvancedSteamWorkshopLibrary.h(247,44): error: use of undeclared identifier 'k_cchPublishedFileURLMax'
UATHelper: Packaging (Android (DXT)): ItemUrl = FString(hUGCDetails.m_rgchURL, k_cchPublishedFileURLMax);
UATHelper: Packaging (Android (DXT)): ^
UATHelper: Packaging (Android (DXT)): In file included from C:/UNREAL PROJECTS/Android_TestProject/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Android/UE4/Development/AdvancedSteamSessions/Module.AdvancedSteamSessions.cpp:5:
UATHelper: Packaging (Android (DXT)): C:\UNREAL PROJECTS\Android_TestProject\Plugins\AdvancedSessions\AdvancedSteamSessions\Source\AdvancedSteamSessions\Private\SteamRequestGroupOfficersCallbackProxy.cpp(45,76): error: unknown type name 'ClanOfficerListResponse_t'
UATHelper: Packaging (Android (DXT)): void USteamRequestGroupOfficersCallbackProxy::OnRequestGroupOfficerDetails(ClanOfficerListResponse_t *pResult, bool bIOFailure)
UATHelper: Packaging (Android (DXT)): ^
UATHelper: Packaging (Android (DXT)): In file included from C:/UNREAL PROJECTS/Android_TestProject/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Android/UE4/Development/AdvancedSteamSessions/Module.AdvancedSteamSessions.cpp:6:
UATHelper: Packaging (Android (DXT)): C:\UNREAL PROJECTS\Android_TestProject\Plugins\AdvancedSessions\AdvancedSteamSessions\Source\AdvancedSteamSessions\Private\SteamWSRequestUGCDetailsCallbackProxy.cpp(49,69): error: unknown type name 'SteamUGCQueryCompleted_t'
UATHelper: Packaging (Android (DXT)): void USteamWSRequestUGCDetailsCallbackProxy::OnUGCRequestUGCDetails(SteamUGCQueryCompleted_t *pResult, bool bIOFailure)
UATHelper: Packaging (Android (DXT)): ^
UATHelper: Packaging (Android (DXT)): 10 errors generated.
PackagingResults: Error: unknown type name 'SteamUGCDetails_t'
PackagingResults: Error: unknown type name 'SteamUGCDetails_t'
PackagingResults: Error: use of undeclared identifier 'k_cchPublishedDocumentTitleMax'
PackagingResults: Error: use of undeclared identifier 'k_cchPublishedDocumentDescriptionMax'
PackagingResults: Error: use of undeclared identifier 'k_cchPublishedFileURLMax'
PackagingResults: Error: use of undeclared identifier 'k_cchPublishedDocumentTitleMax'
PackagingResults: Error: use of undeclared identifier 'k_cchPublishedDocumentDescriptionMax'
PackagingResults: Error: use of undeclared identifier 'k_cchPublishedFileURLMax'
PackagingResults: Error: unknown type name 'ClanOfficerListResponse_t'
PackagingResults: Error: unknown type name 'SteamUGCQueryCompleted_t'
UATHelper: Packaging (Android (DXT)): [2/6] Module.AdvancedSteamSessions.gen.cpp [armv7-es2]
UATHelper: Packaging (Android (DXT)): In file included from C:/UNREAL PROJECTS/Android_TestProject/Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Android/UE4/Development/AdvancedSteamSessions/Module.AdvancedSteamSessions.gen.cpp:4:
UATHelper: Packaging (Android (DXT)): In file included from C:\UNREAL PROJECTS\Android_TestProject\Plugins\AdvancedSessions\AdvancedSteamSessions\Intermediate\Build\Android\UE4\Inc\AdvancedSteamSessions\AdvancedSteamWorkshopLibrary.gen.cpp:8:
UATHelper: Packaging (Android (DXT)): C:/UNREAL PROJECTS/Android_TestProject/Plugins/AdvancedSessions/AdvancedSteamSessions/Source\AdvancedSteamSessions/Classes/AdvancedSteamWorkshopLibrary.h(220,30): error: unknown type name 'SteamUGCDetails_t'
UATHelper: Packaging (Android (DXT)): FBPSteamWorkshopItemDetails(SteamUGCDetails_t &hUGCDetails)
UATHelper: Packaging (Android (DXT)): ^
UATHelper: Packaging (Android (DXT)): C:/UNREAL PROJECTS/Android_TestProject/Plugins/AdvancedSessions/AdvancedSteamSessions/Source\AdvancedSteamSessions/Classes/AdvancedSteamWorkshopLibrary.h(239,36): error: unknown type name 'SteamUGCDetails_t'
UATHelper: Packaging (Android (DXT)): FBPSteamWorkshopItemDetails(const SteamUGCDetails_t &hUGCDetails)
UATHelper: Packaging (Android (DXT)): ^
UATHelper: Packaging (Android (DXT)): C:/UNREAL PROJECTS/Android_TestProject/Plugins/AdvancedSessions/AdvancedSteamSessions/Source\AdvancedSteamSessions/Classes/AdvancedSteamWorkshopLibrary.h(226,44): error: use of undeclared identifier 'k_cchPublishedDocumentTitleMax'
UATHelper: Packaging (Android (DXT)): Title = FString(hUGCDetails.m_rgchTitle, k_cchPublishedDocumentTitleMax);
UATHelper: Packaging (Android (DXT)): ^
UATHelper: Packaging (Android (DXT)): C:/UNREAL PROJECTS/Android_TestProject/Plugins/AdvancedSessions/AdvancedSteamSessions/Source\AdvancedSteamSessions/Classes/AdvancedSteamWorkshopLibrary.h(227,56): error: use of undeclared identifier 'k_cchPublishedDocumentDescriptionMax'
UATHelper: Packaging (Android (DXT)): Description = FString(hUGCDetails.m_rgchDescription, k_cchPublishedDocumentDescriptionMax);
UATHelper: Packaging (Android (DXT)): ^
UATHelper: Packaging (Android (DXT)): C:/UNREAL PROJECTS/Android_TestProject/Plugins/AdvancedSessions/AdvancedSteamSessions/Source\AdvancedSteamSessions/Classes/AdvancedSteamWorkshopLibrary.h(228,44): error: use of undeclared identifier 'k_cchPublishedFileURLMax'
UATHelper: Packaging (Android (DXT)): ItemUrl = FString(hUGCDetails.m_rgchURL, k_cchPublishedFileURLMax);
UATHelper: Packaging (Android (DXT)): ^
UATHelper: Packaging (Android (DXT)): C:/UNREAL PROJECTS/Android_TestProject/Plugins/AdvancedSessions/AdvancedSteamSessions/Source\AdvancedSteamSessions/Classes/AdvancedSteamWorkshopLibrary.h(245,44): error: use of undeclared identifier 'k_cchPublishedDocumentTitleMax'
UATHelper: Packaging (Android (DXT)): Title = FString(hUGCDetails.m_rgchTitle, k_cchPublishedDocumentTitleMax);
UATHelper: Packaging (Android (DXT)): ^
UATHelper: Packaging (Android (DXT)): C:/UNREAL PROJECTS/Android_TestProject/Plugins/AdvancedSessions/AdvancedSteamSessions/Source\AdvancedSteamSessions/Classes/AdvancedSteamWorkshopLibrary.h(246,56): error: use of undeclared identifier 'k_cchPublishedDocumentDescriptionMax'
UATHelper: Packaging (Android (DXT)): Description = FString(hUGCDetails.m_rgchDescription, k_cchPublishedDocumentDescriptionMax);
UATHelper: Packaging (Android (DXT)): ^
UATHelper: Packaging (Android (DXT)): C:/UNREAL PROJECTS/Android_TestProject/Plugins/AdvancedSessions/AdvancedSteamSessions/Source\AdvancedSteamSessions/Classes/AdvancedSteamWorkshopLibrary.h(247,44): error: use of undeclared identifier 'k_cchPublishedFileURLMax'
UATHelper: Packaging (Android (DXT)): ItemUrl = FString(hUGCDetails.m_rgchURL, k_cchPublishedFileURLMax);
UATHelper: Packaging (Android (DXT)): ^
UATHelper: Packaging (Android (DXT)): 8 errors generated.
PackagingResults: Error: unknown type name 'SteamUGCDetails_t'
PackagingResults: Error: unknown type name 'SteamUGCDetails_t'
PackagingResults: Error: use of undeclared identifier 'k_cchPublishedDocumentTitleMax'
PackagingResults: Error: use of undeclared identifier 'k_cchPublishedDocumentDescriptionMax'
PackagingResults: Error: use of undeclared identifier 'k_cchPublishedFileURLMax'
PackagingResults: Error: use of undeclared identifier 'k_cchPublishedDocumentTitleMax'
PackagingResults: Error: use of undeclared identifier 'k_cchPublishedDocumentDescriptionMax'
PackagingResults: Error: use of undeclared identifier 'k_cchPublishedFileURLMax'
UATHelper: Packaging (Android (DXT)): [3/6] Android_TestProject.cpp [armv7-es2]
UATHelper: Packaging (Android (DXT)): [4/6] Module.AdvancedSessions.gen.cpp [armv7-es2]
UATHelper: Packaging (Android (DXT)): [5/6] Module.AdvancedSessions.cpp [armv7-es2]
UATHelper: Packaging (Android (DXT)): ERROR: UBT ERROR: Failed to produce item: C:\UNREAL PROJECTS\Android_TestProject\Binaries\Android\Android_TestProject-armv7-es2.so
UATHelper: Packaging (Android (DXT)): (see C:\Users heon\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.21\UBT-Android_TestProject-Android-Development.txt for full exception trace)
PackagingResults: Error: UBT ERROR: Failed to produce item: C:\UNREAL PROJECTS\Android_TestProject\Binaries\Android\Android_TestProject-armv7-es2.so
UATHelper: Packaging (Android (DXT)): Total build time: 42,02 seconds (Parallel executor: 0,00 seconds)
UATHelper: Packaging (Android (DXT)): Took 42,4550044s to run UnrealBuildTool.exe, ExitCode=5
UATHelper: Packaging (Android (DXT)): ERROR: UnrealBuildTool failed. See log for more details. (C:\Users heon\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.21\UBT-Android_TestProject-Android-Development.txt)
UATHelper: Packaging (Android (DXT)): (see C:\Users heon\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.21\Log.txt for full exception trace)
PackagingResults: Error: UnrealBuildTool failed. See log for more details. (C:\Users heon\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.21\UBT-Android_TestProject-Android-Development.txt)
UATHelper: Packaging (Android (DXT)): AutomationTool exiting with ExitCode=5 (5)
UATHelper: Packaging (Android (DXT)): BUILD FAILED
PackagingResults: Error: Unknown Error
I tried blank project with Unreal 4.22 and plugin ver. 4.22, but again no difference, build failed.
Can you try this on new project? Maybe I wrong something.