Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Nuclear Throne Together

An online multiplayer mod for Nuclear Throne. · By YellowAfterlife

Consistent "FATAL ERROR" at start of 1st loop: "trying to index variable that is not an array"

A topic by alexoooo created Mar 05, 2017 Views: 908 Replies: 5
Viewing posts 1 to 6

Nuclear Thone was never very stable, but recently it has been crashing very consistently on the start of the first loop.

Here are some examples of the error:


############################################################################################

FATAL ERROR in

action number 1

of Destroy Event

for object enemy:

trying to index variable that is not an array

############################################################################################

--------------------------------------------------------------------------------------------

called from - gml_Object_enemy_Destroy_0 (line 59)

called from - gml_Object_Bandit_Destroy_0 (line 3)

called from - gml_Object_enemy_Step_0 (line 3)

called from - gml_Object_Bandit_Step_0 (line 2)


___________________________________________

############################################################################################

FATAL ERROR in

action number 1

of Destroy Event

for object enemy:

trying to index variable that is not an array

############################################################################################

--------------------------------------------------------------------------------------------

called from - gml_Object_enemy_Destroy_0 (line 72)

called from - gml_Object_Bandit_Destroy_0 (line 3)

called from - gml_Object_enemy_Step_0 (line 3)

called from - gml_Object_Bandit_Step_0 (line 2)


___________________________________________

############################################################################################

FATAL ERROR in

action number 1

of Destroy Event

for object enemy:

trying to index variable that is not an array

############################################################################################

--------------------------------------------------------------------------------------------

called from - gml_Object_enemy_Destroy_0 (line 59)

called from - gml_Object_Scorpion_Destroy_0 (line 3)

called from - gml_Object_enemy_Step_0 (line 3)

called from - gml_Object_Scorpion_Step_0 (line 2)


___________________________________________

############################################################################################

FATAL ERROR in

action number 1

of Destroy Event

for object enemy:

trying to index variable that is not an array

############################################################################################

--------------------------------------------------------------------------------------------

called from - gml_Object_enemy_Destroy_0 (line 72)

called from - gml_Object_enemy_Step_0 (line 3)

called from - gml_Object_Maggot_Step_0 (line 2)


Developer

Are you using the current version (9883)? I've recently fixed a bug that was causing a crash like that, caused by Lucky Shot code no longer working like it did after updating the runtime.

Yes, we are using version 9883. I believe that we did use Lucky Shot, will try again without Lucky Shot and report back.

Just tried without Lucky Shot, and didn't see any crash.

So it looks like Lucky Shot was indeed the cause of the crashes.

We were both using steroids, not sure if this has something to do with the issue.

PS: thanks for the quick reply!

Developer

See if it's fixed for you in new version (9885).

Yes, we've just double looped with Lucky Shot and the game didn't crash, so it looks like the issue is resolved in v9885.

Thanks!