YoYoGames / GMEXT-EpicOnlineServices

Repository for GameMaker's Epic Online Services Extension
Other
12 stars 2 forks source link

[INIT] Platform creation error #3

Closed thatsmytrunks closed 1 year ago

thatsmytrunks commented 1 year ago

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.

[EPIC ONLINE SERVICES]: Starting initialization...
[EPIC ONLINE SERVICES]: Current working dir: C:\Users\<user>\AppData\Local\GameMakerStudio2\GMS2TEMP\GAME_79B5AA25_VM
[EPIC ONLINE SERVICES]: EOS_Platform_Create :: Platform creation error (check extension configuration)

Full build log:

"C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2023.4.0.113/bin/igor/windows/x64/Igor.exe"  -j=8  -options="C:\Users\<user>\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Windows Run

Loaded Macros from C:\Users\<user>\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\GAME_1BF030A3\macros.json
Options: C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2023.4.0.113\bin\platform_setting_defaults.json
Options: C:\Users\<user>\AppData\Roaming/GameMakerStudio2\_____202616\local_settings.json
Options: C:\Users\<user>\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\GAME_1BF030A3\targetoptions.json
Setting up the Asset compiler
C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2023.4.0.113/bin/assetcompiler/windows/x64/GMAssetCompiler.dll  /c /mv=1 /zpex /iv=0 /rv=0 /bv=0 /j=8  /gn="GAME" /td="C:\Users\<user>\AppData\Local\GameMakerStudio2\GMS2TEMP" /cd="C:\Users\<user>\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\GAME_1BF030A3" /rtp="C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2023.4.0.113" /zpuf="C:\Users\<user>\AppData\Roaming/GameMakerStudio2\_____202616"  /ffe="d3t+fjZrf25zeTdwgjZ8eXZ2bGttdTZ5em98a3GCN4ODbTZzeH5vdnZzfW94fW82eH92dnN9cjZ2eXFzeGl9fXk2fm99fjZtf31+eXdpb3iANnBzdn41cII=" /m=windows /tgt=64 /nodnd /cfg="Default" /o="C:\Users\<user>\AppData\Local\GameMakerStudio2\GMS2TEMP\GAME_79B5AA25_VM" /sh=True /optionsini="C:\Users\<user>\AppData\Local\GameMakerStudio2\GMS2TEMP\GAME_79B5AA25_VM\options.ini"  /cvm /baseproject="C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2023.4.0.113\BaseProject\BaseProject.yyp" "C:\GAME\GAME-2.3\GAME.yyp\GAME.yyp" /v  /preprocess="C:\
Users\<user>\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\GAME_1BF030A3"
Found Project Format 2
+++ FAST SERIALISATION SUCCESSFUL LOAD AND LINK TIME  (with worker concurrency 8): 348.7152ms
Loaded Project: GAME
finished.
Found Project Format 2
+++ FAST SERIALISATION SUCCESSFUL LOAD AND LINK TIME  (with worker concurrency 8): 51.4488ms
Loaded Project: __yy_sdf_shader
finished.
Found Project Format 2
C:/ProgramData/GameMakerStudio2/Cache/runtimes/runtime-2023.4.0.113/bin/ParticlePresets/GMPresetParticles/particlelib/GM_Warp_Lines/GM_Warp_Lines.yy: C:/ProgramData/GameMakerStudio2/Cache/runtimes/runtime-2023.4.0.113/bin/ParticlePresets/GMPresetParticles/particlelib/GM_Warp_Lines/GM_Warp_Lines.yy(59,2): GMSC Error: Field 'spriteAnimate' missing in YoYoStudio.Resources.GMPSEmitter.
+++ ORIGINAL SERIALISATION SUCCESSFUL LOAD AND LINK TIME: 75.9271ms
Loaded Project: GMPresetParticles
finished.
Release build
Options: C:\Users\<user>\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\GAME_1BF030A3\ExtensionOptions.json
OptionsIni
Options: C:\Users\<user>\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\GAME_1BF030A3\PlatformOptions.json
[Compile] Run asset compiler
C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2023.4.0.113/bin/assetcompiler/windows/x64/GMAssetCompiler.dll  /c /mv=1 /zpex /iv=0 /rv=0 /bv=0 /j=8  /gn="GAME" /td="C:\Users\<user>\AppData\Local\GameMakerStudio2\GMS2TEMP" /cd="C:\Users\<user>\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\GAME_1BF030A3" /rtp="C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2023.4.0.113" /zpuf="C:\Users\<user>\AppData\Roaming/GameMakerStudio2\_____202616"  /ffe="d3t+fjZrf25zeTdwgjZ8eXZ2bGttdTZ5em98a3GCN4ODbTZzeH5vdnZzfW94fW82eH92dnN9cjZ2eXFzeGl9fXk2fm99fjZtf31+eXdpb3iANnBzdn41cII=" /m=windows /tgt=64 /nodnd /cfg="Default" /o="C:\Users\<user>\AppData\Local\GameMakerStudio2\GMS2TEMP\GAME_79B5AA25_VM" /sh=True /optionsini="C:\Users\<user>\AppData\Local\GameMakerStudio2\GMS2TEMP\GAME_79B5AA25_VM\options.ini"  /cvm /baseproject="C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2023.4.0.113\BaseProject\BaseProject.yyp" "C:\GAME\GAME-2.3\GAME.yyp\GAME.yyp" /v  /debug /bt=run /
rt=vm /64bitgame=true
Looking for built-in fallback image in C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2023.4.0.113\bin\BuiltinImages
Compile Constants...finished.
Remove DnD...finished.
Warning : reference to extension macro steam_input_type_xbox_360_controller which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_type_xbox_one_controller which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_type_ps3_controller which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_type_ps4_controller which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_type_ps5_controller which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_type_steam_controller which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_type_steam_deck_controller which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_type_mobile_touch which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_type_switch_pro_controller which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_type_switch_joycon_single which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_type_switch_joycon_pair which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_type_switch_pro_controller which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_type_switch_joycon_single which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_type_switch_joycon_pair which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_sce_pad_trigger_effect_mode_off which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_sce_pad_trigger_effect_mode_feedback which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_sce_pad_trigger_effect_mode_weapon which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_sce_pad_trigger_effect_mode_vibration which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_led_flag_set_color which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_led_flag_restore_user_default which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_sce_pad_trigger_effect_mode_off which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_sce_pad_trigger_effect_mode_off which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_sce_pad_trigger_effect_trigger_mask_l2 which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_sce_pad_trigger_effect_trigger_mask_r2 which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Compile Scripts...finished.
Compile Rooms...finished.
Warning : reference to extension macro lb_sort_ascending which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro lb_disp_numeric which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro lb_sort_ascending which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro lb_disp_numeric which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Compile Objects...finished.
Compile Timelines...finished.
Compile Triggers...finished.
Compile Extensions...finished.
Global scripts...finished.
finished.
collapsing enums.
Warning : gml_Object_Obj_EpicGames_Controller_Other_70(25) : variable AuthToken name clashes with a global variable of same name
Final Compile...finished.
Looking for built-in particle images in C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2023.4.0.113\bin\assetcompiler\ParticleImages
Saving IFF file... C:\Users\<user>\AppData\Local\GameMakerStudio2\GMS2TEMP\GAME_79B5AA25_VM\GAME.win
Writing Chunk... GEN8 size ... -0.00 MB
option_game_speed=60
Writing Chunk... OPTN size ... 0.00 MB
Writing Chunk... LANG size ... 0.00 MB
Writing Chunk... EXTN size ... 0.00 MB
Writing Chunk... SOND size ... 0.01 MB
Writing Chunk... AGRP size ... 0.00 MB
Writing Chunk... SPRT size ... 0.00 MB
Writing Chunk... BGND size ... 2.90 MB
Writing Chunk... PATH size ... 0.00 MB
Writing Chunk... SCPT size ... 0.00 MB
Writing Chunk... GLOB size ... 0.03 MB
Writing Chunk... SHDR size ... 0.00 MB
Writing Chunk... FONT size ... 0.00 MB
Writing Chunk... TMLN size ... 0.02 MB
Writing Chunk... OBJT size ... 0.00 MB
Writing Chunk... FEDS size ... 0.07 MB
Writing Chunk... ACRV size ... 0.00 MB
Writing Chunk... SEQN size ... 0.00 MB
Writing Chunk... TAGS size ... 0.00 MB
Writing Chunk... ROOM size ... 0.00 MB
Writing Chunk... DAFL size ... 0.08 MB
Writing Chunk... EMBI size ... 0.00 MB
Writing Chunk... PSEM size ... 0.00 MB
Writing Chunk... PSYS size ... 0.00 MB
Writing Chunk... TPAGE size ... 0.00 MB
Texture Group - Default
Texture Group - __YY__0fallbacktexture.png_YYG_AUTO_GEN_TEX_GROUP_NAME_
Writing Chunk... TGIN size ... 0.05 MB
Writing Chunk... CODE size ... 0.00 MB
Writing Chunk... VARI size ... 1.39 MB
Writing Chunk... FUNC size ... 0.12 MB
Writing Chunk... FEAT size ... 0.07 MB
Writing Chunk... STRG size ... 0.00 MB
Writing Chunk... TXTR size ... 0.51 MB
0 Compressing texture... writing texture __YY__0fallbacktexture.png_YYG_AUTO_GEN_TEX_GROUP_NAME__0.yytex... 
1 Compressing texture... writing texture Default_0.yytex... 
2 Compressing texture... writing texture Default_1.yytex... 
3 Compressing texture... writing texture Default_2.yytex... 
4 Compressing texture... writing texture Default_3.yytex... 
5 Compressing texture... writing texture Default_4.yytex... 
C:\GAME\GAME-2.3\GAME.yyp\extensions\EpicOnlineServices\iOSSource\..\post_textures.bat
C:\GAME\GAME-2.3\GAME.yyp\extensions\Steamworks\iOSSource\..\post_textures.bat
Writing Chunk... AUDO size ... 0.28 MB
Writing Chunk... SCPT size ... -0.00 MB
Writing Chunk... DBGI size ... 0.02 MB
Writing Chunk... INST size ... 0.76 MB
Writing Chunk... LOCL size ... 0.00 MB
Writing Chunk... DFNC size ... 0.03 MB
Writing Chunk... STRG size ... 0.07 MB
Stats : GMA : Elapsed=1869.9453
Stats : GMA : sp=233,au=24,bk=0,pt=0,sc=2445,sh=1,fo=2,tl=0,ob=237,ro=64,da=15,ex=2,ma=815,fm=0xDA60B7BF7FFF7FB5
Options: C:\Users\<user>\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\GAME_1BF030A3\MainOptions.json
Options: C:\Users\<user>\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\GAME_1BF030A3\macros.json
Options: C:\Users\<user>\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\GAME_1BF030A3\preferences.json
C:\GAME\GAME-2.3\GAME.yyp\extensions\EpicOnlineServices\post_build_step.bat 
[EPICONLINESERVICES] INIT: Script initialization succeeded (v1.3.0 :: 2).
[EPICONLINESERVICES] INFO: Accessed extension option 'versionStable' with value '2023.1.0.0'.
[EPICONLINESERVICES] INFO: Accessed extension option 'versionBeta' with value '2023.100.0.0'.
[EPICONLINESERVICES] INFO: Accessed extension option 'versionDev' with value '9.9.1.293'.
[EPICONLINESERVICES] INFO: Accessed extension option 'versionLTS' with value '2022.0.1.24'.
[EPICONLINESERVICES] INFO: Accessed extension option 'sdkHashWin' with value 'AB5FA25FD06BDEE37D08CF5E2F40FDAA297C509DD4CA6DCC3F9874DC7B3D3128'.
[EPICONLINESERVICES] INFO: Accessed extension option 'sdkHashMac' with value 'F49906EC86F4BDCE3B77BC5F93A7B3D8C7EDD221566D3B600D8B61B4E9CB0177'.
[EPICONLINESERVICES] INFO: Accessed extension option 'sdkHashLinux' with value 'F20295DCA422050297E138ED823046E7D00135164F95FBD2DF7A0737BAE8E4DC'.
[EPICONLINESERVICES] INFO: Accessed extension option 'sdkPath' with value 'C:\EOS\SDK'.
[EPICONLINESERVICES] INFO: Accessed extension option 'sdkVersion' with value '1.15.4'.
[EPICONLINESERVICES] INFO: Accessed extension option 'debug' with value 'Auto'.
[EPICONLINESERVICES] INFO: Extracted part Major of version '2023.4.0.113' with value '2023'.
[EPICONLINESERVICES] INFO: Extracted part Minor of version '2023.4.0.113' with value '4'.
[EPICONLINESERVICES] INFO: Compared version '2023.4.0.113' with version '2023.1.0.0'.
[EPICONLINESERVICES] INFO: Asserted that version '2023.4.0.113' is greater than or equal to version '2023.1.0.0'.
[EPICONLINESERVICES] INFO: Version lock check passed successfully, with STABLE version '2023.4.0.113'.
[EPICONLINESERVICES] INFO: Resolved relative path into 'C:\EOS\SDK'.
[EPICONLINESERVICES] INFO: Generated SHA256 hash of 'C:\EOS\SDK\Bin\EOSSDK-Win64-Shipping.dll'.
[EPICONLINESERVICES] INFO: Asserted SHA256 hash of 'C:\EOS\SDK\Bin\EOSSDK-Win64-Shipping.dll' matches expected hash.
"Copying Windows (64 bit) dependencies"
[EPICONLINESERVICES] INFO: Resolved relative path into 'C:\Users\<user>\AppData\Local\GameMakerStudio2\GMS2TEMP\GAME_79B5AA25_VM\EOSSDK-Win64-Shipping.dll'.

    Directory: C:\Users\<user>\AppData\Local\GameMakerStudio2\GMS2TEMP

Mode                 LastWriteTime         Length Name                                                                 
----                 -------------         ------ ----                                                                 
d-----          5/9/2023  11:19 AM                GAME_79B5AA25_VM                                                

[EPICONLINESERVICES] INFO: Copied 'C:\EOS\SDK\Bin\EOSSDK-Win64-Shipping.dll' to 'C:\Users\<user>\AppData\Local\GameMakerStudio2\GMS2TEMP\GAME_79B5AA25_VM\EOSSDK-Win64-Shipping.dll'.

C:\GAME\GAME-2.3\GAME.yyp\extensions\EpicOnlineServices\post_build_step.bat DONE (0)
Igor complete.
[Run] Run game
C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2023.4.0.113/windows/x64/Runner.exe  -game "C:\Users\<user>\AppData\Local\GameMakerStudio2\GMS2TEMP\GAME_79B5AA25_VM\GAME.win"
Setting scheduler resolution to 1
[EPIC ONLINE SERVICES]: Starting initialization...
[EPIC ONLINE SERVICES]: Current working dir: C:\Users\<user>\AppData\Local\GameMakerStudio2\GMS2TEMP\GAME_79B5AA25_VM
[EPIC ONLINE SERVICES]: EOS_Platform_Create :: Platform creation error (check extension configuration)
Attempting to set gamepadcount to 12
DirectX11: Using hardware device
Collision Event time(microsecs)=8
Variable_Global_Init()
PrepareGame()
Audio_Init()
Game_Prepare()
Script_Prepare() 
TimeLine_Prepare() 
Object_Prepare() 
Room_Prepare() 
Finished PrepareGame() 
Run_Start
Done g_EffectsManager.Init()
Done RenderStateManager
CreateColPairs took 0.000000s 8 usecs for 238 object types obj_col_numb=0 physobjcount=21 resizes 0 final size 23
Done ObjectLists
Done Extension_Initialize
About to startroom
Total memory used = 76571153 (0x04906211) bytes 73.02MB
Free memory = 3371216 (0x003370d0) bytes 3.22MB
Peak memory used = 74409795 (0x046f6743) bytes 70.96MB
**********************************.
Entering main loop.
**********************************.
Resizing swap chain...
Pause event has been registered for this frame
Pause event has been unregistered
DiasFranciscoA commented 1 year ago

By the looks of it you need to feel in the following information:

Image

You are probably missing the last two (orange).

thatsmytrunks commented 1 year ago

Nope, all of these are filled out, and all the settings were verified by Epic to be correct.

extensionSettings

DiasFranciscoA commented 1 year ago

Did you try updating to the latest version of the extension? (v1.4.0) released yesterday?

DiasFranciscoA commented 1 year ago

@thatsmytrunks, we would like to know if this is also still a problem with v1.4.1?

thatsmytrunks commented 1 year ago

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.

DiasFranciscoA commented 1 year ago

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?

DiasFranciscoA commented 1 year ago

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\\AppData\Local\GameMakerStudio2\GMS2TEMP\GAME_79B5AA25_VM

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)

thatsmytrunks commented 1 year ago

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.

DiasFranciscoA commented 1 year ago

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.

  1. Did you change the “copy to” behavior of the extension or the extension?

  2. 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.

thatsmytrunks commented 1 year ago

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.

DiasFranciscoA commented 1 year ago

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.

thatsmytrunks commented 1 year ago

Okay, I've made one: Ticket #209377

Thanks!

DiasFranciscoA commented 1 year ago

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.

thatsmytrunks commented 1 year ago

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.