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
Building Projects: [YYC] Adding a variable into the "global" struct and then changing its value inside a with(global) block causes a fail in 2024.1300
#9109
Closed
2 tasks
sihammill opened this issue
Jan 21, 2025
· 2 comments
Add the following code to a create event and run in VM, it works fine and the key 'x' is correctly updated to its new value of 4. Run again in YYC and the project will fail to compile and you will and error message stating 'Fatal Error while compiling gml_Object_Object1_Create_0 - bailing details below'.
global.x = 2;
with (global) {
x = 4;
}
Expected Change
No response
Steps To Reproduce
Start GameMaker
Create a new project and add the above code to a new object
Set the compiler to VM and run the project
Happy days, it worked
Now change the compiler to YYC
Run the project
See the issue
How reliably can you recreate this issue using your steps above?
Always
Which version of GameMaker are you reporting this issue for?
2024.1300 (Betas)
Which platform(s) are you seeing the problem on?
Windows
Sample Package Attached?
I have attached my bug package
Sample Project Added?
I have included a small sample project
The text was updated successfully, but these errors were encountered:
YYDan
changed the title
In-Game: Updating a 'Key, Value' in the 'global' variable within a 'with' statement causes 'Fatal Error while compiling gml_Object_Object1_Create_0 - bailing details below' only in YYC
Building Projects: [YYC] Adding a variable into the "global" struct and then changing its value inside a with(global) block causes a fail in 2024.1300
Jan 23, 2025
Description
Add the following code to a create event and run in VM, it works fine and the key 'x' is correctly updated to its new value of 4. Run again in YYC and the project will fail to compile and you will and error message stating 'Fatal Error while compiling gml_Object_Object1_Create_0 - bailing details below'.
Expected Change
No response
Steps To Reproduce
How reliably can you recreate this issue using your steps above?
Always
Which version of GameMaker are you reporting this issue for?
2024.1300 (Betas)
Which platform(s) are you seeing the problem on?
Windows
Sample Package Attached?
Sample Project Added?
The text was updated successfully, but these errors were encountered: