Framework Version
11.0.5
Unity Version
2022.3.30f1
Current Behavior
When trying to find a Scriptable Settings in one of the Pre/Post build methods, the returns are always null.
Expected Behavior
Being able to load a Scriptable Settings from one of the build methods.
Steps to Reproduce
- Create a class that inherits from
IPreprocessBuildWithReport or IPostprocessBuildWithReport.
- On the respective method, call
ScriptableSettings.GetOrFind(out SettingsType settings).
Workaround
It is currently possible to load a Scriptable settings in these stages, utilizing ScriptableSettingsUtility.LoadOrCreate, but this can create unwanted behavior such as overwriting your settings.
Framework Version
11.0.5
Unity Version
2022.3.30f1
Current Behavior
When trying to find a Scriptable Settings in one of the Pre/Post build methods, the returns are always null.
Expected Behavior
Being able to load a Scriptable Settings from one of the build methods.
Steps to Reproduce
IPreprocessBuildWithReportorIPostprocessBuildWithReport.ScriptableSettings.GetOrFind(out SettingsType settings).Workaround
It is currently possible to load a Scriptable settings in these stages, utilizing
ScriptableSettingsUtility.LoadOrCreate, but this can create unwanted behavior such as overwriting your settings.