Skip to content

Commit 022c564

Browse files
committed
Update README.md
1 parent 00fb737 commit 022c564

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ and uses it to validate entry points at material specialization time.
4141
This prevents bevy from panicking when an invalid entrypoint is requested, falls back to the default shader,
4242
and re-specializes the material if it becomes available after a reload.
4343

44+
Note: AssetServer gives up on trying to load an asset if it does not exist,
45+
so the `.spv` file must be compiled at least once prior to app startup in order to hot-reload successfully.
46+
4447
### `hot-rebuild`
4548

4649
Adds the `EntryPointExport` resource, which can be used to retrieve an `ExportHandle` corresponding to a JSON output file.

0 commit comments

Comments
 (0)