Skip to content

Touching Flame_Emitter_1 causes game to crash if multiple Lara objects exist in level #1287

Description

@mrmisfire

Tomb Engine Version

v2.0 Release Candidate 1

Development Version

  • I am using an official release.
  • I am using an unofficial development version.

Describe the Bug

When multiple instances of the Lara object exist in the level, touching the flame of a Flame_Emitter_1 causes the game to crash.

The following is logged to the console:

[2026-Aug-15 14:35:26] [warning] Attempted to fetch LaraInfo data from FLAME_EMITTER moveable.
[2026-Aug-15 14:35:26] [error] Unhandled exception: Unknown exception at address RaiseException (0x7ffa095f5369).
[2026-Aug-15 14:35:26] [error] Stack trace:
  [0] RaiseException (0x7ffa095f5369)
  [1] CxxThrowException (0x7ff9f27155a9)
  [2] 0x7ff665bcd4d2
  [3] 0x7ff665bfe903
  [4] 0x7ff665bff3ef
  [5] 0x7ff665b0ccbc
  [6] 0x7ff665b73a11
  [7] 0x7ff665b76c3d
  [8] 0x7ff665b75697
  [9] 0x7ff665f2e7b2
  [a] 0x7ff665b751f3
  [b] SDL_wcstol (0x7ff9deb8d56c)
  [c] SDL_wcstol (0x7ff9deb8e552)
  [d] configthreadlocale (0x7ffa090b1bb2)
  [e] BaseThreadInitThunk (0x7ffa09bb7374)
  [f] RtlUserThreadStart (0x7ffa0b91cc91)

I was able to recreate this bug in a fresh TEN project that only contains the default TombEngine.wad2 wad.

To Reproduce

  • Place two or more Lara objects in a level, as well as a Flame_Emitter_1 object.
  • Play the level and trigger the Flame_Emitter_1.
  • Walk Lara into the flame.

Expected Behaviour

The game shouldn't crash, Lara should catch fire and start losing health.

Minimal Reproduction Project

https://drive.google.com/file/d/1vo9r71AyJhHzJVPGnWYRweDiaDvKznbt/view?usp=sharing

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions