YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
17 stars 8 forks source link

Code Editor 2: Accessing variables from an instance in a list populated by a collision list function will color them as unset #6274

Open KormexGit opened 1 month ago

KormexGit commented 1 month ago

Description

Trying to access variables from an instance id inside a list that has been filled by a collision list function will cause all of those variables to show up as unset rather than instance variable color

image

image

Steps To Reproduce

//Object 2 create
myVariable = 5;
myOtherVariable = true;

//other object 
var list = ds_list_create();
var size = instance_place_list(x, y, Object2, list, false);
for(var i = 0; i < size; i++) {
    with list[| i] {
        myVariable = 2; //grey
    }
    list[| i].myOtherVariable = 5; //grey
}

ds_list_destroy(list);

Which version of GameMaker are you reporting this issue for?

IDE v2024.600.0.576 Runtime v2024.600.0.602

Which operating system(s) are you seeing the problem on?

Windows 10.0.22631.0

e737b07e-74c9-4ad0-aaa2-1050f9e68a9c

KormexGit commented 1 month ago

Oops forgot to hit the checkbox to attach project, here it is List Coloring Bug.zip

zreedy commented 4 weeks ago

Not currently addressable.