EOS Unity plugin crashes when UI is to be displayed

Running `Epic Online Services Plugin for Unity 4.1.0`, as well as `Epic Online Services Plugin for Unity GDK 2.1.0`

Unity 2022.3.52f1

GDK 250400

I have been facing an issue where, upon calling `AuthLinkExternalAccountWithContinuanceToken`, the game would dim with a loading spinner appearing (from Epic’s UI), followed by freezing and crashing

I have just now made a fully clean project with just the 2 listed EOS plugins, plus the `Microsoft GDK API` and `Microsoft GDK Tools` plugins.

This project imported the sample files from the 2 EOS plugins. After dealing with the include errors in the GDK plugin, I copied the EOS config from my real game to this sample project and ran the `AuthAndFriends` sample scene in the editor. Upon clicking login, a Chrome tab opened to Epic login.

When built on Xbox Series and ran on XDK hardware, doing the same caused the exact same “screen dim, loading spinner, freeze, crash” error. The output logs even show it crashing after calling the exact same function.

If the exact same crash occurs when pulling up the Epic UI in a fully pristine project, I have to believe that the error is getting reproduced because of the fault of the EOS libraries.

Hi Dylan,

Thank you for the report. We have identified the crash is occurring in Unity 2022 due to how DX12 native rendering is supported. We are working on implementing a render pipeline workaround to fix the crash.

-Jeff

Hi Dylan,

We were able to implement a fix and will be releasing a new package early next week.

-Jeff

We’ve released the fix for the overlay crash in EOS Plugin 2.1.1 with GDK 241000 and 250400 packages in the Epic Developer portal.

-Jeff