Skip to content

ObjectCreationList CreateDebris object with SHADOW_DECAL Shadow parameter has null texture #2214

@alanblack166

Description

@alanblack166

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

CreateDebris allows to define a Shadow parameter to apply to the debris model.
In retail version of the game, SHADOW_DECAL is rendered as a blob.
In TSH, built from latest code on January 29, 2026, SHADOW_DECAL is instead rendered as a purple-and-black missing texture.

Call stack points to the m_shadow parameter being a nullptr.

Attaching a custom mission map to recreate issue. Walking over the black square spawns Burtons, which are edited to have the specified CreateDebris death type. The chance to trigger death is not 100%, so walking over the square repeatedly will spawn more Burtons.

Mission.zip

Attached screen recording showing the OCL-triggered death with missing texture:

Command.Conquer.-.Generals.2026.01.29.-.18.57.45.03.mp4

Reproduction Steps

  1. Load the provided Mission map in Skirmish
  2. Walk repeatedly over black square to spawn Burtons
  3. Allow Patriot and Tunnel Defenders to kill Burtons until the OCL death is triggered.

Additional Context

Compiled the latest TSH codebase with default settings in Win32 Release mode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething is not working right, typically is user facing⚠️ TriageIssues requiring initial review and prioritization

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions