vdweller
Member
EDIT: Not really solved, but it needs to be properly reported to tech support. Read this https://forum.yoyogames.com/index.p...ditor-name-crashes-the-game.87432/post-523888
Hi all,
I'm aware that this subforum is not for official bug reporting. I have created several bug tickets in the past, I am aware of the process. However for this specific bug I haven't been able to reproduce it in a clean, empty project. Therefore I'd like some input regarding this before I do anything.
OK so my project (Gleaner Heights) has a lots of rooms. I have found that some of them now face a specific issue. The rooms that seem affected aren't the "older" rooms, i.e. those created up to the point the game had its launch, but some rooms created after that point but prior to v2.3.
Let's take on of these rooms. As you can see, I have this here instance in the Room Editor:
This instance is not referenced anywhere else in the game. And the issue I'm describing does not pertain to this particular instance, but ANY instance in the room.
So this instance's name is inst_7D0F81DA. Changing this name to inst_foo also doesn't change the issue at hand.
In my Debug code, I write:
I am just accessing that particular instance, which, at the time I run the game and do this, is very alive, active and visible (also checked through instance_exists() etc for debug purposes)
The game then crashes with the following message:
___________________________________________
############################################################################################
ERROR in
action number 1
of Step Event0
for object obj_control:
Unable to find any instance for object index '68928' name '(null)'
at gml_Object_obj_control_Step_0 (line 478) - inst_7D0F81DA.visible=0;
############################################################################################
gml_Object_obj_control_Step_0 (line 478)
I have found out the following interesting things regarding this:
I really don't know what to make of all this. Clearly there's something here, and my code accesses room instance all over the place.
Is this file corruption? But if something is corrupted, why does it go away with room duplication? And why does it work in YYC?
Hi all,
I'm aware that this subforum is not for official bug reporting. I have created several bug tickets in the past, I am aware of the process. However for this specific bug I haven't been able to reproduce it in a clean, empty project. Therefore I'd like some input regarding this before I do anything.
OK so my project (Gleaner Heights) has a lots of rooms. I have found that some of them now face a specific issue. The rooms that seem affected aren't the "older" rooms, i.e. those created up to the point the game had its launch, but some rooms created after that point but prior to v2.3.
Let's take on of these rooms. As you can see, I have this here instance in the Room Editor:
This instance is not referenced anywhere else in the game. And the issue I'm describing does not pertain to this particular instance, but ANY instance in the room.
So this instance's name is inst_7D0F81DA. Changing this name to inst_foo also doesn't change the issue at hand.
In my Debug code, I write:
GML:
if keyboard_check_pressed(ord("L")) {
inst_7D0F81DA.visible=0;
}
The game then crashes with the following message:
___________________________________________
############################################################################################
ERROR in
action number 1
of Step Event0
for object obj_control:
Unable to find any instance for object index '68928' name '(null)'
at gml_Object_obj_control_Step_0 (line 478) - inst_7D0F81DA.visible=0;
############################################################################################
gml_Object_obj_control_Step_0 (line 478)
I have found out the following interesting things regarding this:
- The bug, as I said affects only specific rooms. Other (most) rooms' instances can be accessed just fine.
- Replacing the above code with the following
GML:with inst_7D0F81DA visible=0;
- The bug only appear in VM, in YYC it works just fine (tested both, with Clean first and then Build).
- If I duplicate the room, delete the original and then rename the copy like the original, the problem goes away.
I really don't know what to make of all this. Clearly there's something here, and my code accesses room instance all over the place.
Is this file corruption? But if something is corrupted, why does it go away with room duplication? And why does it work in YYC?
Last edited: