Skip to content
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

Trying to assign a saved StandardMaterial3D to any Material slot fails with error #66762

Closed
Ithamar opened this issue Oct 2, 2022 · 1 comment
Labels

Comments

@Ithamar
Copy link

Ithamar commented Oct 2, 2022

Godot version

4.0.dev (e69b708)

System information

Windows 10

Issue description

It is impossible to set a saved StandardMaterial3D to any Material slot in the editor (e.g. Surface of a mesh or the Surface Material Override in a MeshInstance3D). It will give the following error:

The selected resource (StandardMaterial3D) does not match any type expected for this property (BaseMaterial3D,ShaderMaterial).

The editor does not accept BaseMaterial3D subclasses it seems, only direct classes as specified in the error message.

Steps to reproduce

  • Create a StandardMaterial3D and save it.
  • Try Load or Quickload it into a material slot (same scene, different scene, does not matter)
  • See the error message The selected resource (StandardMaterial3D) does not match any type expected for this property (BaseMaterial3D,ShaderMaterial) popup

Minimal reproduction project

No response

@Ithamar
Copy link
Author

Ithamar commented Oct 2, 2022

Sorry, duplicate of #66700

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants