-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We need a useful error message when two materials have the save UUID #3731
Comments
Related: #2610 |
@alice-i-cecile This is my first time contributing. I don't know rust language but I have some programming experience. May I work on this issue? |
@ByAlu absolutely! Just open a PR and then link this issue :) |
On latest main (b3a2cbb): I think this can be closed then? |
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: