Hi
whenever I try to use the function getObject the console return me an error. (I have the same error in mte v918 and 927).
i use:
local objects = mte.getObject({layer = 4})
and I get this error:
mte.lua:2475: attempt to get the length of field "objects" (a nil value)
My map loads correctly, and I have a layer set to objectLayer=true. (if i set {layer = 2} which is not a layer object I get the warning “layer not an objectLayer”… so…that part work ok.
I’m pretty sure I’m missing i little something… but what is it?