#Unable to cast object of type 'GMAssetCompiler.eToken' to type 'System.String'.
18 messages · Page 1 of 1 (latest)
Hey, I remember that it's an error related to parse a piece of GML code. My correction was to modify the line a little, I don't remember now what the correction was, I will to try to find it
What version are you using?
The most recent build of stable and beta are both doing it.
It's one script in particular that seems to be causing the problem, apparently
I've found it:
#999951460752183306 message
Okay so your problem was accessing a struct by referencing an array on the same line? Let me see if I have anything like that lol
I'm doing a thing where I'm creating an empty struct, then filling it with data. Do you think this could be the issue?
occupying my struct didn't fix it, so it's got to be coming from something else.
Yeah xD
Just testing to see
Yeah, that didn't stop the problem. This is quite annoying lol.
my MDL loader is basically useless now, it doesn't work right in VM, and I can't compile YYC because something in the mdl loader is wonky somewhere lol
If anybody wants to take a look, this is my MDL loader and all requisite functions, aka the one offender in this whole shebang: https://pastebin.com/ek3eGQT5
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
I found it! It's the mdl_add_tri script, i'm accessing an array inside an array!
like wtf, how is that a problem?
😮
Un-nesting my arrays fixed it. Also, I was too annoyed to do it myself so I made chatgpt do it for me lmfao