Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

The example project fails to build with YYC build targets

A topic by Harpwood Studio created Jan 03, 2022 Views: 147 Replies: 3
Viewing posts 1 to 4

The example project fails to build with both Windows -> YYC and Android -> YYC build targets, while both Windows -> VM and Android -> VM build without issues.

The error:

___________________________________________

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

ERROR in

action number 1

of  Step Event0

for object obj_test_npc:

Unable to find any instance for object index '100042' name '<undefined>'############################################################################################

gml_Script_animation_set (line 44)

gml_Object_obj_test_npc_Step_0 (line 28)

Developer

Interesting? Seems like something with the sequences, since all my code does is grab the objects from the sequences and replaces them, so for some reason it appears (based on what I can tell from the error) that maybe GM isn't creating them / referencing them correctly? What version of GM? I'm not having any issues, but IDK if I am on the same version or not? Thanks for letting me know! I will look into it!

Developer

Also try and re-import the project from scratch. I remember when I first made it, for some reason GM doesn't like to import sequences correctly sometimes via the YYMPS. Not sure why this happens, but I remember importing it a couple of times and having things missing. I'm still confused though as to why it runs but doesn't build? My guess is something with GM if it is running in the VM fine but not once you compile? 

I think I have the latest version:

IDE v2.3.7.606

Runtime v2.3.7.476


I reimported the example project into a new project and still got the same error. If you do not have this issue, maybe try to download the uploaded version and give it a try, or you could also repack the project with the latest GMS version and re-upload it.