#Unable to cast object of type 'GMAssetCompiler.eToken' to type 'System.String'.

18 messages · Page 1 of 1 (latest)

gleaming drum
#

@mortal cairn I saw you ran into the same problem! How did you make a hotfix for this? What is the profile related workaround that you found?

mortal cairn
#

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?

gleaming drum
#

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

mortal cairn
#

I've found it:
#999951460752183306 message

gleaming drum
#

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.

gleaming drum
#

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

#

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?

mortal cairn
#

😮

gleaming drum
#

Un-nesting my arrays fixed it. Also, I was too annoyed to do it myself so I made chatgpt do it for me lmfao