Search Issue Tracker

By Design

Votes

0

Found in

2021.3.30f1

2022.3.10f1

2023.1.14f1

2023.2.0b10

2023.3.0a5

Issue ID

UUM-49119

Regression

No

Custom field is Read-Only when used in Project Settings

-

How to reproduce:
1. Open the user's attached project
2. Open Edit>Project Settings...
3. Select "AuroraUI" in the Project Settings window

Expected results: “Test Int” is not greyed out
Actual results: “Test Int” is greyed out

Reproducible with: 2021.3.30f1, 2022.3.10f1, 2023.1.14f1, 2023.2.0b10, 2023.3.0a5

Reproducible on: Windows 10 22H2
Not reproducible on: No other environment tested

  1. Resolution Note:

    Serialized objects created with a ScriptableSingleton have the HideFlags.DontSave | HideFlags.HideInHierarchy; flags set. You can set your object as editable in the OnEnable method:

    void OnEnable()
    {
    hideFlags &= ~HideFlags.NotEditable;
    }

Add comment

Log in to post comment