Mention `asset_value` helper in `bsn!` macro docs.

Open Beginner friendly
#26,406 1 comment 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 2 days

@darshpatel1052 is already working on this.

Since Nov 3, 2026.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Active
Tech stack
game-dev, rust
Domain
documentation

Research direction

The target is the rustdoc for the bsn! macro, reachable at the docs.rs page linked in the issue; its source is the doc comment on the macro in the Bevy crates. Find where asset_value is used in the existing examples, then add a short note and a small custom-material snippet to the bsn! docs. Done when the macro docs mention asset_value and show how to build a material asset inline, and cargo doc builds without warnings.

Written by the indexing model from the issue text.

Description

A-Scenes C-Docs D-Straightforward S-Ready-For-Implementation

How can Bevy's documentation be improved?

https://docs.rs/bevy/latest/bevy/prelude/macro.bsn.html
asset_value is required to use custom materials directly from bsn! macro, but lack of mentions of it in docs description as another way to construct Asset type made me painfully search for it in unrelated examples.

Probably it also would be great improvement for bsn! docs to make new example that explicitly shows how to use custom materials with bsn!

Dominant language
Rust
Stars
49.8k
Forks
5.1k
Avg merge
3d 4h
Merged PRs (30d)
136

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bevyengine/bevy

All issues in bevyengine/bevy

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.