Skip to content

WorlbuilderZH crash when opening the scripts pop-up window for some maps #1716

@killermosi

Description

@killermosi

Prerequisites

  • I have searched for similar issues and confirmed this is not a duplicate

Game Version

  • Command & Conquer Generals
  • Command & Conquer Generals: Zero Hour
  • Other (please specify below)

Bug Description

Opening the scripts pop-up window for some maps crashes the editor.

Reproduction Steps

  1. Update to any weekly release (that does not crashes the editor on startup).
  2. Run the WorldBuilderZH.exe editor.
  3. Load the MD_USA04 map.
    • The map loads successfully.
  4. Try to open the scripts pop-up window (either from the toolbar or from the menu).
    • The editor promptly crashes.

Additional Context

Not sure if this is relevant, but:

The scripts pop-up window can be opened for the MD_USA04 in the stock editor (WorldBuilder.exe) and some scripts seem to invalid - they are marked as such in the editor itself.

However, the MD_USA05 map also has some invalid scripts, but that map does not crash the WorldBuilderZH.exe editor when editing the scripts.

MD_USA04 scripts in the stock editor (WorldBuilder.exe)
Image

The selected script is displayed as:

*** IF ***
    True.
*** THEN ***
  [???] Command button: 'Command_CIAIntelligence' is removed from all objects of type 'AmericaStrategyCenter'.
  [???] Command button: 'Command_CIAIntelligenceFromShortcut' is removed from all objects of type 'AmericaStrategyCenter'.

Editing the [???] action shows this warning:
Command Buton 'Command_CIAIntelligence does not exist.

MD_USA04 script details in the stock editor (WorldBuilder.exe)
Image

Important

The MD_USA05 map also contains the very same action (and the associated warning), yet the scripts pop-up window can be successfully opened in the WorldBuilderZH.exe editor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CrashThis is a crash, very badMajorSeverity: Minor < Major < Critical < BlockerThisProjectThe issue was introduced by this project, or this task is specific to this projectWorldBuilderRelates to World Builder

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions