Skip to content

Hot reloading is broken in the post_processing example #5964

Closed
@rparrett

Description

@rparrett

Bevy version

main

What you did

  • cargo run --example post_processing
  • Update custom_material_chromatic_aberration.wgsl

What went wrong

Shader did not reload

Additional information

Shader examples should use the AssetServerSettings resource to ensure that hot reloading is setup in time for it to actually work.

These other examples are not broken, but we should probably also switch to using AssetServerSettings there to avoid leading people astray when they try to do this with a material shader.

./shader/shader_instancing.rs
./scene/scene.rs

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-BugAn unexpected or incorrect behaviorC-ExamplesAn addition or correction to our examplesD-TrivialNice and easy! A great choice to get started with Bevy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions