+2 votes

I have a few folder with structured subfolders containing resources of different kinds.

I've put it in the project folder, but it doesn't show up under res:// and I can't seem to add it by drag and drop either.

Folder structure

What is the most simple method of adding big amounts of files to the project without losing the folder structure?

in Engine by (21 points)

1 Answer

0 votes
Best answer

What I needed to do was to first create a folder inside Godot by rightclicking res:// and choosing "New Folder...", giving it the same name as the folder I want to import. This creates a folder by that name inside the project root folder.

Then I open the folder I want to import in the operating systems file explorer, copy/cutting all the content inside and then open the folder I created in the project root and pasting the content there.

After that, when focusing the Godot Window again, it starts an import operation.

by (21 points)

Why not just drag the folders to project directory?

As I said in the question just putting the folder structure in the project folder doesn't cause Godot to understand it is there (not even when restarting Godot and so on), I have to first create a subfolder using the Godot app, then put the files from the original folder in there. I've tried this several times, with both new and existing projects and this is the only way I can find as of now. Hopefully there will be better features for this implemented in the future (preferably drag and drop).

is there a fix to the FileSystem not showing the folder after restarting godot? it imports ok with the folder and all its assets showing after doing this, but not after restarting

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 Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.