Closed thatsmytrunks closed 1 year ago
By the looks of it you need to feel in the following information:
You are probably missing the last two (orange).
Nope, all of these are filled out, and all the settings were verified by Epic to be correct.
Did you try updating to the latest version of the extension? (v1.4.0) released yesterday?
@thatsmytrunks, we would like to know if this is also still a problem with v1.4.1?
I get the error that I got on LTS as well: _Failed to initialized extension, tried files: EpicOnlineServices.dll|EpicOnlineServicesx64.dll.
I've attached the build log as well. buildlog.txt
As a note, I did file a ticket and submitted my project code there.
Okay that is great, we will be checking the ticket then with the submitted project.
Regarding the log it does seem to be different than the original Post, where the error was:
[EPIC ONLINE SERVICES]: EOS_Platform_Create :: Platform creation error (check extension configuration)
Does the extension initialize successfully now?
So this bug is for YYC compilation? If that is the case we suggest try using the VS2022. This extension has already been used before for production and I seem to remember that as a requirement.
The extension is compiled using VS2022, using a different version of VS (2019) for compiling the game could result in some problem in the load process which seems to be the case. If you can check the:
C:\Users\
there should be an "EpicOnlineServices_x64.dll" file there (and if that is the case then the problem is most likely due to the version difference)
So I've installed VS2022 and redownloaded the 1.15.4 version of EOS for good measure and made sure everything's pointing at the right directories, and am still getting the same error:
Failed to initialized extension, tried files: EpicOnlineServices.dll|EpicOnlineServices_x64.dll.
Checking the directory in the GMS2TEMP I see that there's no "EpicOnlineServices_x64.dll" file, but there is a "EOSSDK-Win64-Shipping.dll" file.
Did you changed the extension in any way or another? the error you are describing means the extension is not being copied over into the destination output folder.
Did you change the “copy to” behavior of the extension or the extension?
Are you using the extension? Calling any of its functions in code? Not using an extension may lead to the compiler to exclude it from the target folder. Something that is not used shouldn’t be included.
Please try to replace your data into the demo project and run it. If it runs then it’s a problem with your project setup, if it doesn’t run then it’s a problem with the extension|Gamemaker.
I can see some changes to the extension on your side. the copies to checkboxes should be selected for windows, macOS and Linux.
I've created a new project, imported the sample project (EpicOnlineServices.Ext.v1.4.1.yymps), copied the extension options from the game project, set Room_EpicGames_Init
as the opening room, and built the application using YYC.
I get:
[EPIC ONLINE SERVICES]: Starting initialization...
[EPIC ONLINE SERVICES]: Current working dir: C:\Users\thats\AppData\Local\GameMakerStudio2\GMS2TEMP\egstest3_14BBF939_YYC
[EPIC ONLINE SERVICES]: EOS_Platform_Create :: Platform creation error (check extension configuration)
Full Log: sampleProject_Log.txt
Edit: I've also reimported the extension and not changed any of its settings into the game project and imported the sample project's objects to make sure it's including the extension and am getting the same error as listed above.
Please export your project as a YYZ file and create an helpdesk ticket with it. In the helpdesk ticket refer to "gh-3" and then leave here (down in the comments) the ticket number that was file.
Okay, I've made one: Ticket #209377
Thanks!
Upon examining your project, it has come to our attention that the Encryption Key being used is not a valid 64-byte hexadecimal string. As stipulated in the EpicOnlineServices SDK documentation, a valid 64-byte hexadecimal string is mandatory for the encryption key. Here's the link to the documentation for your reference: Platform Options
If the Encryption Key is not being utilized, it must be initialized as null. If it's in use, it should be a 256-bit Encryption Key specified in hexadecimal format, which equates to 64 hexadecimal characters.
That appears to have solved everything. Thank you so much.
Maybe you could add some sort of compiler message to verify whether or not the supplied encryption key is invalid? I'll close this and also make sure the LTS version works.
Sorry to post two issues at once, but I've tried switching to the latest public branch of GameMaker and it is also failing to connect to EOS. I've been in contact with a rep at Epic who has seen my extension configuration and backend and confirmed that everything is set up correctly on my end. This error shows in both VM and YYC Windows builds.
I get this same result on my game as well as the sample project.
Full build log: