x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

DllGetClassObject could not be located when including OnlineSubsysemLive

When I link my project to a distribution build of 4.21 and add OnlineSubsystemLive to the game's .uproject, I'm able to build and upload the game to Xbox. When I run, I immediately get an exception:

 0158:01d4 @ 00005671 - LdrpNameToOrdinal - WARNING: Procedure "DllGetClassObject" could not be located in DLL at base 0x00000105D4710000.
 0158:01d4 @ 00005671 - LdrpReportError - WARNING: Locating export "DllGetClassObject" for DLL "Unknown" failed with status: 0xc0000139.
 Connect to pipe \SEVPipe\cc3e8f5e587c14b3
 Exception thrown at 0x00000105C4173916 in EndeavorClient.exe: Microsoft C++ exception: Platform::COMException ^ at memory location 0x000002032B0AF020. HRESULT:0x8015DC12
 Exception thrown at 0x00000105C4173916 in EndeavorClient.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
 Exception thrown at 0x00000105C4173916 in EndeavorClient.exe: Microsoft C++ exception: std::runtime_error at memory location 0x000002032C2BF290.
 Exception thrown at 0x00000105C4173916 in EndeavorClient.exe: Microsoft C++ exception: std::runtime_error at memory location 0x000002032B76EC80.
 Connect to pipe \SEVPipe\72dd78e3c12db93f
 Exception thrown at 0x00000105C4173916 in EndeavorClient.exe: Microsoft C++ exception: Platform::COMException ^ at memory location 0x000002032C2BF580. HRESULT:0x8015DC12
 Exception thrown at 0x00000105C4173916 in EndeavorClient.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
 Exception thrown at 0x00000105C4173916 in EndeavorClient.exe: Microsoft C++ exception: Platform::FailureException ^ at memory location 0x000002032E94F390. HRESULT:0x80004005
 WinRT information: Failed getting auth token

The call stack isn't very useful:

 kernelx.dll!00000105c4173916()    Unknown
  msvcr110.dll!00000105d450751c()    Unknown
  Microsoft.Xbox.Services.dll!00000105d4d906eb()    Unknown
  Microsoft.Xbox.Services.dll!00000105d4e0577d()    Unknown
  Microsoft.Xbox.Services.dll!00000105d4df6c61()    Unknown
  Microsoft.Xbox.Services.dll!00000105d4df40cb()    Unknown
  Microsoft.Xbox.Services.dll!00000105d4dec631()    Unknown
  Microsoft.Xbox.Services.dll!00000105d4de2abe()    Unknown
  Microsoft.Xbox.Services.dll!00000105d472700d()    Unknown
  Microsoft.Xbox.Services.dll!00000105d52f64ef()    Unknown
  ntdll.dll!00000105c3f49738()    Unknown
  ntdll.dll!00000105c3f4c8f6()    Unknown
  ntdll.dll!00000105c3f04ae4()    Unknown

The exception is in the second thread. The main thread has this call stack:

  [External Code]    
 EndeavorClient.exe!_main() Line 52    C++
  [External Code]    

This is just a call to main:

 try {
     ret = main(arg);
 }
 catch( ::Platform::Exception^ e)
 {
     ::Platform::Details::ReportUnhandledError(e);
     throw e;
 }

If I continue, I eventually run code that looks lie this:

     IOnlineFriendsPtr FriendsInterface = Online::GetSubsystem(nullptr, GAME_PLATFORM)->GetFriendsInterface();
     if (FriendsInterface)
     {
         FriendsInterface->ReadFriendsList(0, TEXT("default"));
     }


This results in the following:

 Exception thrown at 0x00000103D2743916 in EndeavorClient.exe: Microsoft C++ exception: Platform::COMException ^ at memory location 0x000002078DA6F030. HRESULT:0x8015DC12
 Exception thrown at 0x00000103D2743916 in EndeavorClient.exe: Microsoft C++ exception: Platform::FailureException ^ at memory location 0x000002079301F580. HRESULT:0x80004005
 Exception thrown at 0x00000103D2743916 in EndeavorClient.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
 Exception thrown at 0x00000103D2743916 in EndeavorClient.exe: Microsoft C++ exception: std::runtime_error at memory location 0x000002079086EFE0.
 Exception thrown at 0x00000103D2743916 in EndeavorClient.exe: Microsoft C++ exception: std::runtime_error at memory location 0x000002078FBEE9F0.
 [2019.02.01-02.07.02:186][172]LogOnline: Error: LIVE: Error querying friends, error: (0x80004005) .
 [2019.02.01-02.07.02:187][172]LogOnline: Warning: OSS: Async task 'FOnlineAsyncTaskLiveQueryFriends' failed in 8.620950 seconds (Parallel)


Is my project missing a required DLL? My "Saved\StagedBuilds\XboxOne" folder includes both "GameChat2.dll" and "Microsoft.Xbox.Services.dll". Is there another DLL that is needed?

Product Version: UE 4.21
Tags:
more ▼

asked Feb 01 '19 at 12:28 PM in C++ Programming

avatar image

mscandizzo
1 1

(comments are locked)
10|2000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question