When performing the function skeleton_animation_get_event_frames(), if the event isn't present in the animation, Game Maker outputs a debug message that looks like this:
As far as I can discern, there is no way to stop this debug output from happening. This function already returns an array with -1 in it if the event is not found, so there's no reason to have this function create a debug message with a warning. As such, this function should never output a warning into the console.
In addition, if you attempt to play a Spine animation that doesn't exist, you will get a debug message like this:
This should not appear in the console either. It is already apparent that the animation isn't working because you wouldn't see it playing, and there are other ways to query what spine animations are available to play.
Further, both of these warning messages convey no information about the object or sprite involved in the warning, so the user will have to go on an archaeological dig to figure out where the warnings are even coming from, making them unhelpful for debugging.
Expected Change
Spine functions should not send warnings into the console.
Steps To Reproduce
Start GameMaker
Perform skeleton_animation_get_event_frames() and query an event that doesn't exist in your spine animation.
Observe the debug output.
Perform skeleton_animation_set() and attempt to set a spine animation that doesn't exist in the current sprite.
Observe the debug output.
How reliably can you recreate this issue using your steps above?
Always
Which version of GameMaker are you reporting this issue for?
2024.400 (Betas)
Which operating system(s) are you seeing the problem on?
No response
Are you running GameMaker from inside your Steam library?
@yoyo-danielc Heyo! Can we bump this up the priority list? This console spam is causing quite a few problems and we unfortunately can't do anything to stop it.
Description
When performing the function
skeleton_animation_get_event_frames()
, if the event isn't present in the animation, Game Maker outputs a debug message that looks like this:As far as I can discern, there is no way to stop this debug output from happening. This function already returns an array with -1 in it if the event is not found, so there's no reason to have this function create a debug message with a warning. As such, this function should never output a warning into the console.
In addition, if you attempt to play a Spine animation that doesn't exist, you will get a debug message like this:
This should not appear in the console either. It is already apparent that the animation isn't working because you wouldn't see it playing, and there are other ways to query what spine animations are available to play.
Further, both of these warning messages convey no information about the object or sprite involved in the warning, so the user will have to go on an archaeological dig to figure out where the warnings are even coming from, making them unhelpful for debugging.
Expected Change
Spine functions should not send warnings into the console.
Steps To Reproduce
skeleton_animation_get_event_frames()
and query an event that doesn't exist in your spine animation.skeleton_animation_set()
and attempt to set a spine animation that doesn't exist in the current sprite.How reliably can you recreate this issue using your steps above?
Always
Which version of GameMaker are you reporting this issue for?
2024.400 (Betas)
Which operating system(s) are you seeing the problem on?
No response
Are you running GameMaker from inside your Steam library?
No
Contact Us Package Attached?
Sample Project Added?