Skip to content

Crash in Soul Gate upon specific encounter #3674

Description

@Mimigris

Reported by Hideki via mail.

In the game Soul Gate, if you load the attached save, and press enter to start the battle, the Player may crash. It does not seem to necessarily constantly happen, but it seems to occur at least on Windows and Android (Hideki mentioned they didn't had this issue when building the Player for Linux).

The crash occurs during the battle against the troop of ID 9, which is called by the event of ID 100 in map 5, present at (0, 19), in the following script:

ConditionalBranch [var 211 == 48]      <- hero X
  ConditionalBranch [var 212 == 142]   <- hero Y
    ConditionalBranch [switch 911 == OFF]
      ControlSwitches [911 = ON]
      EnemyEncounter [0 9 0 0 0 0]     <- code 10710, troop 9, terrain background
      JumpToLabel [1]

At said moment, the player is at coordinates (48, 142), on a tile with a terrain of ID 2.

While the game has issues with its picture if you try to play (lot of libpng issues requiring conversion to properly play), it is not tied to a picture issue from what I can tell, removing all assets still leads to a crash.

Save01.zip

You can find the original bug report shared by Hideki here, what I wrote is merely a summary:
Bug report.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions