Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
bevyengine
GitHub Repository: bevyengine/bevy
Path: blob/main/release-content/migration-guides/bindgroup-labels-mandatory.md
7223 views
---
title: "`BindGroupLayout` labels are no longer optional" pull_requests: [21573]
---

In previous versions of Bevy, the label of a BindGroupLayout was optional. This practically only applies when implementing AsBindGroup manually without the AsBindGroup derive.

If you were previously omitting the label implementation from a impl AsBindGroup, you now must implement it:

fn label() -> &'static str { "my label" }