TSMaterialList::getFlags: index out of range
by Tim Hutcheson · in Torque Game Engine · 12/07/2004 (6:02 pm) · 4 replies
I suddenly have the above error message immediately on startup of my game, when the engine is compiled in 'DEBUG' mode. On a hunch (because it runs fine with the distro version of TGE), I recompiled in 'RELEASE' version and the error is not manifested.
So can anyone explain what the significance of the offending assertion is that's causing the message in debug mode and how to track it down. I need a healthy debug version running to debug my code and this is in the way now. But otherwise runs my code fine.
Obviously something in the vehicles DTS is awry, or so it seems. I'm using Milkshape to generate the dts.
So can anyone explain what the significance of the offending assertion is that's causing the message in debug mode and how to track it down. I need a healthy debug version running to debug my code and this is in the way now. But otherwise runs my code fine.
Obviously something in the vehicles DTS is awry, or so it seems. I'm using Milkshape to generate the dts.
About the author
#2
12/08/2004 (4:44 am)
Hi, Ben. No, it's occurring when I launch any mission. And walking the call stack back doesn't seem to shed much light on it for me as I'm still not too familiar with the engine. Thanks for looking at this.
#3
12/08/2004 (8:54 am)
It might be a bug in the Milkshape exporter; do you have a lot of materials or materials with odd properties on your shape?
#4
12/08/2004 (9:55 am)
No, in fact it's dirt simple. I'm going to revert to some earlier configuration to get around it.
Associate Ben Garney