Skip to content

[test] uni-beam crashes the server when fired with no target #87

Closed

Description

@duzos

Firing the mk7 uni-beam while not looking at any entity throws a server-side exception and disconnects everyone. Happens consistently. (test issue - will be closed)

Activity

  1. added
    T: BugfixType: Bugs and/or bugfixes.
    P1: HighPriority: Higher priority than other items, but isn't an emergency.
    D2: MediumDifficulty: A good amount of codebase knowledge required.
    A: PowersArea: Powers, power list and the ability system.
    C: NetworkingChanges: Might require knowledge of networking.
    on Jun 8, 2026
  2. github-actions commented on Jun 8, 2026

    @github-actions

    🤖 auto-triage (github models)

    type priority effort difficulty
    Bug High Medium D2

    uni-beam crashes server when no target

    🔎 Likely cause

    The issue likely originates from the Power implementation for the uni-beam, specifically in how the entity interactions are handled. When no valid target is present, a null reference or invalid operation can trigger an exception in the networking code that processes the power usage. This behavior should be investigated in the corresponding Power class to add null checks before execution.

    labels and insight are a best guess, a maintainer will confirm.

  3. duzos commented on Jun 8, 2026

    @duzos
    OwnerAuthor

    test issue - closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A: PowersArea: Powers, power list and the ability system.C: NetworkingChanges: Might require knowledge of networking.D2: MediumDifficulty: A good amount of codebase knowledge required.P1: HighPriority: Higher priority than other items, but isn't an emergency.T: BugfixType: Bugs and/or bugfixes.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions