Up to date

This page is up to date for Godot 4.2. If you still find outdated information, please open an issue.


Inherits: Material < Resource < RefCounted < Object

Placeholder class for a material.


This class is used when loading a project that uses a Material subclass in 2 conditions:

  • When running the project exported in dedicated server mode, only the texture's dimensions are kept (as they may be relied upon for gameplay purposes or positioning of other elements). This allows reducing the exported PCK's size significantly.

  • When this subclass is missing due to using a different engine version or build (e.g. modules disabled).