Engine icon indicating copy to clipboard operation
Engine copied to clipboard

Bug: Game crashes when `phys_lengthconstraint` is configured incorrectly

Open Equalizer5118 opened this issue 10 months ago • 0 comments

Describe the bug

For it to work properly, phys_lengthconstraints must have their origin placed at entity 1 and their helper at entity 2. If this is not done and the helper is not moved from the constraint's origin, the game will crash upon starting the map.

To Reproduce

  1. Open provided map
  2. See how the helper is not moved from the entity's origin
  3. Compile map
  4. Observe crash

Issue Map

plugtest.zip

Expected Behavior

Instead of crashing, the entity should just be removed, with the console reporting the improper configuration, resulting in the entity being removed.

For example: Constraint "[name here]" was configured incorrectly. The entity has been removed.

Operating System

Tested on Windows 11

Equalizer5118 avatar Apr 10 '24 05:04 Equalizer5118