diff --git a/crates/bevy_render/src/render_resource/pipeline_cache.rs b/crates/bevy_render/src/render_resource/pipeline_cache.rs index dc5190170a35bd..206ed12fd89dc4 100644 --- a/crates/bevy_render/src/render_resource/pipeline_cache.rs +++ b/crates/bevy_render/src/render_resource/pipeline_cache.rs @@ -881,7 +881,9 @@ impl PipelineCache { CachedPipelineState::Err(err) => match err { // Retry PipelineCacheError::ShaderNotLoaded(_) - | PipelineCacheError::ShaderImportNotYetAvailable => {} + | PipelineCacheError::ShaderImportNotYetAvailable => { + cached_pipeline.state = CachedPipelineState::Queued; + } // Shader could not be processed ... retrying won't help PipelineCacheError::ProcessShaderError(err) => {