Skip to content

[Bugfix] AlchemyEditorWindow: Ensure SerializedDataModeController included - #116

Merged
paq merged 1 commit into
annulusgames:mainfrom
zephyr-studio:fix/data-mode-controller
Jul 25, 2026
Merged

[Bugfix] AlchemyEditorWindow: Ensure SerializedDataModeController included#116
paq merged 1 commit into
annulusgames:mainfrom
zephyr-studio:fix/data-mode-controller

Conversation

@roguesaloon

@roguesaloon roguesaloon commented May 23, 2025

Copy link
Copy Markdown
Contributor

In newer version of unity (2022.3.23+), AlchemyEditorWindow does not work correctly (including the example from the docs), no fields are actually rendered in the UI.

AlchemyEditorWindow example from docs:
image

It turns out in this version unity added a [HideInInspector] attribute to m_SerializedDataModeController on EditorWindow, causing Alchemy to skip over this entirely and for the EditorWindow functionality to not work properly. This PR simply excludes m_SerializedDataModeController from being skipped by the usual HideInInspectorAttribute check. Have also tested in Unity 6 and the fix works there too.

@roguesaloon roguesaloon changed the title [Bugfix] AlchemyEditorWindow: Ensure SerializedDataModeController is not excluded by Attribute [Bugfix] AlchemyEditorWindow: Ensure SerializedDataModeController included May 23, 2025

@paq paq left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@paq
paq merged commit 22ac983 into annulusgames:main Jul 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants