Closed
Description
Bevy version
0.8
Relevant system information
Rust 1.62.1
Windows 10
What you did
I tried to modify shaders at runtime and sometimes got the following error:
ERROR wgpu::backend::direct: Handling wgpu errors as fatal by default
thread 'Compute Task Pool (2)' panicked at 'wgpu error: Validation Error
Caused by:
In Device::create_render_pipeline
note: label = `opaque_mesh_pipeline`
error matching VERTEX shader requirements against the pipeline
unable to find entry point 'vertex'
I've created a repo to simulate the error here:
https://github.com/c-antin/bevy_asset_server_watch_for_changes_shader_bug