I have had very weird bugs lately, one of them being the ships suddenly being displayed all bright. After a day or two of trying to find it, I gave up and thought of another way: I compared the scripts to an older backup and found out a completely different part of the script made the ships bright (a wrong str_cat call, I think it was). So I changed that and since then I have not gotten the level_load crash.
I'll see if it happens again...
~"I never let school interfere with my education"~ -Mark Twain
Okay, got it again. After running the game for 40 minutes straight without crash: gnnnnnaaargh!
So you're saying it could be in any of the functions that the in-level entities run... and 3dgs is just too stupid to notice it's not the level_load that crashes?
~"I never let school interfere with my education"~ -Mark Twain
I'm not sure, it could be anything, of course, maybe even a damaged file, but I've once had problems with level changing, too, and as far as I remember the source was a global function started within an entity action. The error message should point to that function, though, so I guess you can ignore my post. Sorry.
"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual
You can see this in the crash message. The function name is in there. If its an entity action of your level then look for the crash in this action. If its the function that loads your level then look for the crash in the level files.