Skip to content

Items spawned inside a submarine via commands or status effects will not have their TriggerComponents activate if the item has Static body type #16917

@NilanthAnimosus

Description

@NilanthAnimosus

Discussed in #16914

Originally posted by A2ur3 February 1, 2026

Disclaimers

  • I have searched the issue tracker to check if the issue has already been reported.
  • My issue happened while using mods.

What happened?

Items spawned inside a submarine via commands or status effects will not have their TriggerComponents activate if the item has Static body type

Gravity Sphere is an example of such items. If placed in the submarine editor (like those found in ruins), they work correctly. However, if I spawn a Gravity Sphere inside a submarine via a status effect, it does not activate. It only functions if spawned outside the submarine.

This does not affect the vanilla game, but my custom mod items rely on TriggerComponents and must retain a Static body type

Reproduction steps

  1. spawn gravity sphere inside submainre - it does not work
  2. spawn gravity sphere outside submainre - it works
  3. place gravity sphere inside submainre in submarine editor - it works

Bug prevalence

Just once

Single player or multiplayer?

Single player

-

No response

Version

v1.11.5.0 (Winter Update 2025 Hotfix 1)

-

No response

Which operating system did you encounter this bug on?

Windows

Relevant error messages and crash reports

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingCodeProgramming taskTicketThe issue has been converted into an issue report.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions