# Objective The next step in the migration to required components: Deprecate `VisibilityBundle` and make `Visibility` require `InheritedVisibility` and `ViewVisibility`, as per the [chosen proposal](https://hackmd.io/@bevy/required_components/%2FcO7JPSAQR5G0J_j5wNwtOQ). ## Solution Deprecate `VisibilityBundle` and make `Visibility` require `InheritedVisibility` and `ViewVisibility`. I chose not to deprecate `SpatialBundle` yet, as doing so would mean that we need to manually add `Visibility` to a bunch of places. It will be nicer once meshes, sprites, lights, fog, and cameras have been migrated, since they will require `Transform` and `Visibility` and therefore not need manually added defaults for them. --- ## Migration Guide Replace all insertions of `VisibilityBundle` with the `Visibility` component. The other components required by it will now be inserted automatically. |
||
|---|---|---|
| .. | ||
| files | ||
| processing | ||
| alter_mesh.rs | ||
| alter_sprite.rs | ||
| asset_decompression.rs | ||
| asset_loading.rs | ||
| asset_settings.rs | ||
| custom_asset_reader.rs | ||
| custom_asset.rs | ||
| embedded_asset.rs | ||
| extra_source.rs | ||
| hot_asset_reloading.rs | ||
| multi_asset_sync.rs | ||
| repeated_texture.rs | ||