YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
13 stars 5 forks source link

Bug with string_foreach() #5872

Closed gm-bug-reporter[bot] closed 2 weeks ago

gm-bug-reporter[bot] commented 2 weeks ago

Description

basically what's happening is that the method used in the string_foreach() predicate function is losing its scope which means writes to __array cannot be picked up outside the function using a global variable works around this problem

Steps To Reproduce

Not actually sure how to reproduce the bug

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.19045.0

f6e10267-be38-4b6a-ab39-b39f48e9a2e5

YYDan commented 2 weeks ago

Hi - we're going to need to see the project you're getting this in, please (especially if you already know it doesn't reproduce easily).

Also, this would clearly be an in-game issue rather than an IDE bug ;)

Please open the project which causes this for you, then re-report this one as an in-game bug and allow GameMaker to include the current project when it asks. Then we can investigate.

Thanks!