Pck embedding executable file header corrupted

Godot 4.3

As you’ve reed from the title I have this issue whenever i try exporting my project i’ve spent all of last night tring to fix it but i i couldn’t find anything.
I tried downloding from Best available mirror,
Official GitHub Releases mirror and Official TuxFamily mirror but they all gave me the same erorr .
If theres a way where you could help me i’d be very thankful.

Godot 4.4

An error occurred: Sorry, new users can only put one embedded media item in a post.

I won’t be able to post the full file hierarchy of my Godot installation and my project because of the above error


Experiencing this problem too. Whenever I disable PCK Embedding, it succeeds without error, however it spawns an empty .exe file alongside a not-empty .pck file. This behavior seems to be identical to this problem here: Exporting game to Windows results in empty and unusable .exe file

I have attempted to reinstall the exporting template but to no avail. I have also tried moving Godot and my Game’s directories to see if permissions could be a problem. Godot now sits in the C drive and my game sits inside of the Godot folder.
The game isn’t very complex, and I installed Godot only a few hours ago and I’m coming from the Roblox Platform.. The only thing that I feel could be close to causing this would be how I initially created the project using 4.5 beta 6, but downgraded to 4.4 after running into an issue with sounds not playing, but the game is perfectly playable in the editor, so maybe that’s not the case?

I did also install the Lua GDExtension + LuaJIT - Godot Asset Library plugin momentarily after creating the project, but I did not insert any Lua scripts anywhere because I forgot about it and stuck with GDScript. I deleted the addons folder in an attempt to fix this problem but it did not change the results of exporting the project.

Project Root:

I would also like to note that when rcedit is a valid .exe file, it errors out:
rcedit (../Game/stn.exe): Unable to load file: "../Game/stn.exe"
Running Godot as administrator does not alter the behavior of exporting, either.

What could be causing this? I appreciate any assistance anyone on this forum may be able to provide and I thank everyone involved in advance.