Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(5 edits)

I forgot to mention, but this was when clicking on settings and then controls. That was working for you? Thanks for the reply I will look to see what VS I have.

EDIT:  I did need to update VS (now ver 17.2.6), but still same error. I'm now going to just try VS 2019 Community.

EDIT 2: Yeah, not sure what is going on. Neither VS 2019 or 2022 solved it. Still got same error for both. I've ensured I cleaned before each build. I don't know. I guess I'll try a full reinstall of everything. I did a full reinstall of everything and that changed nothing.

I finally found the bug, it should be working now.

I don’t even know why it worked with the VM compiler in the first place, the code was trying to access a variable which didn’t exist in that scope. Anyway, GameMaker is weird sometimes. Please tell me if it works now.

Yeah, that fixed it. Thanks for the quick response.

I'm going to implement the fix into my game. Was the fix just changing the one line from:

page[i] = [name, new oMenu.Input(in_sys, name)]

to:

page[i] = [name, new Input(in_sys, name)]

or was there more to the fix?

Thanks again!

Yes, just remove the oMenu. and it’ll work.

Okay, thank you!