texture Obejct Leak
by Timothy Castagna · in Torque Game Engine Advanced · 02/18/2009 (5:19 pm) · 2 replies
Cur. D3DDevice ref count=13
GFXTextureObject Usage Report - 3 active TOs
---------------------------------------------------------------
Address Dimensions GFXTextureProfile Profiler Path Texture Name
0xd44dc40 ( 128, 128) GFXDefaultStaticDiffuseProfile na c:/Torque/ISK/GameExamples/isk/game/scriptsAndAssets/data/shapes/armor/heavy/Chest/heavychest.jpg
0xd44d360 ( 128, 128) GFXDefaultStaticDiffuseProfile na c:/Torque/ISK/GameExamples/isk/game/scriptsAndAssets/data/shapes/armor/heavy/heavyShoulders/LShoulders.png
0xd3a3d10 ( 128, 128) GFXDefaultStaticDiffuseProfile na c:/Torque/ISK/GameExamples/isk/game/scriptsAndAssets/data/shapes/armor/heavy/heavyShoulders/RShoulders.png
----- dump complete -------------------------------------------
Fatal: (c:\torque\isk\engine\source\gfx\gfxtextureobject.cpp @ 61) There is a texture object leak, check the log for more details.
Anyone have any ideas as to what is causing this? i tracked it down as far as when you press the exit button to this function.
GFXTextureObject Usage Report - 3 active TOs
---------------------------------------------------------------
Address Dimensions GFXTextureProfile Profiler Path Texture Name
0xd44dc40 ( 128, 128) GFXDefaultStaticDiffuseProfile na c:/Torque/ISK/GameExamples/isk/game/scriptsAndAssets/data/shapes/armor/heavy/Chest/heavychest.jpg
0xd44d360 ( 128, 128) GFXDefaultStaticDiffuseProfile na c:/Torque/ISK/GameExamples/isk/game/scriptsAndAssets/data/shapes/armor/heavy/heavyShoulders/LShoulders.png
0xd3a3d10 ( 128, 128) GFXDefaultStaticDiffuseProfile na c:/Torque/ISK/GameExamples/isk/game/scriptsAndAssets/data/shapes/armor/heavy/heavyShoulders/RShoulders.png
----- dump complete -------------------------------------------
Fatal: (c:\torque\isk\engine\source\gfx\gfxtextureobject.cpp @ 61) There is a texture object leak, check the log for more details.
Anyone have any ideas as to what is causing this? i tracked it down as far as when you press the exit button to this function.
function FileDialogBase::onRemove( %this )
{
// Remove FileExtensions Group
if ( isObject( %this.FileExtensions ) )
%this.FileExtensions.delete();
// Remove Returned Files Group
if( isObject( %this.ReturnFiles ) )
%this.ReturnFiles.delete();
}About the author
#2
05/17/2009 (8:06 pm)
Sounds like the texture handles for the 3 mentioned files were not nulled out when the dialog was removed.
Torque Owner Susan Peyton
Edit: I was running the demo of the kit in debug mode. Do not know if that makes a difference or not.