Skip to content

Wont run on v2023.4 ide & runtime because of unknown global. #59

@RookTKO

Description

@RookTKO

############################################################################################
ERROR in
action number 1
of Create Event
for object Controller:

Pop :: Execution Error - Variable set failed NeedsGroupUpdate - read only variable?
at gml_Script_GMUI_GridUpdateLayer (line 37) - (GMUI_groupMasterControl[_Layer,_g]).NeedsGroupUpdate = 1;
############################################################################################
gml_Script_GMUI_GridUpdateLayer (line 37)
gml_Script_GMUI_ControlSetText (line 16) - GMUI_GridUpdateLayer(GMUIP,Layer);
gml_Script_GMUI_PopupSetMessage (line 28) - GMUI_ControlSetText(_message);
gml_Script__Demo_Form (line 635) - GMUI_PopupSetMessage("Test Popup", "Click an option to return to the previous screen!", 2, -1, -1);
gml_Script_GMUI_SetForm (line 40)
gml_Script_GMUI_CreateEvent (line 183) - GMUI_SetForm(argument0);
gml_Script_GMUI_Create (line 11) - return GMUI_CreateEvent(argument1, argument2, argument3);
gml_Object_Controller_Create_0 (line 32) - newGMUI = GMUI_Create(GMUI,_Demo_Form,16,0); // e.g. newGMUI will have id of 1
image
On line 37, the script attempts to assign 1 to (GMUI_groupMasterControl[_Layer,_g]).NeedsGroupUpdate, which seems to be the source of the issue. GMUI_groupMasterControl returns empty.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions