bevy/examples/asset
andriyDev d8f3eb3e8b
Stop automatically generating meta files for assets while using asset processing. (#17216)
# Objective

- Today, enabling asset processing can generate many meta files. This
makes it a painful transition for users as they get a "mega commit"
containing tons of meta files.

## Solution

- Stop automatically generating meta files! Users can just leave the
meta files defaulted.
- Add a function `AssetServer::write_default_meta_file_for_path`

## Testing

- Tested this manually on the asset_processing example (by removing the
meta files for the assets that had default meta files).
- I did not add a unit test for the `write_default_meta_file_for_path`
since we don't have an in-memory asset writer. Writing one could be
useful in the future.

---

## Showcase

Asset processing no longer automatically generates meta files! This
makes it much easier to transition to using asset processing since you
don't suddenly get many meta files when turning it on.

You can still manually generate meta files using the new
`AssetServer::write_default_meta_file_for_path` function.
2025-03-06 20:25:40 +00:00
..
files
processing Stop automatically generating meta files for assets while using asset processing. (#17216) 2025-03-06 20:25:40 +00:00
alter_mesh.rs simplify example, replace get_single to Single Query (#16187) 2024-11-01 18:25:42 +00:00
alter_sprite.rs Allowed creating uninitialized images (for use as storage textures) (#17760) 2025-02-10 22:22:07 +00:00
asset_decompression.rs Remove labeled_assets from LoadedAsset and ErasedLoadedAsset (#15481) 2025-02-10 21:06:37 +00:00
asset_loading.rs
asset_settings.rs Don't reëxport bevy_image from bevy_render (#16163) 2024-11-10 06:54:38 +00:00
custom_asset_reader.rs Prefer Display over Debug (#16112) 2024-12-27 00:40:06 +00:00
custom_asset.rs Move #![warn(clippy::allow_attributes, clippy::allow_attributes_without_reason)] to the workspace Cargo.toml (#17374) 2025-01-15 01:14:58 +00:00
embedded_asset.rs Adding More Comments to the Embedded Assets Example (#17865) 2025-02-24 21:13:24 +00:00
extra_source.rs
hot_asset_reloading.rs
multi_asset_sync.rs Revert "Replace Ambient Lights with Environment Map Lights (#17482)" (#18167) 2025-03-05 23:08:46 +00:00
repeated_texture.rs Don't reëxport bevy_image from bevy_render (#16163) 2024-11-10 06:54:38 +00:00