You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Export of GDExtension files that were excluded in EditorExportPlugin using skip still appear in extension_list.cfg resulting in errors during startup
#99698
Open
markeel opened this issue
Nov 26, 2024
· 0 comments
For people who have created a EditorExportPlugin and used it to remove directories using the "skip" method in their _export_file method the extension_list.cfg still has the skipped extension files.
The solution in #97207 needs to be enhanced to address this use case by capturing the skipped files and if they apply to a GDExtension removing them.
Steps to reproduce
Load the Git plugin from Asset Lib
Create a project that implements an editor export plugin that is used to skip the GIT plugin extension files.
Export the project and observe the error: "ERROR: Error loading GDExtension configuration file: res://addons/godot-git-plugin/git_plugin.gdextension"
Minimal reproduction project (MRP)
skipper.gd
@tool
extends EditorExportPlugin
func _export_file(path: String, type: String, features: PackedStringArray) -> void:
if "godot-git-plugin" in path:
skip()
Tested versions
System information
Godot v4.4.dev (0c45ace) - Ubuntu 24.04.1 LTS 24.04 on Wayland - X11 display driver, Single-window, 1 monitor - Vulkan (Forward+) - integrated Intel(R) UHD Graphics 770 (ADL-S GT1) - 12th Gen Intel(R) Core(TM) i7-12700K (20 threads)
Issue description
For people who have created a EditorExportPlugin and used it to remove directories using the "skip" method in their _export_file method the extension_list.cfg still has the skipped extension files.
The solution in #97207 needs to be enhanced to address this use case by capturing the skipped files and if they apply to a GDExtension removing them.
Steps to reproduce
Minimal reproduction project (MRP)
skipper.gd
export.gd
plugin.cfg
The text was updated successfully, but these errors were encountered: