If the overlay is failing to initialize, and you are seeing this error message: You are likely initializing the SDK too late. The SDK must be initialized before graphics for the overlay to work correctly.
https://dev.epicgames.com/community/learning/knowledge-base/KJ2JY/epic-online-services-why-is-the-overlay-failing-to-initialize