Skip to content

Wreck modules display as UNKNOWN ITEM TYPE #43

@cahaseler

Description

@cahaseler

Bug

Modules inside wrecks display as "UNKNOWN ITEM TYPE" with only a raw UUID visible. Players cannot identify what modules a wreck contains before looting.

Root Cause

Wreck data stores module UUIDs as references (data->'modules'), but the corresponding module_instances rows don't exist for wreck modules. When a client tries to resolve the UUID to a type_id/name, the lookup fails and falls back to "UNKNOWN ITEM TYPE."

Live ship module UUIDs resolve fine (e.g. mining_laser_1), but wreck module UUIDs are orphaned references with no backing record.

Reproduction

  1. Find any wreck containing modules (e.g. voidborn_threshold wrecks, which each have one mining_laser_1)
  2. Inspect the wreck — modules show as UUID only, type unknown

Expected

Wreck modules should display their item type name, same as installed ship modules.

Player Report

Forum thread 4588403001e709e6a8368e7f4db76d98 — WaterFixer [ROCI] sold a wreck without looting, lost a module they believed was an ARG artifact. It was a mining_laser_1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions