We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
4.0 alpha
Windows 10
Creating an const array of shader materials produces this error
Line 13:Variant array is not compatible with an array of type "<unresolved type>".
changing the array to a var from const fixes the issue. Also changing the material from a shader material to a baseMaterial3D also fixes the error
Load an array of materials from a .tres file
const_materials = [ preload("../blocks/terrain_material.tres"), preload("../blocks/terrain_material_transparent.tres"), preload("../blocks/terrain_material_foliage.tres") ]
If those are shader materials they will give an error
No response
The text was updated successfully, but these errors were encountered:
Which alpha are you using? There are 13 of them so far 🙂
Sorry, something went wrong.
No branches or pull requests
Godot version
4.0 alpha
System information
Windows 10
Issue description
Creating an const array of shader materials produces this error
Line 13:Variant array is not compatible with an array of type "<unresolved type>".
changing the array to a var from const fixes the issue. Also changing the material from a shader material to a baseMaterial3D also fixes the error
Steps to reproduce
Load an array of materials from a .tres file
If those are shader materials they will give an error
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: