In-Game: [YYC] Crash when using nested accessors in combination with with() #6128
Labels
project
This issue has a sample project attached
runner-bug
In-game bugs with the "GameMaker Studio 2" runtimes
Milestone
Description
This error has been confirmed in "IDE v2024.4.0.137 Runtime v2024.4.0.168" and "Beta IDE v2024.600.0.562 Beta Runtime v2024.600.0.580". It affects tested platforms Windows, macOS, iOS, and Android and likely affects others. This issue is a critical blocker for us.
Only when running in YYC, the game crashes claiming that an array access is out of bounds. The array in question is of length 4 and this array access should be legal. This error is only shown in a networked multiplayer game mode and the error may be related.
If a workaround is implemented, gameplay will continue past this point. However, another similar error is shown after completing an event:
If another workaround is implemented, gameplay can again proceed. However, yet another error occurs.
This error appears to be caused by a nested accessor rather than a chained accessor which is significant as it may imply a different root problem.
I have not seen how far this goes and how many workarounds are required but it is not feasible for us to unpick every nested and chained accessor.
Steps To Reproduce
Which version of GameMaker are you reporting this issue for?
IDE v2024.600.0.562 Runtime v2024.600.0.580
Which operating system(s) are you seeing the problem on?
Windows 10.0.19045.0
Which platform(s) are you seeing the problem on?
Android, iOS, macOS, Windows
afcf200b-af04-4a34-9d73-9f027930fbe8
The text was updated successfully, but these errors were encountered: