Skip to content
This repository was archived by the owner on Mar 24, 2024. It is now read-only.
This repository was archived by the owner on Mar 24, 2024. It is now read-only.

Uninstalling the upper receiver from the testing assembly crashes the game #1

@Hyperseeker

Description

@Hyperseeker

Steps to reproduce:

  1. Spawn ar15
  2. Try to uninstall the upper receiver

Multiple tests have revealed that removing one or more children mods (i.e. mods which are attached to slots added by the upper receiver or its direct children) prevent the crash. Removing a sibling mod does not affect the outcome.

There appears to be an issue with trying to remove objects which aren't there. The following error has been observed in debug.log post-crash:

ERROR : src/visitable.cpp:502 [item visitable::remove_item(item&)] Tried removing item from object which did not contain it

Uninstalling other mods with children still attached has not produced crashes or errors. These uninstall gracefully, just like they do with the already-existing attachments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    base game issueThis issue must be resolved within the game engine

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions