Skip to content

Commit b58af16

Browse files
ImLucasBrownclaude
andcommitted
* Fixed Unreal plugin build removing required __init__.py
The make_unreal_plugin build script was deleting __init__.py from the output as a "leftover," but this file contains launch_nxt_in_ue() which is imported by init_unreal.py at plugin startup. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 5f3d2cc commit b58af16

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

build/make_unreal_plugin.nxt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,7 @@
4747
"os.makedirs(resources_dir)",
4848
"target_icon_path = os.path.join(resources_dir, 'Icon128.png')",
4949
"shutil.copyfile('${icon_path}', target_icon_path)",
50-
"leftover_init = os.path.join(self.result_dir, '__init__.py')",
5150
"leftover_pycache = os.path.join(self.result_dir, '__pycache__')",
52-
"os.remove(leftover_init)",
5351
"try:",
5452
" shutil.rmtree(leftover_pycache)",
5553
"except:",

0 commit comments

Comments
 (0)