Export All creates a .exe with an error but Export Project doesn't

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Xirevus

I’ve made a simple text editor and have a custom icon that I’m using for Windows, but when i go to export the project using the Export All option it creates the executable but when i go to run it the program returns the error:

Error: Couldn’t load project data at path “.”. Is the .pck file missing?

But, when i just use the Export Project option it creates the executable just fine with no error. I also have the Embed Pck option turned on in both instances.
Stranger yet is that if i leave the file path blank in the Icon option it exports fine with the Export All giving the same result as the other. Also, slightly off topic but still pertaining, is that the icon doesn’t show up at every size, even though i have a proper .ico file with all sizes embedded (I’ve tested with a .ico exported from Gimp, an online converter and Imagemagick).

Any help is greatly appreciated, and thanks in advance.