Skip to content

ModBuilder calls "onInstall" script even if bundle pack is not enabled for install #43

@xezon

Description

@xezon

Reproducible in Sample Project when selecting that is not "ProjectCore".

Perhaps also affects other callback types.

Call script D:\Projects\TheSuperHackers\GeneralsModBuilderSample\Project\Scripts\Python\OnInstallPack ...
OnInstallPack.py called ...
ERROR CALLSTACK
Traceback (most recent call last):
  File "gui\gui.py", line 421, in _DoWork
  File "gui\gui.py", line 309, in <lambda>
  File "buildfunctions.py", line 122, in RunWithConfig
  File "build\engine.py", line 295, in Run
  File "build\engine.py", line 970, in __Install
  File "build\engine.py", line 372, in __SendBundleEvents
  File "build\engine.py", line 334, in __CallScript
  File "D:\Projects\TheSuperHackers\GeneralsModBuilderSample\Project\Scripts\Python\OnInstallPack.py", line 10, in OnEvent
    assert rawBuildThing != None, "_rawBuildThing kwargs not found"
AssertionError: _rawBuildThing kwargs not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions