mordentral / AdvancedSessionsPlugin

Advanced Sessions Plugin for UE4
https://www.vreue4.com
MIT License
597 stars 141 forks source link

Steam subsytem fails to load on packaging for windows #10

Closed ForceBlood closed 3 years ago

ForceBlood commented 3 years ago

I get the following in the logs when I try to package my game for windows

LogPluginManager: Mounting plugin OnlineSubsystemSteam
LogPluginManager: Mounting plugin SteamVR
LogPluginManager: Mounting plugin SteamShared
LogPluginManager: Mounting plugin AdvancedSteamSessions
LogOnline: Warning: OSS: TryLoadSubsystemAndSetDefault: LoadSubsystemModule([Steam]) failed
LogSteamShared: Display: Loading Steam SDK 1.51
LogSteamShared: Steam SDK Loaded!
LogClass: Display: BoolProperty FBPSteamGroupOfficer::bIsOwner is not initialized properly. Module:AdvancedSteamSessions File:Classes/SteamRequestGroupOfficersCallbackProxy.h
LogClass: Display: IntProperty FBPSteamGroupInfo::numOnline is not initialized properly. Module:AdvancedSteamSessions File:Classes/AdvancedSteamFriendsLibrary.h
LogClass: Display: IntProperty FBPSteamGroupInfo::numInGame is not initialized properly. Module:AdvancedSteamSessions File:Classes/AdvancedSteamFriendsLibrary.h
LogClass: Display: IntProperty FBPSteamGroupInfo::numChatting is not initialized properly. Module:AdvancedSteamSessions File:Classes/AdvancedSteamFriendsLibrary.h
UATHelper: Packaging (Windows (64-bit)):     [1/7] Module.AdvancedSteamSessions.gen.cpp
UATHelper: Packaging (Windows (64-bit)):     [2/7] Module.AdvancedSteamSessions.cpp
UATHelper: Packaging (Windows (64-bit)):   LogSteamShared: Display: Loading Steam SDK 1.51
UATHelper: Packaging (Windows (64-bit)):   LogOnline: Display: STEAM: OnlineSubsystemSteam::Shutdown()
UATHelper: Packaging (Windows (64-bit)):   LogClass: Display: BoolProperty FBPSteamGroupOfficer::bIsOwner is not initialized properly. Module:AdvancedSteamSessions File:Classes/SteamRequestGroupOfficersCallbackProxy.h
UATHelper: Packaging (Windows (64-bit)):   LogClass: Display: IntProperty FBPSteamGroupInfo::numOnline is not initialized properly. Module:AdvancedSteamSessions File:Classes/AdvancedSteamFriendsLibrary.h
UATHelper: Packaging (Windows (64-bit)):   LogClass: Display: IntProperty FBPSteamGroupInfo::numInGame is not initialized properly. Module:AdvancedSteamSessions File:Classes/AdvancedSteamFriendsLibrary.h
UATHelper: Packaging (Windows (64-bit)):   LogClass: Display: IntProperty FBPSteamGroupInfo::numChatting is not initialized properly. Module:AdvancedSteamSessions File:Classes/AdvancedSteamFriendsLibrary.h
UATHelper: Packaging (Windows (64-bit)):   LogCook: Display: Inisetting is different for  Engine OnlineSubsystemSteam bEnabled 0, value true != false invalidating cook
UATHelper: Packaging (Windows (64-bit)):   LogCook: Display: To avoid this add blacklist setting to DefaultEditor.ini [CookSettings] Engine:OnlineSubsystemSteam

Hope you can help me

OneVoltTen commented 3 years ago

I can see at least three issues here, feel free to add me on Discord OneVoltTen#7811

OneVoltTen commented 3 years ago

Your config file is not setup correctly LogOnline: Warning: OSS: TryLoadSubsystemAndSetDefault: LoadSubsystemModule([Steam]) failed Advanced Sessions is not initialized properly looks like it tried to load but it wasn't setup FBPSteamGroupInfo::numOnline is not initialized properly You have not setup your config file

ForceBlood commented 3 years ago

I put

[/Script/Engine.GameEngine]
+NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="OnlineSubsystemSteam.SteamNetDriver",DriverClassNameFallback="OnlineSubsystemUtils.IpNetDriver")

[OnlineSubsystem]
DefaultPlatformService=Steam

[OnlineSubsystemSteam]
bEnabled=true
SteamDevAppId=480

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

inside my DefaultEngine.ini

Is there another config file that I need to edit to make it work?

ForceBlood commented 3 years ago

Sent you a friend request on discord. My username is Destiny#2923