You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting "Warning: Prevented call into an uninitialised yyal from Audio_BusDestroy" message in my output when exiting my game for some reason. I commented out my one use of the constant "audio_bus_main" and still got it.
Edit for more context: This error happens after the last possible step I can take in the debugger during the game's end.
This message is harmless - it is just a warning (for us, not users) that there was a blocked attempt to call into the yyal library after it had been deinitialised. This will have come from the garbage collector destroying the audio_bus_main struct on game end and the runtime attempting to tell yyal to destroy the corresponding 'real' audio bus (which will have already been destroyed when the library was deinitialised).
Despite all that, we should still suppress the call in this instance in order not to give the impression that the user is facing a real issue.
YYDan
changed the title
Warning: Prevented call into an uninitialised yyal from Audio_BusDestroy
In-Game: Unexpected warning "Prevented call into an uninitialised yyal from Audio_BusDestroy" when a game is closed
Jan 31, 2025
@toby-yoyo : I'm not sure I follow what you're saying here. If we've ended the game, then why is the error getting thrown at all? If we've intialized an audio bus... what procedure should we be calling to make sure this cannot happen? It's weird getting a "harmless" error for something that shouldn't be happening in the first place; one would think that once game_end() has been called, no further callbacks should be performed.
Description
This message pops up in the output window everytime I run my game. It prevents me from importing asset packages as I get this error:
ProjectTool failed because of an internal program error:
Unexpected character encountered while parsing value: �. Path 'AudioGroups[0].targets', line 5, position 145.
Steps To Reproduce
Running the game without haaving touched any audio stuff at all. Importing assets (Comprehensive cross-platform input for GameMaker 8.1.0) to project.
Which version of GameMaker are you reporting this issue for?
IDE v2024.11.0.179 Runtime v2024.11.0.226
Which operating system(s) are you seeing the problem on?
Mac 15.1
8dba3058-e2e8-4098-be00-d83ca2207d9f
The text was updated successfully, but these errors were encountered: