Advanced Sessions Plugin

[quote=“Captain_Nick, post:#Post:0x000055984f83a198, topic:30020”]

Alright, I am running it through the Game instance: I am still getting Failed when attempting to create a game

I have attached the advanced sessions 4.22 listed below but my plugins still say 4.21 (i have added them twice to check)

I am only a student and I had 4.21 running fine. hope you can assist me and thank you for your time

After I have been looking into it. it only fails as a VR player.

When I run as an FPS pawn(child of VR), it will connect through steam every time, players can join and all is well.
when I attempt to create a game as a VR player it only ever creates a game 1/10 times and the rest fail.

I am currently running the create advanced session inside my GameInstance and I get the same player controller display name from both pawns, This is being tested through a packaged project.

if I have the advance session start on begin play of the level blueprint, it will also load every time for either player and successfully make a game.

I am using the expansion plugin VRcharcter class

[quote=“Captain_Nick”]

After I have been looking into it. it only fails as a VR player.

When I run as an FPS pawn(child of VR), it will connect through steam every time, players can join and all is well.
when I attempt to create a game as a VR player it only ever creates a game 1/10 times and the rest fail.

I am currently running the create advanced session inside my GameInstance and I get the same player controller display name from both pawns, This is being tested through a packaged project.

if I have the advance session start on begin play of the level blueprint, it will also load every time for either player and successfully make a game.

I am using the expansion plugin VRcharcter class

The only issues with the subsystems that I have ran into with VR is SteamVR Home blocking it and having to turn that off when launching outside of steam. When launching from steam itself steamvr home shuts down for the game to run.

I haven’t tested it recently as I haven’t had a use for steamVR home and leave it off, but that was a massive problem at least originally with it.

Hi , for future versions, is it possible to add ADVANCEDSESSIONS_API to library class declaration?



UCLASS()
class ADVANCEDSESSIONS_API UAdvancedSessionsLibrary : public UBlueprintFunctionLibrary
{


[quote=“Curs0, post:2236, topic:30020”]

Hi , for future versions, is it possible to add ADVANCEDSESSIONS_API to library class declaration?



UCLASS()
class ADVANCEDSESSIONS_API UAdvancedSessionsLibrary : public UBlueprintFunctionLibrary
{


I “could” add it, but generally I was avoiding promoting the nodes being used in c++? They are not only less efficient than straight C++ implementations would be, but some of them straight up won’t work easily in c++ (the latent nodes).

The library is generally intended as a translation layer to allow BP users to access what is already available in C++.

Hi youre great man, very helpful very good person, I am also using your VR plugin, thank you so much for those great things.

My question is; When I try to cook nativization build, I recieve those errors. I dont understand why it says “no such file or directory” If I dont enable nativization everything works fine. Does it makes any sense for you? I am using UnrealEngine 4.22.3 and visual basic 2019. Sorry for Turkish characters I even couldnt understand what it says because i cant see:) This blueprint-“SteamState” is a blueprint which have advanced session nodes. There is something wrong with nativization and plugin but I’m sure its my mistake. I installed latest plugin. Thank you…

UATHelper: Packaging (Windows (64-bit)): C:\Users\ACM\Documents\Unreal Projects\Uruz_ErKishi\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Public\SteamState__pf3651637790.h(3): fatal error C1083: i�erme dosyas� a��lam�yor: ‘…/Plugins/AdvancedSessions/AdvancedSessions/Source/AdvancedSessions/Classes/BlueprintDataDefinitions.h’: No such file or directory
UATHelper: Packaging (Windows (64-bit)):
UATHelper: Packaging (Windows (64-bit)): Error executing C:\Program Files\Epic Games\UE_4.22\Engine\Build\Windows\cl-filter\cl-filter.exe (tool returned code: 2)
UATHelper: Packaging (Windows (64-bit)): Module.NativizedAssets.11_of_55.cpp (0:26.14 at +0:51)
UATHelper: Packaging (Windows (64-bit)): C:\Users\ACM\Documents\Unreal Projects\Uruz_ErKishi\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Public\SteamState__pf3651637790.h(3): fatal error C1083: i�erme dosyas� a��lam�yor: ‘…/Plugins/AdvancedSessions/AdvancedSessions/Source/AdvancedSessions/Classes/BlueprintDataDefinitions.h’: No such file or directory
UATHelper: Packaging (Windows (64-bit)):
UATHelper: Packaging (Windows (64-bit)): Error executing C:\Program Files\Epic Games\UE_4.22\Engine\Build\Windows\cl-filter\cl-filter.exe (tool returned code: 2)
UATHelper: Packaging (Windows (64-bit)): Module.NativizedAssets.2_of_55.cpp (0:24.11 at +1:17)
UATHelper: Packaging (Windows (64-bit)): C:\Users\ACM\Documents\Unreal Projects\Uruz_ErKishi\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Public\SteamState__pf3651637790.h(3): fatal error C1083: i�erme dosyas� a��lam�yor: ‘…/Plugins/AdvancedSessions/AdvancedSessions/Source/AdvancedSessions/Classes/BlueprintDataDefinitions.h’: No such file or directory
UATHelper: Packaging

[quote=“, post:2237, topic:30020”]

I “could” add it, but generally I was avoiding promoting the nodes being used in c++? They are not only less efficient than straight C++ implementations would be, but some of them straight up won’t work easily in c++ (the latent nodes).

The library is generally intended as a translation layer to allow BP users to access what is already available in C++.

just copy-pasted some of your c++ library routines, thanks anyway

[quote=“Curs0, post:2239, topic:30020”]

just copy-pasted some of your c++ library routines, thanks anyway

Oh, if it is the function library then that one can likely be exposed. I thought you meant in general.

[quote=“, post:2235, topic:30020”]

The only issues with the subsystems that I have ran into with VR is SteamVR Home blocking it and having to turn that off when launching outside of steam. When launching from steam itself steamvr home shuts down for the game to run.

I haven’t tested it recently as I haven’t had a use for steamVR home and leave it off, but that was a massive problem at least originally with it.

Thanks for the reply. (Disabled steamvrhome)

I can make a game every time as a first person character inside the game instance through a settings hud or on a overlap trigger, people can see the game and join when also running FPS pawns

I can host a game in VR on the overlap trigger but not through the game instance but the session can’t be seen by anyone else, regardless of if they are a fps or vr pawn

I have also packaged out a dedicated server that appears to be hosting a game but that also can’t be seen by anyone.
​​​​​​

​​​​​​Thanks

Every time someone tries to find a game it says this in the logs “Ignoring game search request while one is pending”
I should also mention when steam is not open I can join I am not sure why.

[quote=“anonymous_user_81b4ffd2, post:2241, topic:30020”]

Thanks for the reply. (Disabled steamvrhome)

I can make a game every time as a first person character inside the game instance through a settings hud or on a overlap trigger, people can see the game and join when also running FPS pawns

I can host a game in VR on the overlap trigger but not through the game instance but the session can’t be seen by anyone else, regardless of if they are a fps or vr pawn

I have also packaged out a dedicated server that appears to be hosting a game but that also can’t be seen by anyone.
​​​​​​

​​​​​​Thanks

There is no game engine difference between VR and non VR for sessions unless something like SteamHome is interferring. Does the log actually state that it was enacted without issues?

[quote=“Łukе, post:2242, topic:30020”]

Every time someone tries to find a game it says this in the logs “Ignoring game search request while one is pending”
I should also mention when steam is not open I can join I am not sure why.

Are you sure that you are not double searching? Or trying to find another one without canceling the previous operation that hasn’t completed yet?

Yeah I checked it’s not doing it twice, it works when I end the steam task but does not work when steam is open I am not sure why because I did the online subsystem thing for steam.

Hi ,
can you make ps4 and xbox version this plugin ?

thanks
sincerely

Hello,

I have few questions about Advanced Sessions Plugin and Android.

First of all I am with: Unreal 4.21.2, Blueprint project (Not C++),
and my project: Config/DefaultEngine.ini file have this:


+NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="OnlineSubsystemSteam.SteamNetDriver",DriverClassNameFallback="OnlineSubsystemUtils.IpNetDriver")

[OnlineSubsystem]
PollingIntervalInMs=20
DefaultPlatformService=Steam
VoiceNotificationDelta=0.2

[/Script/OnlineSubsystemSteam.SteamNetDriver]
NetConnectionClassName=OnlineSubsystemSteam.SteamNetConnection

So, I using PC “Steam” subsystem for building my game (not NULL system) and everything works fine.

Question 1:

When I try to switch Android build I see errors in Output log window.
Advanced Sessions Plugin have 2 parts:

  • Advanced Sessions
  • Advanced Steam Sessions

If Advanced Steam Sessions part is Disabled, Android building works fine, but only if I remove some specific blueprint nodes for Steam
like a “Open Steam user Overlay”, “Get Steam Friend avatar” and so on.

So, “Advanced Steam Sessions” plugin part can’t be Enabled and build for Android, right? Every time must be Disabled before Android build? Ok,
this is fine, but how I can have one project for Steam and Android build without removing/adding every time Steam specific nodes in the project?
These nodes must be completely removed from the entire project or Android building not work. Is there a easy way to switch between Steam/Android on a same project? It’s hard for maintaining, and I don’t want to cloning the project 2 times, one for Steam, one for Android.

Question 2:

Node “Execute Console Command” with command “servertravel LevelName” not work on Android?

Question 3:

Steam can register your server IP and you can get it with node “Find Sessions”. Can I using the same thing with Google Play services? If not… only direct IP connect working (if you know it)? Can I host a game on Android with Listen Server or only Dedicated Server working? And where this working: LAN or Internet.

Question 4:

Which of the following variants is possible for online game:

  • Listen Server Android - Client PC ?
  • Client Android - Listen Server PC ?
  • Listen Server Android - Client Android ?
  • Client Android - Dedicated Server PC ?

Thanks! :slight_smile:

[quote=“theone866, post:2246, topic:30020”]

Hello,

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.

It should work now and just have those nodes fail out when on the wrong platform.

As for cross platform between android and non android, you won’t be able to find hosted sessions between steam and google play, you would need a cross platform subsystem for that or direct / LAN with NULL.

[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.

[quote=“theone866, post:2248, topic:30020”]

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:

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.

I did not update the zip files, I only updated the repository for those builds.

I can re-build the 4.22 zip files but I generally keep legacy engine versions “supported” with bug fixes through the repository so 4.21 I likely won’t be redownloading the engine to rebuild that fix in for.

Repository is here ?
https://bitbucket.org//advancedsessionsplugin/src/default/

And I need Visual Studio to rebuild the plugin for 4.21 with updated files from this repository?

I’ll appreciate if you can update ZIP files for 4.22 here:

[quote=“theone866, post:2250, topic:30020”]

Repository is here ?
https://bitbucket.org//adv…n/src/default/

And I need Visual Studio to rebuild the plugin for 4.21 with updated files from this repository?

I’ll appreciate if you can update ZIP files for 4.22 here:
https://drive.google.com/file/d/1xBz…fG1c5NJzU/view

I will be updating the 4.22 version, but I have to finish some 4.23 compilations first

Also I always suggest that people use the source copies if possible for this very reason, patches can be seamlessly backported.

Edit Uploaded a re-built binaries packaged for 4.22

[quote=“VaultedSky, post:2232, topic:30020”]

(Oops, might have double posted on my other account, if it shows up disregard!)

Oh, must have missed that. Thank you! I’ve updated our Target.CS with that stuff. For shipping ID we used our AppID, and the rest matches the data in Steamworks Settings -> Application -> Dedicated Servers.

Oddly, the problem still persists. The Create Advanced Sessions node won’t ever fire On Success or On Failed, just hangs forever.
We’re gonna try to debug it in VS soon, just wanted to see if something else jumped out that could be a problem.

Thanks!

Hey there , sorry to bother you again with this.

Inexplicably, Create Advanced Session on my dedicated server still never completes. This worked in 4.19 just fine, now I’m on 4.22 and I’ve done the Target.cs changes you mentioned, didn’t make a difference.

Create Advanced Session does not fail nor succeed, those exec pins never fire. The async exec does fire. Listen servers work perfectly, it’s just my dedicated server where it hangs indefinitely. It seems to be hooking into Steam, the logs say Steam Net Driver is loading and there’s nothing I can see that looks suspicious. Trying really hard to debug it, but limited C++ knowledge here is making it very difficult.

LogOnline: Display: STEAM: Loading Steam SDK 1.39
LogOnline: Verbose: OSS: Creating online subsystem instance for: Steam
LogOnline: Verbose: STEAM: Initializing Steam Game Server IP: 0x00000000 Port: 7777 SteamPort: 7778 QueryPort: 27015
LogOnline: STEAM: [AppId: MY APP ID] Game Server API initialized 1
LogOnline: STEAM: Missing P2PCleanupTimeout key in OnlineSubsystemSteam of DefaultEngine.ini, using default

(Blocked out my appID)

I’ve got all the steam DLLs in my binaries/win64 folder too.

Any idea what might be going on here?

[quote=“VaultedSky, post:2252, topic:30020”]

Hey there , sorry to bother you again with this.

Inexplicably, Create Advanced Session on my dedicated server still never completes. This worked in 4.19 just fine, now I’m on 4.22 and I’ve done the Target.cs changes you mentioned, didn’t make a difference.

Create Advanced Session does not fail nor succeed, those exec pins never fire. The async exec does fire. Listen servers work perfectly, it’s just my dedicated server where it hangs indefinitely. It seems to be hooking into Steam, the logs say Steam Net Driver is loading and there’s nothing I can see that looks suspicious. Trying really hard to debug it, but limited C++ knowledge here is making it very difficult.

LogOnline: Display: STEAM: Loading Steam SDK 1.39
LogOnline: Verbose: OSS: Creating online subsystem instance for: Steam
LogOnline: Verbose: STEAM: Initializing Steam Game Server IP: 0x00000000 Port: 7777 SteamPort: 7778 QueryPort: 27015
LogOnline: STEAM: [AppId: MY APP ID] Game Server API initialized 1
LogOnline: STEAM: Missing P2PCleanupTimeout key in OnlineSubsystemSteam of DefaultEngine.ini, using default

(Blocked out my appID)

I’ve got all the steam DLLs in my binaries/win64 folder too.

Any idea what might be going on here?

Can’t really tell anything from that, the P2PCleanupTimeout is a new setting that they added to 4.22 but it should default to 1.5 seconds when not specified so that shouldn’t be an issue. I wouldn’t know why your server is hanging in 4.22 without any information to go on. I would suggest reporting it to Epic though, they would be in the better position to fix it as it should be in their end and their new dedicated server changes.