Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

[Improved in 1.0.48+] Variable <unknown_object>.gml_thread(104895, -2147483648) not set before reading it.

A topic by Axis Games created May 09, 2021 Views: 837 Replies: 6
Viewing posts 1 to 3
(1 edit)

I upgraded to the newest version of gm live for the newest version of gamemaker and i get this error when trying to use it in game, i've had it working before so i'm unsure why this occurs.

error message: 

Variable <unknown_object>.gml_thread(104895, -2147483648) not set before reading it. at gml_Script_anon_gml_program_gml_GlobalScript_GMLive_program_1477_gml_program_gml_GlobalScript_GMLive_program (line 63) - var l_th=new gml_thread(self,l_scr.h_actions,l_args1,l_locals); ############################################################################################ gml_Script_anon_gml_program_gml_GlobalScript_GMLive_program_1477_gml_program_gml_GlobalScript_GMLive_program (line 63) gml_Script_live_proc_call_impl (line 33) - var l_th=l_pg.h_call_v(l_scriptName,l_args1,false); gml_Script_live_call (line 74) - return live_proc_call_impl(l_data,l_vals,l_def); gml_Object_oUIMessage_Draw_64 (line 1) - if (live_call()) return live_result;

Developer

Check if GMLive_thread script has any code in it - there is a bug with GMS2.3 where it may sometimes clear a file instead of replacing the contents.

ah, you're right, there isn't should i try re-importing it?

Developer

Yeah - or extract the YYMPS with 7-zip and manually copy-paste the GML code into the script.

i'm sorry how would i manually import the code?

Developer

Open the extracted GML file with any text editor, copy everything, paste into the same-named script in GMS2 IDE.

Developer

1.0.48+ now self-diagnostizes on game start to see if each GMLive script contains functions that it should contain, reporting the script name to check.