I do apologize for any inconvenience this may have caused.
After further investigation it seems that:
The source editor is struggling with a single line in SF_PointerWidget that’s 119,000 characters long.
We recommend rolling back to a previous version of the game that doesn’t have this in it, and using shorter lines until some optimizations are done.
Huh, it worked fine after I pasted the line in. Editor worked ok and preview had shown me what I intended to see (it was some SVG in windget). I guess that previous version is pretty much blank, so probably I should be creating new one.
I still believe that this is a bug when editor does allow to enter the “too long line”, but then does not allow to open game after some time later. Would it be better to add a limitation while that line being entered rather that crashing afterwards? Otherwise some other changes made at a later point would have to be lost too with the recommended rollback approach…
The bug occurs when you try to open a script with a lot of characters. Keeping the script open causes no issues, but as soon as it’s closed, it will keep crashing your game whenever the game tries to load it. I think 3 lines with 61k characters in each (I’m not sure on the third line) should work, but i recommend splitting the data or preferably compressing it as much as possible (flattening tables/objects, converting numbers which occur a lot into a local variable, multiplying and rounding numbers to get rid of decimal points, converting numbers into characters, converting progressively increasing numbers into relative ones, etc)