The current logic causes the export scripts to appear both within the addon that's used by the editor and within the plugin AAR binary.
This causes conflict at export time as both set of scripts (one coming from the editor addon directory and the other from the plugin AAR binary) attempt to overwrite each other, and causes the AAB export to fail.
To resolve the issue, the export scripts are removed from the plugin AAR binary as they serve no purpose there.
The current logic causes the export scripts to appear both within the addon that's used by the editor and within the plugin AAR binary. This causes conflict at export time as both set of scripts (one coming from the editor addon directory and the other from the plugin AAR binary) attempt to overwrite each other, and causes the
AAB
export to fail.To resolve the issue, the export scripts are removed from the plugin AAR binary as they serve no purpose there.
Fixes https://github.com/godotengine/godot/issues/85395