Hi,
We’re started to add platform support in our Unreal Engine project. So far it’s going good, but we’re having a problem with Xbox Series X.
The engine creates the platform with EOS_Platform_Create(…), then it calls EOS_Platform_Tick(…), at which point we’re getting a crash inside EOSSDK library.
We were able to reproduce the problem using Lyra sample and we got exactly the same crash.
I was checking if there was maybe something missing when we create the platform, but the payload seems to look ok:
EOS_Platform_Options
ApiVersion 14
Reserved 0x0000000000000000
ProductId <redacted>
SandboxId <redacted>
ClientCredentials
ClientId <redacted>
ClientSecret <redacted>
bIsServer 0
EncryptionKey 0x0000000000000000
OverrideCountryCode 0x0000000000000000
OverrideLocaleCode 0x0000000000000000
DeploymentId <redacted>
Flags 0
CacheDirectory "T:/MyProject/CacheDir"
TickBudgetInMilliseconds 0
RTCOptions
ApiVersion 3
PlatformSpecificOptions 0x0000000000000000
BackgroundMode EOS_RTCBM_KeepRoomsAlive
Reserved 0x0000000000000000
IntegratedPlatformOptionsContainerHandle <removed for simplicity>
SystemSpecificOptions <removed for simplicity>
TaskNetworkTimeoutSeconds 0x0000000000000000
Our environment is as follows:
- UE version: 5.8.1
- GDK 260400.
- MSVC toolchain: 14.44.35223
- EOS SDK: 1.19.1.2
I guess I’m missing some flag, but I can find it.
How do you recommend to move forward to diagnose the problem ?
Is there a chance to get the pdb so I can get the callstack inside EOS SDK ?
I noticed that Win64 EOS SDK distributes a sample. By any chance, do you have a similar sample for GDK ( XSX ) ?
Thanks in advance,
Alvaro
Hey Alvaro,
EOS SDK symbols are currently private to Epic. We have a feature coming in a future release to ship a solution to help symbolicate call stacks from dumps. In the new feature, we obfuscate some internal APIs, but the callstack provided should be much more useful. If you’re interested in testing the new feature, I can work with our team to give you a Dev build. The build would be for internal use only.
If you prefer, you can also send me the dump and logs, and I can analyze them on our end.
Thanks,
Seb
Hi Alvaro,
We’re preparing a build for you. Our Program Manager Josh Heenan will reach out by email when it’s ready.
Thanks,
Seb
Hi Alvaro,
That’s a bug, and we have a Jira for it. Could you share your engine change (a .diff file works)? I don’t see a shelved CL for this, so I don’t think engineering has started to work on it. Your change would be helpful.
The EOS SDK will still delay loading libHttpClient.GDK.dll in the next release due out this fall. That may change in future versions.
Are you still interested in the DevDrop with the symobols feature?
Thanks,
Seb
Thanks! I’ll let Josh know to reach out with a dev build.
Hi Seb,
I think the Dev build will very useful.
Let me know how to proceed.
Thanks !
Alvaro
Hi [Content removed] Bergeron ,
At the end we found the issue.
Xbox EOS SDK has a delayed dependency with libHttpClient.GDK.dll.
In a nutshell, we moved to Unreal Engine 5.8 and that dll is no longer staged.
We did a small engine change to stage that dll, which fixed the crash.
UE 5.8 is now staging libHttpClient.dll.
Do you know if a future releases of Xbox EOS SDK might be able to work with any of those dlls ?
Best regards,
Alvaro
Hi [Content removed] Bergeron ,
I’m attaching a zip file with the patch.
I had to set the file extension as “pdf” since we’re not able to upload zip files ( please rename on your end ).
It’s not the most elegant fix, but it does the work
.
As for the DevDrop, I think it will be very helpful in the future.
It would be really appreciated if you could share the build.
Thanks in advance,
Alvaro
The file got rejected on my previous post.
I’m attaching as txt.
Patch for XSAPI.build.cs, which is where I’m adding the dependencies.
I guess it might be cleaner if the change is done directly in OnlineSubsystemEOS_XSX instead.