We need a useful error message when two materials have the save UUID #3731
Labels
A-Assets
Load files from disk to use for things like images, models, and sounds
C-Usability
A targeted quality-of-life change that makes Bevy easier to use
D-Trivial
Nice and easy! A great choice to get started with Bevy
Bevy version
0.6,
What you did
Take the shader_material example and add second material to it with the same UUID, but different name.
What you expected to happen
I expected either a run time error message or a warning about having two identical UUID.
What actually happened
There was a runtime error with not much information:
It refers to this line in asset_server.rs:
The text was updated successfully, but these errors were encountered: