Summary
UE4.27 crashes in OnlineSubsystemSteam due to failed SessionType assertion in OnlineSessionInterfaceSteam.cpp (Line 629)
The game crashes when using Steam Online Subsystem session functionality. The crash occurs inside Unreal Engine’s Steam Online Subsystem code due to an assertion failure involving the session type.
What Type of Bug are you experiencing?
Online
Steps to Reproduce
Steps to Reproduce
Create or open a UE4.27 C++ project.
Enable and configure the Steam Online Subsystem.
Configure the project to use Steam for online session functionality.
Launch the game.
Trigger the Steam online session functionality.
The game crashes with an assertion failure in OnlineSessionInterfaceSteam.cpp.
Expected Result
The Steam Online Subsystem should correctly handle the session type and allow online session operations to execute without crashing.
The game should handle valid Steam lobby sessions without triggering an assertion failure.
Expected Result
The Steam Online Subsystem should correctly handle the session type and allow online session operations to execute without crashing.
The game should handle valid Steam lobby sessions without triggering an assertion failure.
Observed Result
The game crashes and closes with the following assertion failure:
Assertion failed: SessionInfo->SessionType == ESteamSession::LobbySession
File:
Engine/Plugins/Online/OnlineSubsystemSteam/Source/Private/OnlineSessionInterfaceSteam.cpp
Line: 629
Error:
SessionInfo->SessionType == ESteamSession::LobbySession
This appears to indicate that the Steam Online Subsystem is encountering a session type that does not match the expected LobbySession type.
Engine Version: Unreal Engine 4.27
Subsystem: OnlineSubsystemSteam
Project: SPDPlayerDataProject
Affects Versions
4.27
Platform(s)
Windows
Upload an image
Additional Notes
I just created a standard project enabled steam packaged project that happens
