bevyengine / bevyengine/bevy

Asset `Process` should use a save path instead of a AsyncWrite

Open
#23,596 2 comments 0 reactions 0 assignees View on GitHub
A-Assets C-Usability D-Modest S-Needs-Design
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
4d 8m
Merged PRs (30d)
147

Description

## What problem does this solve or what need does it fill?

Bevy's asset processor integrates its loaders and savers, needs users to write transformed asset to a AsyncWrite, but what if I can only write transformed asset to a path?
Use cases: 1. Invoke blender to transform .blend file to .gltf file. 2. Invoke basisu tool to compress textures, where we don't load and save assets using bevy at all, we just need to know source path and destination path.

See also Godot's resource importer https://docs.godotengine.org/en/latest/classes/class_editorimportplugin.html#class-editorimportplugin

## What solution would you like?

Asset processor should just require source path and destination path instead of requiring a writer.

## What alternative(s) have you considered?

Don't use bevy's processor and write my own scripts or Rust application to transform assets.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.