Skip to content

Null-reference exception when engineers attempt to repair a part #28

@j-steve

Description

@j-steve

Engineer kerbals on EVA are not able to repair any parts. Clicking the "repair" button has no effect; the debug console reveals that OhScrap logs the Attempting repairs message, but it is followed immediately by a NullReferenceException.

This occurs on all parts (stock or modded).

oh-scrap-error

By contrast other kerbals (e.g. scientists) are able to successfully repair these same items with no exception.

Note I was only able to test this with two kerbals, Bill and Bob, but I'm assuming the engineer vs scientist distinction is the culprit: Bob is able to repair items (or at least attempt the repair), but Bill gets an error every time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions