Cannot find dependencies of files (SOLVED)

Hey there.

Got a little problem.
I am “optimizing” and “reorganizing” my project. For example: merging 3 GUIs to one. I did.
Now if I try to build (rebuild), I’ll get these errors:

Strange, because there is no link or anything to them anymore. No GO or anything is accessing to these files (anymore).

Where to find the dependencies? The error-message dont gives me enough infos for.
I simply moved and renamed them (out of the editor) after merging the files (gui + scripts).

If you haven’t already, try restarting the editor and build again. I believe it got confused by the changes happening outside of the app. If the error remains, search in the files for the erroneous paths to make sure no files still reference them (Cmd+H / Ctrl+H).

Hey @Ragnar_Svensson.

Already did the restart, rebuild etc.

I used the Ctrl+H and found a link in an unused file (see screenshot). This file isnt used. I left it in the directory of the project.
Are defold checking and using all the files incl. the unused (not in any collection)???

hm… pretty strange :slight_smile:

I’ve moved all the “removed” files (not needed) OUT of the project (/master) folder…
Seems to work… have to check. got other errors now o.O

Yes, Editor1 does that, but it still prunes the resulting packages to only contain the files you actually used. But I believe it tries to build every file. This is not the case in Editor2.

ok.

Moving the files completely out of the project-folder (upper of the git-folder Master) solved it.

But now … laughing after that, I got a couple of errors I had to specify a font at a label of some GO.
Never had that before. This error is “brand new” after that moving.

Strange strange. defined the fonts quickly. Building worked.

1 Like