Description

This is not a regression.
Doesn't affect UE5.

The editor crashes on start up after enabling EOS Voice Chat, and updating the .ini to include DefaultPlatformService=EOS. Removing DefaultPlatformService=EOS from the .ini will allow the editor to launch without crashing. Disabling EOS Voice Chat but includingDefaultPlatformService=EOS will allow the editor to launch as well.

 

From the logs this seems to be the culprit, but I'm not certain:

OSS: FOnlineSubsystemEOS::PlatformCreate() failed to find artifact settings object for artifact ()

Users reported that this line is blank in the .ini(or not included at all)

[/Script/OnlineSubsystemEOS.EOSSettings] 
CacheDir=CacheDir DefaultArtifactName=

When it should contain a name:

[/Script/OnlineSubsystemEOS.EOSSettings] 
CacheDir= DefaultArtifactName=MyGameStaging

Updating that line seems to resolve the crash.

Steps to Reproduce
  1. Create a new blank project without starter content.
  2. Go to Edit/Plugins then enable EOS Shared, EOS Voice Chat, and Online Subsystem EOS
  3. Restart the editor
  4. Open the Project's DefaultEngine.ini from the config folder
  5. Add the following at the bottom of the .ini:
    [OnlineSubsystemEOS]
    bEnabled=true
    
    [OnlineSubsystem]
    DefaultPlatformService=EOS
    
    [/Script/Engine.GameEngine]
    +NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="OnlineSubsystemEOS.NetDriverEOS",DriverClassNameFallback="OnlineSubsystemUtils.IpNetDriver")
    
    [/Script/OnlineSubsystemEOS.NetDriverEOS]
    bIsUsingP2PSockets=true
    
  1. Save then close the .ini
  2. Close the project
  3. Reopen the project

Expected Results:
The Editor launches and behaves as normal.

Actual Results:
Editor crashes on start up.

Callstack
ntdll!7fff1e860000  + 9c144
KERNELBASE!7fff1c660000  + 38ba3
UE4Editor-Core!ReportCrash(_EXCEPTION_POINTERS *) [WindowsPlatformCrashContext.cpp:1591]
UE4Editor!7ff7166f0000  + 3b7ff
VCRUNTIME140!7fff101f0000  + ecf0
ntdll!7fff1e860000  + a11ff
ntdll!7fff1e860000  + 6a289
ntdll!7fff1e860000  + 6a043
KERNELBASE!7fff1c660000  + 3a839
UE4Editor-Core!ReportAssert(wchar_t const *,int) [WindowsPlatformCrashContext.cpp:1644]
UE4Editor-Core!FWindowsErrorOutputDevice::Serialize(wchar_t const *,ELogVerbosity::Type,FName const &) [WindowsErrorOutputDevice.cpp:78]
UE4Editor-Core!FOutputDevice::LogfImpl(wchar_t const *,...) [OutputDevice.cpp:61]
UE4Editor-Core!static void AssertFailedImplV(const char *, const char *, int, const wchar_t *, char *) [AssertionMacros.cpp:104]
UE4Editor-Core!FDebug::CheckVerifyFailedImpl(char const *,char const *,int,wchar_t const *,...) [AssertionMacros.cpp:461]
UE4Editor-OnlineSubsystemEOS!FOnlineSubsystemEOS::Shutdown() [OnlineSubsystemEOS.cpp:400]
UE4Editor-OnlineSubsystemEOS!FOnlineFactoryEOS::CreateSubsystem(FName) [OnlineSubsystemModuleEOS.cpp:42]
UE4Editor-OnlineSubsystem!FOnlineSubsystemModule::GetOnlineSubsystem(FName) [OnlineSubsystemModule.cpp:350]
UE4Editor-OnlineSubsystem!FOnlineSubsystemModule::TryLoadSubsystemAndSetDefault(FName) [OnlineSubsystemModule.cpp:155]
UE4Editor-OnlineSubsystem!FOnlineSubsystemModule::LoadDefaultSubsystem() [OnlineSubsystemModule.cpp:191]
UE4Editor-OnlineSubsystem!FOnlineSubsystemModule::StartupModule() [OnlineSubsystemModule.cpp:93]
UE4Editor-Core!FModuleManager::LoadModuleWithFailureReason(FName,EModuleLoadResult &) [ModuleManager.cpp:538]
UE4Editor-Projects!FModuleDescriptor::LoadModulesForPhase(ELoadingPhase::Type,TArray<FModuleDescriptor,TSizedDefaultAllocator<32> > const &,TMap<FName,EModuleLoadResult,FDefaultSetAllocator,TDefaultMapHashableKeyFuncs<FName,EModuleLoadResult,0> > &) [ModuleDescriptor.cpp:643]
UE4Editor-Projects!FPluginManager::TryLoadModulesForPlugin(FPlugin const &,ELoadingPhase::Type) [PluginManager.cpp:1450]
UE4Editor-Projects!FPluginManager::LoadModulesForEnabledPlugins(ELoadingPhase::Type) [PluginManager.cpp:1525]
UE4Editor!7ff7166f0000  + 17b00
UE4Editor!7ff7166f0000  + 2e6ce
UE4Editor!7ff7166f0000  + 20d17
UE4Editor!7ff7166f0000  + 210ba
UE4Editor!7ff7166f0000  + 240dd

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-138784 in the post.

0
Login to Vote

Fixed
ComponentUE - Online
Affects Versions4.27
Target Fix5.0
Fix Commit17811315
Release Commit17811315
CreatedJan 10, 2022
ResolvedJan 12, 2022
UpdatedJan 26, 2023
View Jira Issue