Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when is _hasCache updating? #1

Closed
GeonhanLee opened this issue Oct 16, 2022 · 2 comments
Closed

when is _hasCache updating? #1

GeonhanLee opened this issue Oct 16, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@GeonhanLee
Copy link

When does _hasCache in EditorSceneHelper update to false?
I couldn't find any reference about it, and I think EditorSceneHelper functions are not working correctly because its not updating.

e.g buildSettingsOptions = EditorSceneHelper.ScenesInBuildSettings.ToDisplayOptions() on SceneGroupEditor.OnEnable()
buildSettingsOptions is not updating properly when new scene is added on buildsettings.

@JonathanMCarter JonathanMCarter self-assigned this Oct 16, 2022
@JonathanMCarter JonathanMCarter added the bug Something isn't working label Oct 16, 2022
@JonathanMCarter
Copy link
Member

Hi,

Good catch here, I totally didn't notice this when I made that system, may bad. I'll take a look at this and get a fix up ASAP

JonathanMCarter added a commit that referenced this issue Oct 16, 2022
- Fixed an issue reported where the scene selection options would not update when scenes were added or removed from the build settings.
@JonathanMCarter
Copy link
Member

Just committed a hotfix to the repository which should rectify this issue, the only edited files are:

  • EditorSceneHelper.cs
  • SceneGroupEditor.cs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants