0 votes

Hi guys! I can not open my game after exporting to MacOS Catalina 10.15.3 and this message pops out when I try to open the game, an alert saying "Couldn't load project data at path".". Is the .pck file missing? If you've renamed the executable, the associated .pck file should also be renamed to match the executable's name (without the extension)" But I did not rename or change anything after exporting. And I do not understand "." what does this path mean. The last time I export to MacOS was a long time ago(a month ish?) and it worked fine. I would appreciate your help so much. Thanks in advance!

asked Apr 18 in Engine by Eric Guo Peng (12 points)

What does the file structure of the application bundle look like? Is there a .pck file inside? If so, what name does it have? (An .app bundle is just a folder, you can enter it and list files using a terminal.)

And I do not understand "." what does this path mean.

For the record, . refers to the current directory (relative to the executable). This is a convention used almost anywhere in computing. (.. is the parent directory.)

Hi Clinou

Thank you so much for the explanation, it really helps! I kind of fixed this issue but kinda not. What I found is this: When I open the package, I see three folders "Frameworks", "MacOS", and "Resource". As you mentioned, there are two same-named files one in "MacOS" and one in "Resource"(the one with .pck). Once I moved the .pck one from "Resource" to "MacOS" it starts to work. But I'm confused how can I directly export the project in the right way instead of export the project, opens the .dmg file then the package then adjust it? It used to directly work but I might have messed up export setting that I do not realize maybe?

Really appreciate your help!

Eric

Hi Clinou

Thank you so much for the explanation, it really helps! I kind of fixed this issue but kinda not. What I found is this: When I open the package, I see three folders "Frameworks", "MacOS", and "Resource". As you mentioned, there are two same-named files one in "MacOS" and one in "Resource"(the one with .pck). Once I moved the .pck one from "Resource" to "MacOS" it starts to work. But I'm confused how can I directly export the project in the right way instead of export the project, opens the .dmg file then the package then adjust it? It used to directly work but I might have messed up export setting that I do not realize maybe?

Really appreciate your help!

Eric

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.