3ddelano / epic-online-services-godot

Unofficial Epic Online Services wrapper for Godot Engine 4.2 (EOSG) (includes demo project)
MIT License
172 stars 12 forks source link

Vulkan Overlay #14

Open BIBALLO1 opened 11 months ago

BIBALLO1 commented 11 months ago

I have compiled the repo and did everything as the docs said and everything worked fine (using Compatibility mode). When I switched to the Forward+ renderer, the overlay appears to load correctly but doesn't show up (the ui and logs indicates that it is working, but nothing renders to the screen). I've tried doing some experiments with this in the past, but I couldn't even get it to load with vulkan, so I have no idea what may be happening here.

3ddelano commented 11 months ago

What is your Godot version and operating system?

BIBALLO1 commented 11 months ago

I've tried it in 4.1 and 4.2rc. I'm running Windows 10.

3ddelano commented 11 months ago

My understanding is that EOS properly initializes the social overlay and even takes control of input when the social overlay should be visible (In sample Godot project, go to the UI tab and press Toggle Social Overlay, then click around where you expect the social overlay to show). The issue is that the social overlay texture isn't displaying over the Godot window texture.

A slightly different issue was reported https://eoshelp.epicgames.com/s/question/0D54z00007W70kkCAB/vulkaneos-sdk-logeosoverlay-overlay-not-ready-to-load?language=en_US where the social overlay failed to load they suggest adding the environment variable EOS_OVERLAY_ENABLE_VULKAN_WIN64=1. I have tried doing this and then running Godot from terminal but it didn't fix the problem.

I also compiled the sample project provided in the EOS C SDK and it seems to have SDL and DX samples but not Vulkan.

One suggestion from another issue on EOS Support is that the EOS SDK should be initialized first before any other GFX/Vulkan initialization.