When importing multiple assets, copy all assets to resources folder, rather than checking each asset on import.
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 7.8k
- Forks
- 1.2k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 49
Description
Problem.
When you drag multiple assets into the Asset View and are prompted to copy the file to your resource folder, it does this for every single file that you've selected to drag into the engine.
Solution
Whenever you drag multiple assets in, you select yes or no for copying the files to your resources folder and that selection is used for all the assets that you've dragged.
If the user is dragging multiple files and one file is not in the resources folder, all of the files they drag will also not be in the resources folder.
Describe alternatives you've considered
You can hold down the enter button and it will just accept the dialogue box at the update rate of the engine....
Perhaps there is a different workflow here, but it's not clear to the user what that workflow should be.
A team could design a workflow that all assets are always saved in the resources folder, but this doesn't solve the fact that the engine should still loop through all dropped file imo.
Additional context
N/A. Just drag, drop, and copy all dragged files to the resources folder, rather than asking for each individual file.
To test
- Start a new project
- Multiple select 30 files from the explorer
- Drag and drop them into the asset view
- Click yes for every single asset when asked to copy them to the resources folder.
Use Cases
This is particular useful for artists who may create assets in large batches and need to import multiple files.
if the team also wants to use the resources folder, dragging and dropping into the engine is much faster than copying to resources, then dragging from resources into the engine.
If lots of audio files are downloaded from somewhere, texture files, etc.
User Story
I select a large amount of files in windows explorer and drag them into the engine. A dialogue box appears informing me that the files I want to import are not inside the resources folder of my project and asks if I would like to copy them. I select yes, and it asks me if I would like to place them in the default location. I select yes and all the assets are copied to the proper folder and imported into the engine.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the multi-file drag-and-drop flow described in the issue using a new project and 30 selected files. Start at the Asset View import and copy prompt flow; done means one copy decision is applied to the whole batch and all dragged assets are copied and imported consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- game-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100