YoYoGames / GMEXT-FMOD

Repository for GameMaker's FMOD Extension
Apache License 2.0
53 stars 2 forks source link

Game immediately crashes on launch most of the time, but runs with no issue other times #8

Closed gjoyner closed 5 months ago

gjoyner commented 5 months ago

Description

Unfortunately, I'm not sure what the issue is. I made a change in my FMOD project, simply swapping out which files a multi-instrument was using for a couple of events, and suddenly the game crashes immediately after starting almost every launch. It used to crash every now and then, but now it's far more rare for it to run. When it does start running, it works fine with no issue. Rebuilding the banks and cleaning the GMS project do not resolve the issue.

Any ideas of what all I can check? Any extra logs to enable? gmext_fmod_log.txt

Expected Change

No response

Steps To Reproduce

  1. Start GameMaker
  2. Run the project with FMOD Studio flags set to Normal
  3. Wait for game to run
  4. Game "exited with non-zero status" very likely happens.

How reliably can you recreate this issue using your steps above?

Most Times

Which version of GameMaker are you reporting this issue for?

Monthly

Which platform(s) are you seeing the problem on?

Windows

Compiler Log File

Sample .yyz File

gjoyner commented 5 months ago

I did some more digging and I discovered that it is, in fact, the 2 events that I edited in FMOD Studio that are causing the crashes. Here's are the details:

gjoyner commented 5 months ago

Just discovered something else. The crash only seems to occur when both of the files in the zip are loaded at the same time, regardless of whether they are in the same event or 2 different events. If only 1 of the 2 files is loaded, it will run, but usually crashes on the first run and is fine after that.

gjoyner commented 5 months ago

Did some more digging and I have an example project that is similar to the issue that I'm having. Here's a few things of note:

Let me know if I can be of any assistance! FMOD Ext Issue.zip gmext_fmod_issue.zip

DiasFranciscoA commented 5 months ago

Morning @gjoyner,

We were able to replicate this very unstable issue. We will push an update soon (TM) probably even today.

Thank you for reporting the issue.

DiasFranciscoA commented 5 months ago

Updated and fixed on v0.0.4

gjoyner commented 5 months ago

It appears to be working on my project. Thank you for the quick fix!