Search Issue Tracker

Fixed

Fixed in 2022.3.7f1, 2023.1.7f1, 2023.2.0b3, 2023.3.0a1

Votes

0

Found in

2022.3.2f1

2023.1.1f1

2023.2.0a20

2023.3.0a1

Issue ID

UUM-40767

Regression

No

Setting ScriptableSingleton's hideFlags on its Awake or OnEnable is ignored when the serialized file does not exist

--

-

Reproduction steps:
1. Open the attached “Test Project” project
2. Select the Scriptable Singleton (Tests > Select MyScriptableSingleton)
3. Observe the Inspector window

Expected result: The “Object Hide Flags” is set to “51” and the fields are editable
Actual result: The “Object Hide Flags” is set to “61” and the fields are not editable

Reproducible with: 2022.3.2f1, 2023.1.1f1, 2023.2.0a20
Couldn’t test with: 2021.3.27f1 - Different structured “MyScriptableSingleton” Asset is created, without “Object Hide Flags”

Reproducible on: Windows 10

Note: After reloading the project “UserSettings/MyScriptableSingleton.asset” is created and when you repeat the reproduction steps, you can edit all the fields

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.