Game Development Community

Texture Object Leak with WaterPlane Reflection Texture

by Jason Viterna · in Torque 3D Professional · 07/13/2009 (3:04 pm) · 2 replies

I've been having a problem with the WaterPlane reflection texture upon closing Torque. I get an error popup stating that there is a texture object leak. The corresponding message in the log is:

GFXTextureObject Usage Report - 1 active TOs
---------------------------------------------------------------
Addr Dim. GFXTextureProfile ProfilerPath DebugDescription
c1140f0 ( 640, 460) ReflectRenderTargetProfile MainLoop -> CanvasRenderControls -> GFXBeginScene -> ReflectionManager_update -> PlaneReflector_updateReflection ReflectionManager::allocRenderTarget() - mReflectTex (line 172)
----- dump complete -------------------------------------------
...enginesourcegfxgfxdevice.cpp(262) : Fatal - There is a texture object leak, check the log for more details.


The only relevant difference I can see between my build and the packaged build of Torque is PlayGui is moved into a window, and this error occurs only when I close Torque while the window is still open. If I close the window before closing Torque, I won't get this error message.

I've been having this issue in T3D B2 as well: www.garagegames.com/community/forums/viewthread/95187

Is this a known issue? Is this something that will be fixed in a future iteration of T3D? Any input is greatly appreciated. Thanks!

#1
09/13/2009 (6:30 am)
I just started receiving this too. I am using Beta 5 and recently edited my PlayGui.gui file. :{
#2
09/13/2009 (1:11 pm)
Logged as THREED-743.
Will investigate when time permits, thanks!