Game Development Community

Using debugBanner crashes Mac 1.1.1

by Andre Lind · in Torque Game Builder · 09/26/2006 (2:01 pm) · 1 replies

When using the debugbanner TGB crashes when pressing Run Game

It crashes in gTexManager.h at line 282:

TextureHandle(const TextureHandle &th)
{
object = th.object; // Crashes here: th.object is completely empty resulting in EXC_BAD_ACCESS
lock();
}


It gets called from gNewFont.h at line 91:

TextureHandle getTextureHandle(S32 index)
{
return mTextureSheets[index]; // Index here is -856!! Cannot be right... right?
}