Cannot drag assets into the asset folder

Hi I just picked up Defold a few days ago and have been trying to work my way around the engine, an Issue I quickly stumbled upon is the fact that I cannot seem to drag any photos into the asset folder to use as sprites, the cursor changes to the red circle with a line through it an will not let me import anything, any help would be very much appreciated.

Something with drag and drop into the editor must have broken when we recently upgraded to JDK 17 and JavaFX 21. As a workaround until we’ve fixed it you can copy the files into your project using Finder or the Windows Explorer and then switch back to Defold.

Created issue: https://github.com/defold/defold/issues/7874

Hey @LemonSkullGames, what OS do you use?

I now tried to reproduce the issue on both Linux, macOS, and Windows, and drag-n-drop of files to the Asset pane works for me everywhere. @LemonSkullGames can you please make a video recording of the drag-n-drop issue and share it?

@LemonSkullGames Note that you need to drop the file(s) on top of an existing element in the Asset panel. You can’t drop it on the empty area.

sorry for the late reply I got caught up with some stuff, heres a video showing my issue


I cant seem to access the asset folder in any capacity

Ah, ok, the builtins folder is a special project folder which is included by default in all projects. It contains a standard set of materials, scripts and other support files which are needed by the various components in Defold. It is a read-only folder and you cannot add your own files to it. Please either drag the file on the project root “dnd based” or some other folder in your project to import the images.

2 Likes

OOOOOOHHHHH ok, thank you so much for the help :smiley:

1 Like