-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Cannot Load Saved Materials #66700
Comments
Does this count for hacktoberfest? If it does i am going to give this a try |
It's strange that this happens, as ORMMaterial3D and StandardMaterial3D both inherit from BaseMaterial3D.
Yes, any issue counts. |
I had an existing scene containing various mesh instances with a Interestingly, after I re-save several times the scene:
|
If you can compile the engine from source, you could look into bisecting the regression to greatly speed up troubleshooting. Assuming this issue doesn't occur in 4.0.beta1: |
I will start bisecting tomorrow morning to get an idea of how it should be fixed. I just found the code where it shows the warning. Thanks. |
Just wanted to confirm that I also have this issue in beta2, that didn't exist in beta1. Meshes that already had materials are fine and the material can be edited, but another material can no longer be applied. |
Godot version
v4.0.beta2.official [f8745f2]
System information
Ubuntu 22.04, AMD RX 6800 XT
Issue description
I can create a material (either standard or ORM) on a mesh. However, if I save this, I cannot load it anywhere else, even on the same mesh. It gives an error: "The selected resource (StandardMaterial3D) does not match any type expected for this property (BaseMaterial3D, ShaderMaterial)". This is a new project, with nothing else but a cube.
Steps to reproduce
Create a MeshInsance.
Give it a material (standard or orm). It can be on the mesh or the override.
Save the material.
Click on the material drop-down and choose load or quick load.
Choose the same material.
Watch the error.
Minimal reproduction project
MaterialBug.zip
The text was updated successfully, but these errors were encountered: