Skip to content

[Web] Fix poll_export changing current export_preset#118190

Open
Hrothdel wants to merge 1 commit intogodotengine:masterfrom
Hrothdel:web-fix-poll-export
Open

[Web] Fix poll_export changing current export_preset#118190
Hrothdel wants to merge 1 commit intogodotengine:masterfrom
Hrothdel:web-fix-poll-export

Conversation

@Hrothdel
Copy link
Copy Markdown
Contributor

@Hrothdel Hrothdel commented Apr 4, 2026

Fixes #115994

EditorExportPlatformWeb::poll_export was calling EditorExportPlatform::can_export, which iterates through the export plugins and ends up changing their export_preset field to check for configuration warnings. These warnings were propagated to poll_export, but they were not used for anything. poll_export gets called constantly, even while an export is ongoing, so the export_preset might change between calls to EditorExportPlugin::_export_begin and EditorExportPlugin::_export_end.

This PR replaces the call to can_export with the two calls inside it that actually report errors.

It would be ideal to have the option to check for export plugin configuration warnings without changing its state, but that would probably take a more significant redesign.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

EditorExportPlugin._export_end() with a runnable web export replaces other platforms options

2 participants