Description

Disabling Online Subsystem prevents the project from loading. On Windows, this produces an error shown in attached screenshot. On Linux, this causes a crash with the attached callstack on project launch.

Workaround:
Removing Online Subsystem info from .uproject file will allow the project to open, however Online Subsystem will show as Enabled in the Plugins menu.

Steps to Reproduce
  1. Open UE4 Editor (any project)
  2. Navigate to Edit->Plugins
  3. Click on "Build-In" and search Online Subsystem in the search bar
  4. Disable Online Subsystem plugin and restart the editor

Result:
Project will fail to restart because UE4Editor-OnlineSubsystem.dll is missing.

Expected:
Project starts with Online Subsystem disabled

Callstack
Tried to get module interface for unloaded module: 'OnlineSubsystem'[Callstack]  00  0x00007f67dec9b24f  FLinuxPlatformStackWalk::CaptureStackBackTrace(unsigned long long*, unsigned int, void*)
[Callstack]  01  0x00007f67deb7eec5  FGenericPlatformStackWalk::StackWalkAndDump(char*, unsigned long, int, void*)
[Callstack]  02  0x00007f67deca0b54  FDebug::LogAssertFailedMessage(char const*, char const*, int, wchar_t const*, ...)
[Callstack]  03  0x00007f67633e443b  FOnlineSubsystemModule& FModuleManager::GetModuleChecked<FOnlineSubsystemModule>(FName)
[Callstack]  04  0x00007f67633e10ee  FOnlineSubsystemNullModule::StartupModule()
[Callstack]  05  0x00007f67ded6e7a8  FModuleManager::LoadModuleWithFailureReason(FName, EModuleLoadResult&, bool)
[Callstack]  06  0x00007f67d90f354a  FModuleDescriptor::LoadModulesForPhase(ELoadingPhase::Type, TArray<FModuleDescriptor, FDefaultAllocator> const&, TMap<FName, EModuleLoadResult, FDefaultSetAllocator, TDefaultMapKeyFuncs<FName, EModuleLoadResult, false> >&)
[Callstack]  07  0x00007f67d90fba44  FPluginManager::LoadModulesForEnabledPlugins(ELoadingPhase::Type)
[Callstack]  08  0x000000000042b227  FEngineLoop::LoadStartupModules() [/home/doug/Documents/github/4.15.1/Engine/Source/Runtime/Launch/Private/LaunchEngineLoop.cpp, line 2395]
[Callstack]  09  0x000000000041954d  FEngineLoop::PreInit(wchar_t const*) [/home/doug/Documents/github/4.15.1/Engine/Source/Runtime/Launch/Private/LaunchEngineLoop.cpp, line 1832]
[Callstack]  10  0x0000000000424e38  GuardedMain(wchar_t const*) [/home/doug/Documents/github/4.15.1/Engine/Source/Runtime/Launch/Private/Launch.cpp, line 42]
[Callstack]  11  0x00007f67d4da50bc  CommonLinuxMain(int, char**, int (*)(wchar_t const*))
[Callstack]  12  0x00007f67d414a830  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f67d414a830]
[Callstack]  13  0x0000000000414f39  /home/doug/Documents/github/4.15.1/Engine/Binaries/Linux/UE4Editor(_start+0x29) [0x414f39]

[2017.04.25-14.04.31:413][  0]LogLinux:Error: appError called: Assertion failed: Assertion failed: ModuleManager.IsModuleLoaded(ModuleName) [File:Runtime/Core/Public/Modules/ModuleManager.h] [Line: 258] 
Tried to get module interface for unloaded module: 'OnlineSubsystem'

Signal 11 caught.
Malloc Size=131076 LargeMemoryPoolOffset=131092 
CommonLinuxCrashHandler: Signal=11
Malloc Size=65535 LargeMemoryPoolOffset=196655 
[2017.04.25-14.04.31:483][  0]LogLinux: === Critical error: ===
Unhandled Exception: SIGSEGV: invalid attempt to write memory at address 0x0000000000000003

[2017.04.25-14.04.31:483][  0]LogLinux: Assertion failed: Assertion failed: ModuleManager.IsModuleLoaded(ModuleName) [File:Runtime/Core/Public/Modules/ModuleManager.h] [Line: 258] 
Tried to get module interface for unloaded module: 'OnlineSubsystem'


[Callstack]  00  0x00007f67dec9b24f  FLinuxPlatformStackWalk::CaptureStackBackTrace(unsigned long long*, unsigned int, void*)
[Callstack]  01  0x00007f67deb7eec5  FGenericPlatformStackWalk::StackWalkAndDump(char*, unsigned long, int, void*)
[Callstack]  02  0x00007f67dec5ace1  FLinuxCrashContext::CaptureStackTrace()
[Callstack]  03  0x00007f67d4da4220  CommonLinuxCrashHandler(FGenericCrashContext const&)
[Callstack]  04  0x00007f67dec5f625  PlatformCrashHandler(int, siginfo_t*, void*)
[Callstack]  05  0x00007f67e4962390  /lib/x86_64-linux-gnu/libpthread.so.0(+0x11390) [0x7f67e4962390]
[Callstack]  06  0x00007f67deb72d5b  FGenericPlatformMisc::RaiseException(unsigned int)
[Callstack]  07  0x00007f67dec69c28  FOutputDeviceLinuxError::Serialize(wchar_t const*, ELogVerbosity::Type, FName const&)
[Callstack]  08  0x00007f67ded3df47  FOutputDevice::Logf(wchar_t const*, ...)
[Callstack]  09  0x00007f67deca095a  FDebug::AssertFailed(char const*, char const*, int, wchar_t const*, ...)
[Callstack]  10  0x00007f67633e44ac  FOnlineSubsystemModule& FModuleManager::GetModuleChecked<FOnlineSubsystemModule>(FName)
[Callstack]  11  0x00007f67633e10ee  FOnlineSubsystemNullModule::StartupModule()
[Callstack]  12  0x00007f67ded6e7a8  FModuleManager::LoadModuleWithFailureReason(FName, EModuleLoadResult&, bool)
[Callstack]  13  0x00007f67d90f354a  FModuleDescriptor::LoadModulesForPhase(ELoadingPhase::Type, TArray<FModuleDescriptor, FDefaultAllocator> const&, TMap<FName, EModuleLoadResult, FDefaultSetAllocator, TDefaultMapKeyFuncs<FName, EModuleLoadResult, false> >&)
[Callstack]  14  0x00007f67d90fba44  FPluginManager::LoadModulesForEnabledPlugins(ELoadingPhase::Type)
[Callstack]  15  0x000000000042b227  FEngineLoop::LoadStartupModules() [/home/doug/Documents/github/4.15.1/Engine/Source/Runtime/Launch/Private/LaunchEngineLoop.cpp, line 2395]
[Callstack]  16  0x000000000041954d  FEngineLoop::PreInit(wchar_t const*) [/home/doug/Documents/github/4.15.1/Engine/Source/Runtime/Launch/Private/LaunchEngineLoop.cpp, line 1832]
[Callstack]  17  0x0000000000424e38  GuardedMain(wchar_t const*) [/home/doug/Documents/github/4.15.1/Engine/Source/Runtime/Launch/Private/Launch.cpp, line 42]
[Callstack]  18  0x00007f67d4da50bc  CommonLinuxMain(int, char**, int (*)(wchar_t const*))
[Callstack]  19  0x00007f67d414a830  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f67d414a830]
[Callstack]  20  0x0000000000414f39  /home/doug/Documents/github/4.15.1/Engine/Binaries/Linux/UE4Editor(_start+0x29) [0x414f39]

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Fixed
ComponentUE - Foundation - Core
Affects Versions4.15.14.164.17
Target Fix4.17
Fix Commit3386999
Main Commit3421020
CreatedApr 25, 2017
ResolvedApr 26, 2017
UpdatedMay 3, 2017
View Jira Issue