Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

[Fixed in 1.0.29+][2.3.0] Gmlive treats asset names as variable names, thus will throw errors

A topic by K.Blank created Aug 19, 2020 Views: 246 Replies: 1
Viewing posts 1 to 2
(1 edit)

Said the title.

e.g. i have a shader named "shd_1" and called it in the draw event of the instance o_sys:

shader_set(shd_1);

Everything will be fine if i disabled the gmlive, but once it's on, the error is shown:

(o_sys) does not have a variable `shd_1`

Is this a new GM bug? or did i do something wrong?

I'm using the latest version of gms2, IDE v2.3.0.529, Runtime v2.3.0.401

Developer

This is now fixed in 1.0.29 - 2.3 shaders weren't being indexed by the server, and there is no approach to enumerating the shaders at runtime.