AurieFramework / YYToolkit

The definitive internal modding tool for GameMaker games
GNU Affero General Public License v3.0
72 stars 10 forks source link

Setting an instance variable to an array crashes #54

Closed PippleCultist closed 8 months ago

PippleCultist commented 11 months ago
YYRValue Result;
YYRValue arrRef;
CallBuiltin(arrRef, "array_create", Self, Other, { 10ll });
CallBuiltin(Result, "variable_instance_set", Self, Other, { (long long)Self->i_id, "testArr", arrRef });

Trying to set an instance variable to a newly created array causes the game to crash. This also occurs with variable_global_set.

Archie-osu commented 11 months ago

Will look next week, currently on vacation. Thank you for the report though. I assume this is Holocure?

PippleCultist commented 11 months ago

Yeah

Archie-osu commented 9 months ago

Please check if this issue is present in YYTK Next.

Archie-osu commented 8 months ago

Closing due to inactivity.