godotengine / godotengine/godot

When importing two files (.fbx and .png), all my files and directories outside of assets get copied to the assets directory

Open
#104,706 5 comments 0 reactions 0 assignees View on GitHub
bug needs testing topic:3d topic:editor topic:import
Dominant language
C++
Stars
117k
Forks
26.8k
PR merge metrics
PR metrics pending

Description

### Tested versions

- Reproducible in Godot 4.4, 4.4.1

### System information

Metal 3.2 - Forward+ - Using Device #0: Apple - Apple M2 Max (Apple8)

### Issue description

When importing two files (.fbx and .png), all my files and directories outside of assets get copied to the assets directory

![Image](https://github.com/user-attachments/assets/b706a6c4-a6dd-4f76-9eab-b1ba8bff4c52)

### Steps to reproduce

1. Download the project
2. Drag the files `.fbx` and `.png` into the `res://assets/` directory
3. Bug produced (if not, delete the files and try again)

### Minimal reproduction project (MRP)

https://github.com/novialriptide/truck_inspection/tree/fd0d5ca29f994f45203995d0d0c35423d2ccd9c7

Contributor guide

Open the contributing guide

Research direction

Start with the minimal reproduction project linked in the issue and reproduce the behavior in Godot 4.4 or 4.4.1 by placing the .fbx and .png files in res://assets/. Trace the import handling for those files and compare the resulting project tree; done means files and directories outside assets are no longer copied into the assets directory.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, godot
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
40/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.