Skip to content

Would you consider setting HideFlags.HideAndDontSave on the Material created by the MaterialRegistry? #29

@shino-a

Description

@shino-a

Would you consider setting HideFlags.HideAndDontSave on materials created by the MaterialRegistry?

Since these materials are generated via script at runtime, it seems unnecessary for them to be saved in the scene.

When a component is modified, the associated material is always marked as changed. Additionally, even when no explicit changes are made to the component, the material may still be flagged as modified for some reason.

As a result, this can lead to a large number of unintended diffs in scene files.

For reference, materials used by built-in components such as Image are also marked with HideAndDontSave.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions