Skip to content

Inherited Property fields are ignored by Editor and serialization #152

@ekrem-qb

Description

@ekrem-qb

I created a Component class with several fields marked using the Property attribute so they can be edited in the Editor. This works correctly for the base class.
However, when I create a class that derives from this component, all inherited Property fields are ignored by the Editor.

Additional observations
The inherited properties are also missing from the generated .prefab and .scene JSON files. This suggests that these fields are being skipped during the serialization stage, not just in the Editor UI.

Expected behavior
Inherited Property fields should appear in the Editor and be properly serialized in .prefab and .scene files.

Actual behavior
Inherited Property fields are not shown in the Editor and are not serialized.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions