Skip to content

Update deprecated functions and enums for current versions.#75

Draft
xevalro wants to merge 1 commit into
Ayfel:masterfrom
xevalro:PrefabLightmapDeprecationFix
Draft

Update deprecated functions and enums for current versions.#75
xevalro wants to merge 1 commit into
Ayfel:masterfrom
xevalro:PrefabLightmapDeprecationFix

Conversation

@xevalro

@xevalro xevalro commented Jul 12, 2026

Copy link
Copy Markdown

UnityEditor.Lightmapping.giWorkflowMode is deprecated. Auto Generated lighting is no longer supported in Unity. This check may still be important, though, as the user can tell the editor to create lightmaps automatically if they are missing.

FindObjectsOfType<> is also deprecated. It still works, but the current iteration allows for specified sorting via overload arguments.

Flags for version logic (i.e. use Lightmapping.giWorkflowMode if on Unity version 2020 or lower, else Lightmapping.BakeOnSceneLoadMode) can still be implemented.

UnityEditor.Lightmapping.giWorkflowMode is Deprecated. Auto Generated lighting is no longer supported in Unity. This check may still be important, though, as the user can tell the editor to create lightmaps automatically if they are missing.

FindObjectsOfType<> is also deprecated. It still works, but the current iteration allows for specified sorting via overload arguments.
@xevalro xevalro changed the title Swapped deprecated functions and enums for current versions. Update deprecated functions and enums for current versions. Jul 12, 2026
@xevalro
xevalro marked this pull request as draft July 12, 2026 22:04
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.

1 participant