In-Game: asset_add_tags() crash/code error if called in the Create event for an object created by a method elsewhere that has exactly one argument #5823
Today on weird bugs from the help channels, we have a silent crash under very specific circumstances! The method must have EXACTLY 1 argument. Whether anything is passed for this argument or not when called makes no difference. Having 0 arguments does not crash at all. Adding more than 1 argument instead gives this error message, which is also a bug since no 3rd argument is passed to asset_add_tags:
Description
Today on weird bugs from the help channels, we have a silent crash under very specific circumstances! The method must have EXACTLY 1 argument. Whether anything is passed for this argument or not when called makes no difference. Having 0 arguments does not crash at all. Adding more than 1 argument instead gives this error message, which is also a bug since no 3rd argument is passed to asset_add_tags:
Steps To Reproduce
Object 1 create event:
Object 2 create event:
Object 2 step event:
Which version of GameMaker are you reporting this issue for?
IDE v2024.4.0.137 Runtime v2024.4.0.168
Which operating system(s) are you seeing the problem on?
Windows 10.0.22631.0
Which platform(s) are you seeing the problem on?
Windows
bf62064f-581a-42b8-b46e-96411e383c39